|
|||||||||
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 |
---|
isdeleterevision, isinsertrevision, ownertextbody |
methods inherited from class com.spire.doc.documentobject |
---|
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, 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 istructuredocument
public characterformat getbreakcharacterformat()
getbreakcharacterformat
in interface istructuredocument
public documentobjecttype getdocumentobjecttype()
getdocumentobjecttype
in interface idocumentobject
getdocumentobjecttype
in class documentobject
public documentobjectcollection getchildobjects()
getchildobjects
in interface icompositeobject
getchildobjects
in class documentobject
public 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 ibodyregion
replace
in class bodyregion
pattern
- the patternreplace
- replace string
public int replace(java.lang.string given, java.lang.string replace, boolean casesensitive, boolean wholeword)
replace
in interface ibodyregion
replace
in class bodyregion
given
- the matchstring.replace
- the newvalue.casesensitive
- if it specifies case sensitive, set to truewholeword
- if it specifies to search a whole word,set to true
public int replace(java.util.regex.pattern pattern, textselection textselection)
replace
in interface ibodyregion
replace
in class bodyregion
pattern
- the pattern.textselection
- the text selection.
public int replace(java.util.regex.pattern pattern, textselection textselection, boolean saveformatting)
replace
in class bodyregion
pattern
- 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)
given
- 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)
given
- 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 bodyregion
pattern
- the pattern.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |