incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liu Da Li <wawal...@gmail.com>
Subject [Call for review]Patch for ODFTOOLKIT-330:Improve the method TextSelection.replaceWith(String). new param types support
Date Thu, 13 Sep 2012 04:20:28 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message