|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.BodyRegion
com.spire.doc.documents.StructureDocumentTag
public class StructureDocumentTag
This element specifies the presence of a structured document tag around one or more block-level structures (paragraphs, tables, etc.). The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.
| Constructor Summary | |
|---|---|
StructureDocumentTag(Document doc)
Initializes a new instance of the Block-Level structured document tag class. |
|
| Method Summary | |
|---|---|
TextSelection |
find(java.util.regex.Pattern pattern)
Returns first entry of given regex. |
CharacterFormat |
getBreakCharacterFormat()
Gets character format for the break symbol. |
DocumentObjectCollection |
getChildObjects()
Gets the child entities. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the entity. |
int |
getIndex(IDocumentObject entity)
Returns the zero-based index of the specified entity. |
SDTContent |
getSDTContent()
Gets the a value specifies the last known contents of a structured document tag around one or more block-level structures. |
SDTProperties |
getSDTProperties()
Gets the structured document tag properties. |
int |
replace(java.util.regex.Pattern pattern,
java.lang.String replace)
Replaces all entries of matchString regular expression with newValue string. |
int |
replace(java.util.regex.Pattern pattern,
TextSelection textSelection)
Replaces all entries of matchString regular expression with TextRangesHolder. |
int |
replace(java.util.regex.Pattern pattern,
TextSelection textSelection,
boolean saveFormatting)
Replaces all entries of matchString regular expression with TextRangesHolder. |
int |
replace(java.lang.String given,
java.lang.String replace,
boolean caseSensitive,
boolean wholeWord)
Replaces all entries of matchString string with newValue string, taking into consideration caseSensitive and wholeWord options. |
int |
replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord)
Replaces all entries of matchString string with TextRangesHolder, taking into consideration caseSensitive and wholeWord options. |
int |
replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord,
boolean saveFormatting)
Replaces all entries of matchString string with TextRangesHolder, taking into consideration caseSensitive and wholeWord options. |
void |
updateDataBinding()
Updates stuctured documnet tag content with bound data. |
| Methods inherited from class com.spire.doc.BodyRegion |
|---|
getDeleteRevision, getInsertRevision, getOwnerTextBody, isDeleteRevision, isInsertRevision |
| Methods inherited from class com.spire.doc.DocumentObject |
|---|
deepClone, getFirstChild, getLastChild, getNextSibling, getNextWidgetSibling, getOwner, getPreviousSibling, getPreviousWidgetSibling, isComposite, prependChild, toString |
| Methods inherited from class com.spire.doc.OwnerHolder |
|---|
getDocument |
| Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
|---|
deepClone, getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
| Constructor Detail |
|---|
public StructureDocumentTag(Document doc)
doc - The doc.| Method Detail |
|---|
public SDTContent getSDTContent()
public SDTProperties getSDTProperties()
getSDTProperties in interface IStructureDocumentpublic CharacterFormat getBreakCharacterFormat()
getBreakCharacterFormat in interface IStructureDocumentpublic DocumentObjectType getDocumentObjectType()
getDocumentObjectType in interface IDocumentObjectgetDocumentObjectType in class DocumentObjectpublic DocumentObjectCollection getChildObjects()
getChildObjects in interface ICompositeObjectgetChildObjects in class DocumentObjectpublic int getIndex(IDocumentObject entity)
entity - the document object.
public void updateDataBinding()
updateDataBinding in interface IStructureDocument
public int replace(java.util.regex.Pattern pattern,
java.lang.String replace)
replace in interface IBodyRegionreplace in class BodyRegionpattern - the Patternreplace - replace String
public int replace(java.lang.String given,
java.lang.String replace,
boolean caseSensitive,
boolean wholeWord)
replace in class BodyRegionmatchString - The matchString text to newValue.newValue - The newValue text .caseSensitive - if specifies case sensitive, set to wholeWord - if it specifies to search a whole word, set to
public int replace(java.util.regex.Pattern pattern,
TextSelection textSelection)
replace in interface IBodyRegionreplace in class BodyRegionpattern - The pattern.textSelection - The text selection.
public int replace(java.util.regex.Pattern pattern,
TextSelection textSelection,
boolean saveFormatting)
replace in class BodyRegionpattern - The pattern.textSelection - The text selection.saveFormatting - if it specifies save source formatting, set to
public int replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord)
matchString - The matchString.textSelection - The text selection.caseSensitive - if it specifies case sensitive, set to wholeWord - if it specifies to check whole word, set to
public int replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord,
boolean saveFormatting)
matchString - The matchString.textSelection - The text selection.caseSensitive - if it specifies case sensitive, set to wholeWord - if it specifies to search a whole word, set to saveFormatting - if it specifies save source formatting, set to public TextSelection find(java.util.regex.Pattern pattern)
find in class BodyRegionpattern - The pattern.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||