Package com.independentsoft.office.word
Class AlternateContentChoice
java.lang.Object
com.independentsoft.office.word.AlternateContentChoice
Represents a single mc:Choice alternative inside an
AlternateContent element. The
choice applies when the consumer understands every namespace listed in the Requires
attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones this instance.Gets the raw XML content of this choice (e.g.Gets the space-delimited list of namespace prefixes the consumer must understand for this choice to apply (the Requires attribute).voidsetInnerXml(String innerXml)Sets the raw XML content of this choice.voidsetRequires(String requires)Sets the Requires attribute.toString()
-
Constructor Details
-
AlternateContentChoice
public AlternateContentChoice()Instantiates a new alternate content choice.
-
-
Method Details
-
clone
Clones this instance. -
toString
-
getRequires
Gets the space-delimited list of namespace prefixes the consumer must understand for this choice to apply (the Requires attribute).- Returns:
- the requires
-
setRequires
Sets the Requires attribute.- Parameters:
requires- the new requires
-
getInnerXml
Gets the raw XML content of this choice (e.g. a w:drawing).- Returns:
- the inner xml
-
setInnerXml
Sets the raw XML content of this choice.- Parameters:
innerXml- the new inner xml
-