Class FontType


  • public class FontType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Defines a font format for a displayable page content.</p>
     

    Java class for FontType complex type

    .

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="FontType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="underline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}float" default="10" />
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • underline

        protected Boolean underline
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">When set to true, the text shall be underlined.</p>
         
      • size

        protected Float size
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The size of the font.</p>
         
      • name

        protected String name
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The name of the used font.</p>
         
    • Constructor Detail

      • FontType

        public FontType()
    • Method Detail

      • isUnderline

        public boolean isUnderline()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">When set to true, the text shall be underlined.</p>
         
        Returns:
        possible object is Boolean
      • setUnderline

        public void setUnderline​(Boolean value)
        Sets the value of the underline property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isUnderline()
      • getSize

        public float getSize()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The size of the font.</p>
         
        Returns:
        possible object is Float
      • setSize

        public void setSize​(Float value)
        Sets the value of the size property.
        Parameters:
        value - allowed object is Float
        See Also:
        getSize()
      • getName

        public String getName()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The name of the used font.</p>
         
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
        See Also:
        getName()