@Deprecated public class ComparisonParagraph extends ComparisonCompositeNode implements IComparisonParagraph, com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode
Class ComparisonParagraph.
Constructor and Description |
---|
ComparisonParagraph()
Deprecated.
Initializes a new instance of the
ComparisonParagraph class. |
ComparisonParagraph(com.aspose.words.Paragraph paragraph)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addRun(String text)
Deprecated.
Adds the run.
|
void |
appendChild(IComparisonNode node)
Deprecated.
Appends the child.
|
IWordsCompareResult |
compareWith(IComparisonParagraph targetParagraph,
WordsComparisonSettings settings)
Deprecated.
Compares the with.
|
com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode |
deepClone()
Deprecated.
Clones this instance.
|
com.aspose.ms.System.Collections.Generic.List<ComparisonNode> |
getEnumeratorInternal()
Deprecated.
|
IComparisonRun[] |
getRuns()
Deprecated.
Gets the runs of current paragraph.
|
IComparisonRun[] |
GetRuns()
Deprecated.
|
com.groupdocs.comparison.words.contracts.styles.IComparisonParagraphStyle |
getStyle()
Deprecated.
Gets or sets the style.
|
String |
getText()
Deprecated.
Gets the text.
|
String |
getTextWithShapesTypes()
Deprecated.
Gets the text with shapes types.
|
void |
insertBefore(IComparisonNode newNode,
IComparisonNode refNode)
Deprecated.
Inserts the before.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
Deprecated.
Returns an enumerator that iterates through a collection.
|
void |
removeAt(int number)
Deprecated.
Removes at.
|
void |
removeChildAt(int number)
Deprecated.
Removes the child at.
|
void |
setStyle(com.groupdocs.comparison.words.contracts.styles.IComparisonParagraphStyle value)
Deprecated.
Gets or sets the style.
|
getChildNodes, getCount, getEnumerator
getAsposeObject, getAuthor, getAuthors, getComparisonNodeType, getContent, getNodePosition, getStyleChanged, getType, setAuthor, setAuthors, setContent, setNodePosition, setStyleChanged, setType, updateContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildNodes, getCount
getComparisonNodeType, getStyleChanged, getType, setStyleChanged, setType
public ComparisonParagraph(com.aspose.words.Paragraph paragraph)
public IComparisonRun[] GetRuns()
public com.aspose.ms.System.Collections.Generic.List<ComparisonNode> getEnumeratorInternal() throws Exception
getEnumeratorInternal
in class ComparisonCompositeNode
Exception
public IWordsCompareResult compareWith(IComparisonParagraph targetParagraph, WordsComparisonSettings settings) throws Exception
Compares the with.
compareWith
in interface IComparisonParagraph
targetParagraph
- The target paragraph.settings
- The settings.Exception
public com.aspose.ms.System.Collections.IEnumerator iterator()
Returns an enumerator that iterates through a collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable
iterator
in interface Iterable
iterator
in class ComparisonCompositeNode
T:System.Collections.IEnumerator
object that can be used to iterate through the collection.public void removeAt(int number)
Removes at.
removeAt
in interface IComparisonParagraph
number
- The number.public void removeChildAt(int number)
Removes the child at.
removeChildAt
in interface com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode
number
- The number.public IComparisonRun[] getRuns()
Gets the runs of current paragraph.
Value: The runs.getRuns
in interface com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode
public void addRun(String text)
Adds the run.
addRun
in interface IComparisonParagraph
text
- The text.public com.groupdocs.comparison.words.contracts.styles.IComparisonParagraphStyle getStyle()
Gets or sets the style.
Value: The style.getStyle
in interface IComparisonParagraph
public void setStyle(com.groupdocs.comparison.words.contracts.styles.IComparisonParagraphStyle value)
Gets or sets the style.
Value: The style.setStyle
in interface IComparisonParagraph
value
- the valuepublic com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode deepClone()
Clones this instance.
deepClone
in interface com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode
public String getTextWithShapesTypes() throws Exception
Gets the text with shapes types.
getTextWithShapesTypes
in interface com.groupdocs.comparison.words.contracts.nodes.IComparisonLowCompositeNode
Exception
public void insertBefore(IComparisonNode newNode, IComparisonNode refNode)
Inserts the before.
insertBefore
in interface IComparisonCompositeNode
insertBefore
in class ComparisonCompositeNode
newNode
- The new node.refNode
- The reference node.public void appendChild(IComparisonNode node) throws Exception
Appends the child.
appendChild
in interface IComparisonCompositeNode
appendChild
in class ComparisonCompositeNode
node
- The node.Exception
public String getText()
Gets the text.
getText
in interface IComparisonNode
getText
in class ComparisonNode
Copyright © 2018. All rights reserved.