Package org.docx4j.fonts.substitutions
Class FontSubstitutions.Replace
java.lang.Object
org.docx4j.fonts.substitutions.FontSubstitutions.Replace
- Enclosing class:
- FontSubstitutions
public static class FontSubstitutions.Replace
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="SubstFonts" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="SubstFontsMS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SubstFontsPS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SubstFontsHTML" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FontWeight" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FontWidth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="FontType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringfontTypeprotected java.lang.StringfontWeightprotected java.lang.StringfontWidthprotected java.lang.Stringnameprotected java.lang.StringsubstFontsprotected java.lang.StringsubstFontsHTMLprotected java.lang.StringsubstFontsMSprotected java.lang.StringsubstFontsPS -
Constructor Summary
Constructors Constructor Description Replace() -
Method Summary
Modifier and Type Method Description java.lang.StringgetFontType()Gets the value of the fontType property.java.lang.StringgetFontWeight()Gets the value of the fontWeight property.java.lang.StringgetFontWidth()Gets the value of the fontWidth property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetSubstFonts()Gets the value of the substFonts property.java.lang.StringgetSubstFontsHTML()Gets the value of the substFontsHTML property.java.lang.StringgetSubstFontsMS()Gets the value of the substFontsMS property.java.lang.StringgetSubstFontsPS()Gets the value of the substFontsPS property.voidsetFontType(java.lang.String value)Sets the value of the fontType property.voidsetFontWeight(java.lang.String value)Sets the value of the fontWeight property.voidsetFontWidth(java.lang.String value)Sets the value of the fontWidth property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetSubstFonts(java.lang.String value)Sets the value of the substFonts property.voidsetSubstFontsHTML(java.lang.String value)Sets the value of the substFontsHTML property.voidsetSubstFontsMS(java.lang.String value)Sets the value of the substFontsMS property.voidsetSubstFontsPS(java.lang.String value)Sets the value of the substFontsPS property.
-
Field Details
-
substFonts
protected java.lang.String substFonts -
substFontsMS
protected java.lang.String substFontsMS -
substFontsPS
protected java.lang.String substFontsPS -
substFontsHTML
protected java.lang.String substFontsHTML -
fontWeight
protected java.lang.String fontWeight -
fontWidth
protected java.lang.String fontWidth -
fontType
protected java.lang.String fontType -
name
protected java.lang.String name
-
-
Constructor Details
-
Replace
public Replace()
-
-
Method Details
-
getSubstFonts
public java.lang.String getSubstFonts()Gets the value of the substFonts property.- Returns:
- possible object is
String
-
setSubstFonts
public void setSubstFonts(java.lang.String value)Sets the value of the substFonts property.- Parameters:
value- allowed object isString
-
getSubstFontsMS
public java.lang.String getSubstFontsMS()Gets the value of the substFontsMS property.- Returns:
- possible object is
String
-
setSubstFontsMS
public void setSubstFontsMS(java.lang.String value)Sets the value of the substFontsMS property.- Parameters:
value- allowed object isString
-
getSubstFontsPS
public java.lang.String getSubstFontsPS()Gets the value of the substFontsPS property.- Returns:
- possible object is
String
-
setSubstFontsPS
public void setSubstFontsPS(java.lang.String value)Sets the value of the substFontsPS property.- Parameters:
value- allowed object isString
-
getSubstFontsHTML
public java.lang.String getSubstFontsHTML()Gets the value of the substFontsHTML property.- Returns:
- possible object is
String
-
setSubstFontsHTML
public void setSubstFontsHTML(java.lang.String value)Sets the value of the substFontsHTML property.- Parameters:
value- allowed object isString
-
getFontWeight
public java.lang.String getFontWeight()Gets the value of the fontWeight property.- Returns:
- possible object is
String
-
setFontWeight
public void setFontWeight(java.lang.String value)Sets the value of the fontWeight property.- Parameters:
value- allowed object isString
-
getFontWidth
public java.lang.String getFontWidth()Gets the value of the fontWidth property.- Returns:
- possible object is
String
-
setFontWidth
public void setFontWidth(java.lang.String value)Sets the value of the fontWidth property.- Parameters:
value- allowed object isString
-
getFontType
public java.lang.String getFontType()Gets the value of the fontType property.- Returns:
- possible object is
String
-
setFontType
public void setFontType(java.lang.String value)Sets the value of the fontType property.- Parameters:
value- allowed object isString
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-