Class WatermarkFontType


  • public class WatermarkFontType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the font used for a watermark.</p>
     

    Java class for WatermarkFontType complex type

    .

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

    
     <complexType name="WatermarkFontType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="outline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="bold" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="italic" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="size" default="24">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
                 <maxInclusive value="1296"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="opacity" type="{http://schema.webpdf.de/1.0/operation}OpacityType" default="100" />
           <attribute name="color" type="{http://schema.webpdf.de/1.0/operation}RgbColorType" default="#A0A0A0" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • name

        protected String name
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the name of the font that should be used for the text output. If a font is not specified, "Helvetica" will be used.</p>
         
      • outline

        protected Boolean outline
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses an outline font for the text output.</p>
         
      • bold

        protected Boolean bold
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to increase the text output's weight.</p>
         
      • italic

        protected Boolean italic
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the italic font posture for the text output.</p>
         
      • size

        protected Integer size
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the text size for the text output.</p>
         
      • opacity

        protected Integer opacity
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the opacity of the text output as a watermark.</p>
         
      • color

        protected String color
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the colour for the watermark. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
    • Constructor Detail

      • WatermarkFontType

        public WatermarkFontType()
    • Method Detail

      • getName

        public String getName()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the name of the font that should be used for the text output. If a font is not specified, "Helvetica" will be used.</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()
      • isSetName

        public boolean isSetName()
      • isOutline

        public boolean isOutline()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Uses an outline font for the text output.</p>
         
        Returns:
        possible object is Boolean
      • setOutline

        public void setOutline​(boolean value)
        Sets the value of the outline property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isOutline()
      • isSetOutline

        public boolean isSetOutline()
      • unsetOutline

        public void unsetOutline()
      • isBold

        public boolean isBold()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to increase the text output's weight.</p>
         
        Returns:
        possible object is Boolean
      • setBold

        public void setBold​(boolean value)
        Sets the value of the bold property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isBold()
      • isSetBold

        public boolean isSetBold()
      • unsetBold

        public void unsetBold()
      • isItalic

        public boolean isItalic()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the italic font posture for the text output.</p>
         
        Returns:
        possible object is Boolean
      • setItalic

        public void setItalic​(boolean value)
        Sets the value of the italic property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isItalic()
      • isSetItalic

        public boolean isSetItalic()
      • unsetItalic

        public void unsetItalic()
      • getSize

        public int getSize()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the text size for the text output.</p>
         
        Returns:
        possible object is Integer
      • setSize

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

        public boolean isSetSize()
      • unsetSize

        public void unsetSize()
      • getOpacity

        public int getOpacity()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the opacity of the text output as a watermark.</p>
         
        Returns:
        possible object is Integer
      • setOpacity

        public void setOpacity​(int value)
        Sets the value of the opacity property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getOpacity()
      • isSetOpacity

        public boolean isSetOpacity()
      • unsetOpacity

        public void unsetOpacity()
      • getColor

        public String getColor()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p419895_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p810131_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the colour for the watermark. The hereby defined color needs to be specified as a hexadecimal RGB value with a number sign before it.</p>
         
        Returns:
        possible object is String
      • setColor

        public void setColor​(String value)
        Sets the value of the color property.
        Parameters:
        value - allowed object is String
        See Also:
        getColor()
      • isSetColor

        public boolean isSetColor()