Class BackgroundContentType.PieceInfo
- java.lang.Object
-
- net.webpdf.wsclient.schema.extraction.info.BackgroundContentType.PieceInfo
-
- Enclosing class:
- BackgroundContentType
public static class BackgroundContentType.PieceInfo extends Object
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"> <attribute name="absoluteScaling" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="scale" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> </restriction> </simpleType> </attribute> <attribute name="rotation" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxInclusive value="360"/> </restriction> </simpleType> </attribute> <attribute name="opacity" default="1.0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}float"> <minInclusive value="0"/> <maxInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="color" type="{http://schema.webpdf.de/1.0/extraction/info}RgbColorType" default="#FFFFFF" /> <attribute name="alignment" type="{http://schema.webpdf.de/1.0/extraction/info}Alignment" default="top_left" /> <attribute name="horizOffset" type="{http://www.w3.org/2001/XMLSchema}float" default="0.0" /> <attribute name="vertOffset" type="{http://www.w3.org/2001/XMLSchema}float" default="0.0" /> <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanabsoluteScaling<?protected Alignmentalignment<?protected Stringcolor<?protected FloathorizOffset<?protected Floatopacity<?protected Integerrotation<?protected Floatscale<?protected Stringunit<?protected FloatvertOffset<?
-
Constructor Summary
Constructors Constructor Description PieceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlignmentgetAlignment()<?StringgetColor()<?floatgetHorizOffset()<?floatgetOpacity()<?intgetRotation()<?floatgetScale()<?StringgetUnit()<?floatgetVertOffset()<?booleanisAbsoluteScaling()<?booleanisSetAbsoluteScaling()booleanisSetAlignment()booleanisSetColor()booleanisSetHorizOffset()booleanisSetOpacity()booleanisSetRotation()booleanisSetScale()booleanisSetUnit()booleanisSetVertOffset()voidsetAbsoluteScaling(boolean value)Sets the value of the absoluteScaling property.voidsetAlignment(Alignment value)Sets the value of the alignment property.voidsetColor(String value)Sets the value of the color property.voidsetHorizOffset(float value)Sets the value of the horizOffset property.voidsetOpacity(float value)Sets the value of the opacity property.voidsetRotation(int value)Sets the value of the rotation property.voidsetScale(float value)Sets the value of the scale property.voidsetUnit(String value)Sets the value of the unit property.voidsetVertOffset(float value)Sets the value of the vertOffset property.voidunsetAbsoluteScaling()voidunsetHorizOffset()voidunsetOpacity()voidunsetRotation()voidunsetScale()voidunsetVertOffset()
-
-
-
Field Detail
-
absoluteScaling
protected Boolean absoluteScaling
<?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 page shall be scaled relative to it's own original dimensions, when set to false, it shall be scaled relative to the page dimensions.</p>
-
scale
protected Float scale
<?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 scaling of the background.</p>
-
rotation
protected Integer rotation
<?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 rotation of the background.</p>
-
opacity
protected Float opacity
<?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 opacity of the background, as a percentage in the range 0.0 (fully transparent) to 1.0 (fully opaque).</p>
-
color
protected String color
<?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 color of a unicolor background.</p>
-
alignment
protected Alignment alignment
<?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">Uses one of multiple preset positions in order to position the background on the page. <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>
-
horizOffset
protected Float horizOffset
<?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 horizontal offset in relation to the backgrounds bas position.</p>
-
vertOffset
protected Float vertOffset
<?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 vertical offset in relation to the backgrounds bas position.</p>
-
unit
protected String unit
<?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 Adobe unit used to display offsets in readers. (millimeters, pica, point etc).</p>
-
-
Method Detail
-
isAbsoluteScaling
public boolean isAbsoluteScaling()
<?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 page shall be scaled relative to it's own original dimensions, when set to false, it shall be scaled relative to the page dimensions.</p>
- Returns:
- possible object is
Boolean
-
setAbsoluteScaling
public void setAbsoluteScaling(boolean value)
Sets the value of the absoluteScaling property.- Parameters:
value- allowed object isBoolean- See Also:
isAbsoluteScaling()
-
isSetAbsoluteScaling
public boolean isSetAbsoluteScaling()
-
unsetAbsoluteScaling
public void unsetAbsoluteScaling()
-
getScale
public float getScale()
<?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 scaling of the background.</p>
- Returns:
- possible object is
Float
-
setScale
public void setScale(float value)
Sets the value of the scale property.- Parameters:
value- allowed object isFloat- See Also:
getScale()
-
isSetScale
public boolean isSetScale()
-
unsetScale
public void unsetScale()
-
getRotation
public int getRotation()
<?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 rotation of the background.</p>
- Returns:
- possible object is
Integer
-
setRotation
public void setRotation(int value)
Sets the value of the rotation property.- Parameters:
value- allowed object isInteger- See Also:
getRotation()
-
isSetRotation
public boolean isSetRotation()
-
unsetRotation
public void unsetRotation()
-
getOpacity
public float getOpacity()
<?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 opacity of the background, as a percentage in the range 0.0 (fully transparent) to 1.0 (fully opaque).</p>
- Returns:
- possible object is
Float
-
setOpacity
public void setOpacity(float value)
Sets the value of the opacity property.- Parameters:
value- allowed object isFloat- See Also:
getOpacity()
-
isSetOpacity
public boolean isSetOpacity()
-
unsetOpacity
public void unsetOpacity()
-
getColor
public String getColor()
<?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 color of a unicolor background.</p>
- Returns:
- possible object is
String
-
setColor
public void setColor(String value)
Sets the value of the color property.- Parameters:
value- allowed object isString- See Also:
getColor()
-
isSetColor
public boolean isSetColor()
-
getAlignment
public Alignment getAlignment()
<?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">Uses one of multiple preset positions in order to position the background on the page. <ul><li>custom = Disable the use of a preset position.</li><li>top_left = Positions the background in the top left corner.</li><li>top_center = Positions the background in the centre on the top margin.</li><li>top_right = Positions the background in the top right corner.</li><li>center_left = Positions the background at the centre of the page, to the left.</li><li>center_center = Positions the background at the centre of the page.</li><li>center_right = Positions the background at the centre of the page, to the right.</li><li>bottom_left = Positions the background in the bottom left corner.</li><li>bottom_center = Positions the background in the centre on the bottom margin.</li><li>bottom_right = Positions the background in the bottom right corner.</li></ul></p>- Returns:
- possible object is
Alignment
-
setAlignment
public void setAlignment(Alignment value)
Sets the value of the alignment property.- Parameters:
value- allowed object isAlignment- See Also:
getAlignment()
-
isSetAlignment
public boolean isSetAlignment()
-
getHorizOffset
public float getHorizOffset()
<?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 horizontal offset in relation to the backgrounds bas position.</p>
- Returns:
- possible object is
Float
-
setHorizOffset
public void setHorizOffset(float value)
Sets the value of the horizOffset property.- Parameters:
value- allowed object isFloat- See Also:
getHorizOffset()
-
isSetHorizOffset
public boolean isSetHorizOffset()
-
unsetHorizOffset
public void unsetHorizOffset()
-
getVertOffset
public float getVertOffset()
<?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 vertical offset in relation to the backgrounds bas position.</p>
- Returns:
- possible object is
Float
-
setVertOffset
public void setVertOffset(float value)
Sets the value of the vertOffset property.- Parameters:
value- allowed object isFloat- See Also:
getVertOffset()
-
isSetVertOffset
public boolean isSetVertOffset()
-
unsetVertOffset
public void unsetVertOffset()
-
getUnit
public String getUnit()
<?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 Adobe unit used to display offsets in readers. (millimeters, pica, point etc).</p>
- Returns:
- possible object is
String
-
setUnit
public void setUnit(String value)
Sets the value of the unit property.
-
isSetUnit
public boolean isSetUnit()
-
-