Class SvgFormatType


  • public class SvgFormatType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects parameters for the creation of SVGs, possibly contained in resulting documents.</p>
     

    Java class for SvgFormatType complex type

    .

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

    
     <complexType name="SvgFormatType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="decimalPrecision" default="2">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
                 <maxInclusive value="10"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="graphicsStateMode" default="centralize">
             <simpleType>
               <restriction base="{http://schema.webpdf.de/1.0/operation}SvgGraphicsStateModeType">
                 <enumeration value="verbose"/>
                 <enumeration value="centralize"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="pathDrawMode" default="compact">
             <simpleType>
               <restriction base="{http://schema.webpdf.de/1.0/operation}SvgPathDrawModeType">
                 <enumeration value="verbose"/>
                 <enumeration value="compact"/>
               </restriction>
             </simpleType>
           </attribute>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • decimalPrecision

        protected Integer decimalPrecision
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the number of decimal places for numeric values of contained SVGs.</p>
         
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b>
                                 The number of decimal places directly influences the size of the resulting file. (should SVGs be contained.) However: Higher values will result in a better SVG quality.
                             </p>
         
      • graphicsStateMode

        protected SvgGraphicsStateModeType graphicsStateMode
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                                 Selects the SVG syntax used for formatting graphics states.
                                 <ul><li>verbose = Writes verbose graphics states and groups and always prefers direct path definitions.</li><li>compact = Writes compact graphics states and groups and centralizes formatting instructions, also utilizes the "use" syntax to prepare and reference indirect paths. (May not be readable by some SVG viewers.)</li></ul></p>
         
      • pathDrawMode

        protected SvgPathDrawModeType pathDrawMode
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                                 Selects the SVG syntax used for formatting graphics states.
                                 <ul><li>verbose = Writes verbose paths, containing a human readable complete and simple syntax.</li><li>compress = Compresses path draw instructions, by applying the EBNF (Extended Backus Naur Form).</li></ul></p>
         
    • Constructor Detail

      • SvgFormatType

        public SvgFormatType()
    • Method Detail

      • getDecimalPrecision

        public int getDecimalPrecision()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the number of decimal places for numeric values of contained SVGs.</p>
         
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b>
                                 The number of decimal places directly influences the size of the resulting file. (should SVGs be contained.) However: Higher values will result in a better SVG quality.
                             </p>
         
        Returns:
        possible object is Integer
      • setDecimalPrecision

        public void setDecimalPrecision​(int value)
        Sets the value of the decimalPrecision property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getDecimalPrecision()
      • isSetDecimalPrecision

        public boolean isSetDecimalPrecision()
      • unsetDecimalPrecision

        public void unsetDecimalPrecision()
      • getGraphicsStateMode

        public SvgGraphicsStateModeType getGraphicsStateMode()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                                 Selects the SVG syntax used for formatting graphics states.
                                 <ul><li>verbose = Writes verbose graphics states and groups and always prefers direct path definitions.</li><li>compact = Writes compact graphics states and groups and centralizes formatting instructions, also utilizes the "use" syntax to prepare and reference indirect paths. (May not be readable by some SVG viewers.)</li></ul></p>
         
        Returns:
        possible object is SvgGraphicsStateModeType
      • isSetGraphicsStateMode

        public boolean isSetGraphicsStateMode()
      • getPathDrawMode

        public SvgPathDrawModeType getPathDrawMode()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                                 Selects the SVG syntax used for formatting graphics states.
                                 <ul><li>verbose = Writes verbose paths, containing a human readable complete and simple syntax.</li><li>compress = Compresses path draw instructions, by applying the EBNF (Extended Backus Naur Form).</li></ul></p>
         
        Returns:
        possible object is SvgPathDrawModeType
      • isSetPathDrawMode

        public boolean isSetPathDrawMode()