The issue URL is https://issues.apache.org/jira/browse/ODFTOOLKIT-330
2012/9/13 Liu Da Li <[email protected]> > Dear all, > I have improve the method TextSelection.replaceWith(String); > 6 new replace methods be added to TextSelection.java. > 1.public Table replaceWith(Table newTable) > 2.public Image replaceWith(Image newImage) > 3.public Image replaceWith(URI imageUri) > 4.public Field replaceWith(Field orgField) > 5.public Paragraph replaceWith(Paragraph newParagraph) > 6.public void replaceWith(TextDocument newTextDocument) > To support these methods, I add ImageSelection.java > ParagraphSelection.java TableSelection.java TextDocumentSelection.java. > All methods are include JAVA Doc and test cases. > > To use these method please refer to TextSelectionTest.java > The full patch is: > https://issues.apache.org/jira/secure/attachment/12544936/330_all_finish.patch > Please help to review and commit it. > >
