org.docx4j.wml
Class Fonts.Font

java.lang.Object
  extended by org.docx4j.wml.Fonts.Font
All Implemented Interfaces:
org.jvnet.jaxb2_commons.ppp.Child
Enclosing class:
Fonts

public static class Fonts.Font
extends java.lang.Object
implements org.jvnet.jaxb2_commons.ppp.Child

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="altName" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="panose1" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Panose" minOccurs="0"/>
         <element name="charset" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_UcharHexNumber" minOccurs="0"/>
         <element name="family" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontFamily" minOccurs="0"/>
         <element name="notTrueType" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="pitch" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Pitch" minOccurs="0"/>
         <element name="sig" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontSig" minOccurs="0"/>
         <element name="embedRegular" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedBold" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
         <element name="embedBoldItalic" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FontRel" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Fonts.Font.AltName
          Java class for anonymous complex type.
 
Constructor Summary
Fonts.Font()
           
 
Method Summary
 void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
          This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
 Fonts.Font.AltName getAltName()
          Gets the value of the altName property.
 CTUcharHexNumber getCharset()
          Gets the value of the charset property.
 FontRel getEmbedBold()
          Gets the value of the embedBold property.
 FontRel getEmbedBoldItalic()
          Gets the value of the embedBoldItalic property.
 FontRel getEmbedItalic()
          Gets the value of the embedItalic property.
 FontRel getEmbedRegular()
          Gets the value of the embedRegular property.
 FontFamily getFamily()
          Gets the value of the family property.
 java.lang.String getName()
          Gets the value of the name property.
 BooleanDefaultTrue getNotTrueType()
          Gets the value of the notTrueType property.
 FontPanose getPanose1()
          Gets the value of the panose1 property.
 java.lang.Object getParent()
          Gets the parent object in the object tree representing the unmarshalled xml document.
 FontPitch getPitch()
          Gets the value of the pitch property.
 FontSig getSig()
          Gets the value of the sig property.
 void setAltName(Fonts.Font.AltName value)
          Sets the value of the altName property.
 void setCharset(CTUcharHexNumber value)
          Sets the value of the charset property.
 void setEmbedBold(FontRel value)
          Sets the value of the embedBold property.
 void setEmbedBoldItalic(FontRel value)
          Sets the value of the embedBoldItalic property.
 void setEmbedItalic(FontRel value)
          Sets the value of the embedItalic property.
 void setEmbedRegular(FontRel value)
          Sets the value of the embedRegular property.
 void setFamily(FontFamily value)
          Sets the value of the family property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNotTrueType(BooleanDefaultTrue value)
          Sets the value of the notTrueType property.
 void setPanose1(FontPanose value)
          Sets the value of the panose1 property.
 void setParent(java.lang.Object parent)
           
 void setPitch(FontPitch value)
          Sets the value of the pitch property.
 void setSig(FontSig value)
          Sets the value of the sig property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fonts.Font

public Fonts.Font()
Method Detail

afterUnmarshal

public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
                           java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent - The parent object in the object tree.
unmarshaller - The unmarshaller that generated the instance.

getAltName

public Fonts.Font.AltName getAltName()
Gets the value of the altName property.

Returns:
possible object is Fonts.Font.AltName

getCharset

public CTUcharHexNumber getCharset()
Gets the value of the charset property.

Returns:
possible object is CTUcharHexNumber

getEmbedBold

public FontRel getEmbedBold()
Gets the value of the embedBold property.

Returns:
possible object is FontRel

getEmbedBoldItalic

public FontRel getEmbedBoldItalic()
Gets the value of the embedBoldItalic property.

Returns:
possible object is FontRel

getEmbedItalic

public FontRel getEmbedItalic()
Gets the value of the embedItalic property.

Returns:
possible object is FontRel

getEmbedRegular

public FontRel getEmbedRegular()
Gets the value of the embedRegular property.

Returns:
possible object is FontRel

getFamily

public FontFamily getFamily()
Gets the value of the family property.

Returns:
possible object is FontFamily

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

getNotTrueType

public BooleanDefaultTrue getNotTrueType()
Gets the value of the notTrueType property.

Returns:
possible object is BooleanDefaultTrue

getPanose1

public FontPanose getPanose1()
Gets the value of the panose1 property.

Returns:
possible object is FontPanose

getParent

public java.lang.Object getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.

Specified by:
getParent in interface org.jvnet.jaxb2_commons.ppp.Child
Returns:
The parent object.

getPitch

public FontPitch getPitch()
Gets the value of the pitch property.

Returns:
possible object is FontPitch

getSig

public FontSig getSig()
Gets the value of the sig property.

Returns:
possible object is FontSig

setAltName

public void setAltName(Fonts.Font.AltName value)
Sets the value of the altName property.

Parameters:
value - allowed object is Fonts.Font.AltName

setCharset

public void setCharset(CTUcharHexNumber value)
Sets the value of the charset property.

Parameters:
value - allowed object is CTUcharHexNumber

setEmbedBold

public void setEmbedBold(FontRel value)
Sets the value of the embedBold property.

Parameters:
value - allowed object is FontRel

setEmbedBoldItalic

public void setEmbedBoldItalic(FontRel value)
Sets the value of the embedBoldItalic property.

Parameters:
value - allowed object is FontRel

setEmbedItalic

public void setEmbedItalic(FontRel value)
Sets the value of the embedItalic property.

Parameters:
value - allowed object is FontRel

setEmbedRegular

public void setEmbedRegular(FontRel value)
Sets the value of the embedRegular property.

Parameters:
value - allowed object is FontRel

setFamily

public void setFamily(FontFamily value)
Sets the value of the family property.

Parameters:
value - allowed object is FontFamily

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

setNotTrueType

public void setNotTrueType(BooleanDefaultTrue value)
Sets the value of the notTrueType property.

Parameters:
value - allowed object is BooleanDefaultTrue

setPanose1

public void setPanose1(FontPanose value)
Sets the value of the panose1 property.

Parameters:
value - allowed object is FontPanose

setParent

public void setParent(java.lang.Object parent)
Specified by:
setParent in interface org.jvnet.jaxb2_commons.ppp.Child

setPitch

public void setPitch(FontPitch value)
Sets the value of the pitch property.

Parameters:
value - allowed object is FontPitch

setSig

public void setSig(FontSig value)
Sets the value of the sig property.

Parameters:
value - allowed object is FontSig