Changeset 5666
- Timestamp:
- 10/09/08 12:16:38 (6 weeks ago)
- Location:
- branches/ProtocolEditor/src
- Files:
-
- 6 added
- 4 modified
-
actions/ExportAllWikiAction.java (added)
-
cmd/ExportWikiCmd.java (added)
-
ui/Controller.java (modified) (3 diffs)
-
ui/XMLView.java (modified) (1 diff)
-
ui/components/SimpleHTMLEditorPane.java (modified) (1 diff)
-
util/IExport.java (modified) (1 diff)
-
wiki (added)
-
wiki/Wiki.java (added)
-
wiki/WikiEdit.java (added)
-
wiki/WikiExport.java (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/ProtocolEditor/src/ui/Controller.java
r5516 r5666 45 45 import actions.DuplicateFieldsAction; 46 46 import actions.ExportAllTextAction; 47 import actions.ExportAllWikiAction; 47 48 import actions.ExportCalendarAction; 48 49 import actions.ExportHighltdTextAction; … … 201 202 static final Integer HELP_USER_GUIDE = new Integer(38); 202 203 204 /** Identifies the <code>ExportAllWikiAction</code>. */ 205 static final Integer EXPORT_ALL_WIKI = new Integer(39); 206 203 207 204 208 … … 262 266 actionsMap.put(VALIDATE_XML, new ValidateXMLAction(model)); 263 267 actionsMap.put(HELP_USER_GUIDE, new HelpOnlineUserGuideAction(model)); 268 actionsMap.put(EXPORT_ALL_WIKI, new ExportAllWikiAction(model)); 264 269 } 265 270 -
branches/ProtocolEditor/src/ui/XMLView.java
r5581 r5666 228 228 controller.getAction(Controller.EXPORT_HIGHLT_HTML), 229 229 controller.getAction(Controller.EXPORT_ALL_TEXT), 230 controller.getAction(Controller.EXPORT_HIGHLTD_TEXT)}; 230 controller.getAction(Controller.EXPORT_HIGHLTD_TEXT), 231 controller.getAction(Controller.EXPORT_ALL_WIKI)}; 231 232 JButton printButton = new PopupMenuButton("Export the current file for printing", 232 233 printIcon, printExportActions); -
branches/ProtocolEditor/src/ui/components/SimpleHTMLEditorPane.java
r5549 r5666 188 188 htmlText = htmlText.replaceAll("</p>", ""); 189 189 htmlText = htmlText.replaceAll("<p style=\"margin-top: 0\">", "<br>"); 190 htmlText = htmlText.replaceAll(" ", ""); 191 192 193 System.out.println("SimpleHTMLEditorPane getTextNoTags: "); 194 System.out.println(htmlText); 190 195 191 196 return htmlText; -
branches/ProtocolEditor/src/util/IExport.java
r5260 r5666 56 56 57 57 58 /** 59 * Exports the given dataField nodes as a String. 60 * This method works by creating a temporary file, delegating the 61 * export to that file, using {@link #export(File, List)} and then 62 * converting the file to a String. The temp file is deleted before 63 * returning the String. 64 * 65 * @param rootNodes A list of the nodes to export 66 * @return String A string representation of the export. 67 */ 68 public String exportToString(List<DataFieldNode> rootNodes); 58 69 }
