Revision: 00f5a8543c1b Branch: default Author: John Boyer <john.boyer@xxxxxxxxxxxxxxxxx> Date: Wed Jan 23 08:53:05 2013 Log: some adjustments in the documennt pavkage http://code.google.com/p/brailleblaster/source/detail?r=00f5a8543c1b&repo=newdesign Modified: /src/main/org/brailleblaster/document/DocumentBase.java /src/main/org/brailleblaster/document/Semantics.java =======================================--- /src/main/org/brailleblaster/document/DocumentBase.java Mon Jan 14 06:43:16 2013 +++ /src/main/org/brailleblaster/document/DocumentBase.java Wed Jan 23 08:53:05 2013
@@ -53,8 +53,6 @@ private FileUtils fu = new FileUtils(); private String fileSep = BBIni.getFileSep(); private Semantics sm = new Semantics(); -private Styles st = new Styles(); -private Actions act = new Actions(); private liblouisutdml lutdml = liblouisutdml.getInstance(); /** @@ -95,7 +93,7 @@ } /** - * Save the document, with all print and Braille editsl <brl> nodes and + * Save the document, with all print and Braille edits. <brl> nodes and * meta,name,brl are removed. * @param completePath the location in which the file is to be saved */ @@ -111,13 +109,13 @@ } /** - * Edit or creat a style to be used in the word processor view. + * Edit or create a style to be used in the word processor view. * @param stylename the name of the style to be edited or created */ public void editCreateStyle (String styleName) { -Styles.StyleType styleType = st.readStyle (styleName); -st.editStyle (styleType); -st.writeStyle (styleType); +Styles.StyleType styleType = sm.st.readStyle (styleName); +sm.st.editStyle (styleType); +sm.st.writeStyle (styleType); } public Nodes getNodes (Node node, String xpathExpr) { =======================================--- /src/main/org/brailleblaster/document/Semantics.java Fri Jan 18 06:23:47 2013 +++ /src/main/org/brailleblaster/document/Semantics.java Wed Jan 23 08:53:05 2013
@@ -76,8 +76,8 @@ */ private Element rootElement; -private Styles st; -private Actions act; +Styles st; +Actions act; Semantics() { workingDocument = null; semanticsList = null;