Class SvgFormatType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.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 Summary
Fields Modifier and Type Field Description protected IntegerdecimalPrecision<?protected SvgGraphicsStateModeTypegraphicsStateMode<?protected SvgPathDrawModeTypepathDrawMode<?
-
Constructor Summary
Constructors Constructor Description SvgFormatType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDecimalPrecision()<?SvgGraphicsStateModeTypegetGraphicsStateMode()<?SvgPathDrawModeTypegetPathDrawMode()<?booleanisSetDecimalPrecision()booleanisSetGraphicsStateMode()booleanisSetPathDrawMode()voidsetDecimalPrecision(int value)Sets the value of the decimalPrecision property.voidsetGraphicsStateMode(SvgGraphicsStateModeType value)Sets the value of the graphicsStateMode property.voidsetPathDrawMode(SvgPathDrawModeType value)Sets the value of the pathDrawMode property.voidunsetDecimalPrecision()
-
-
-
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>
-
-
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 isInteger- 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
-
setGraphicsStateMode
public void setGraphicsStateMode(SvgGraphicsStateModeType value)
Sets the value of the graphicsStateMode property.- Parameters:
value- allowed object isSvgGraphicsStateModeType- See Also:
getGraphicsStateMode()
-
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
-
setPathDrawMode
public void setPathDrawMode(SvgPathDrawModeType value)
Sets the value of the pathDrawMode property.- Parameters:
value- allowed object isSvgPathDrawModeType- See Also:
getPathDrawMode()
-
isSetPathDrawMode
public boolean isSetPathDrawMode()
-
-