Changes between Version 10 and Version 11 of GROUP_PLAIN_AND_RTF_RESOURCES_R0
- Timestamp:
- 07/09/09 17:16:11 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_PLAIN_AND_RTF_RESOURCES_R0
v10 v11 31 31 The html module is extended with functionality for importing html documents. 32 32 A new abstract class HotTextImportUtil is created in org.sophie2.main.func.text with the following methods: 33 * handle Helper- helper fo the handle function of each newly created modules.33 * handleImport - helper fo the handle function of each newly created modules. 34 34 * insertFrame - inserts a new Frame in the current book 35 35 * createHotTextBookResource - creates HotTextBookResource for insert operation. … … 52 52 * javax.swing.text.html.HTMLDocument - used in HtmlImportUtil to convert the html document to attributed html document. 53 53 * javax.swing.text.html.HTMLEditorKit - used in HtmlImportUtil to obtain the attributes of the StyledDocument. 54 Create a HotTextContentProvider in org.sophie2.main.func.text.content.view package that creates HotTextFrameContent for given HotTextBookResource. 55 Create a new method addToEnd in HotText class to add a text at the end of the current HotText. 54 Create a HotTextContentProvider in org.sophie2.main.func.text.content.view package that creates HotTextFrameContent for given HotTextBookResource. 55 Create a new method addToEnd in HotText class to add a text at the end of the current HotText. 56 Create a new package org.sophie2.main.app.menus.logic and a class InsertTextItemLogic in it to provide the logic for inserting a text resource in sophie2 project. 57 Refactor the existing class InsertTextItem to keep consistency with the rest of the project. 56 58 57 59 Tests can be found here: [4050][4051][4053][4055][4056][4057]