LibreOffice Module xmerge (master)
1
|
This is an implementation of the. More...
Public Member Functions | |
ParaNodeIterator (ConverterCapabilities cc, Node node) | |
Standard constructor. More... | |
![]() | |
NodeIterator (ConverterCapabilities cc, Node node) | |
Standard constructor. More... | |
Object | next () |
Move to next element in the sequence. More... | |
Object | previous () |
Object | start () |
Move to the beginning of the sequence. More... | |
Object | end () |
Object | currentElement () |
Return the current element. More... | |
int | elementCount () |
Return the total element count in the sequence. More... | |
boolean | equivalent (Object obj1, Object obj2) |
A method to allow the difference algorithm to test whether the. More... | |
void | refresh () |
A method to force the. More... | |
Protected Member Functions | |
boolean | nodeSupported (Node node) |
Overwrite the parent nodeSupported method. More... | |
![]() | |
boolean | compareNode (Node node1, Node node2) |
Used to compare two. More... | |
boolean | childrenEqual (Node node1, Node node2) |
Compare the children of two. More... | |
abstract boolean | nodeSupported (Node node) |
Check whether a. More... | |
This is an implementation of the.
interface.
It will traverse the tree and find the Paragraph/Heading
sequences.
Note: Once the XML Tree is parsed, then the
will be a snapshot of that tree. That means even the tree is modified later, then the cached paragraph
list will not be updated accordingly. For this reason and for performance reasons this
does not support any operation methods such as insert, remove or replace. The main purpose of this
is to be used with difference, not with merge.
Definition at line 39 of file ParaNodeIterator.java.
|
inline |
Standard constructor.
cc | The ConverterCapabilities
|
node | The initial root . |
Definition at line 47 of file ParaNodeIterator.java.
|
inlineprotected |
Overwrite the parent nodeSupported
method.
node |
Definition at line 61 of file ParaNodeIterator.java.
References String, org.openoffice.xmerge.converter.xml.OfficeConstants.TAG_HEADING, and org.openoffice.xmerge.converter.xml.OfficeConstants.TAG_PARAGRAPH.