Class FitRectangleDestinationType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.DestinationEventType
-
- net.webpdf.wsclient.schema.operation.FitRectangleDestinationType
-
public class FitRectangleDestinationType extends DestinationEventType
<?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">The fitRectangle element is used to specify a location within the document. It will jump to a page in the document and set a zoom factor that will ensure, as far as possible, that a rectangle produced by the offsets from the page margins is displayed.</p>
Java class for FitRectangleDestinationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FitRectangleDestinationType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}DestinationEventType"> <attribute name="page" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> <attribute name="leftOffset" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> </restriction> </simpleType> </attribute> <attribute name="bottomOffset" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> </restriction> </simpleType> </attribute> <attribute name="rightOffset" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> </restriction> </simpleType> </attribute> <attribute name="topOffset" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> </restriction> </simpleType> </attribute> <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="px" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerbottomOffsetprotected IntegerleftOffsetprotected MetricsTypemetricsprotected Integerpageprotected IntegerrightOffsetprotected IntegertopOffset
-
Constructor Summary
Constructors Constructor Description FitRectangleDestinationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBottomOffset()Gets the value of the bottomOffset property.intgetLeftOffset()Gets the value of the leftOffset property.MetricsTypegetMetrics()Gets the value of the metrics property.intgetPage()Gets the value of the page property.intgetRightOffset()Gets the value of the rightOffset property.intgetTopOffset()Gets the value of the topOffset property.booleanisSetBottomOffset()booleanisSetLeftOffset()booleanisSetMetrics()booleanisSetPage()booleanisSetRightOffset()booleanisSetTopOffset()voidsetBottomOffset(int value)Sets the value of the bottomOffset property.voidsetLeftOffset(int value)Sets the value of the leftOffset property.voidsetMetrics(MetricsType value)Sets the value of the metrics property.voidsetPage(int value)Sets the value of the page property.voidsetRightOffset(int value)Sets the value of the rightOffset property.voidsetTopOffset(int value)Sets the value of the topOffset property.voidunsetBottomOffset()voidunsetLeftOffset()voidunsetPage()voidunsetRightOffset()voidunsetTopOffset()
-
-
-
Method Detail
-
getPage
public int getPage()
Gets the value of the page property.- Returns:
- possible object is
Integer
-
setPage
public void setPage(int value)
Sets the value of the page property.- Parameters:
value- allowed object isInteger
-
isSetPage
public boolean isSetPage()
-
unsetPage
public void unsetPage()
-
getLeftOffset
public int getLeftOffset()
Gets the value of the leftOffset property.- Returns:
- possible object is
Integer
-
setLeftOffset
public void setLeftOffset(int value)
Sets the value of the leftOffset property.- Parameters:
value- allowed object isInteger
-
isSetLeftOffset
public boolean isSetLeftOffset()
-
unsetLeftOffset
public void unsetLeftOffset()
-
getBottomOffset
public int getBottomOffset()
Gets the value of the bottomOffset property.- Returns:
- possible object is
Integer
-
setBottomOffset
public void setBottomOffset(int value)
Sets the value of the bottomOffset property.- Parameters:
value- allowed object isInteger
-
isSetBottomOffset
public boolean isSetBottomOffset()
-
unsetBottomOffset
public void unsetBottomOffset()
-
getRightOffset
public int getRightOffset()
Gets the value of the rightOffset property.- Returns:
- possible object is
Integer
-
setRightOffset
public void setRightOffset(int value)
Sets the value of the rightOffset property.- Parameters:
value- allowed object isInteger
-
isSetRightOffset
public boolean isSetRightOffset()
-
unsetRightOffset
public void unsetRightOffset()
-
getTopOffset
public int getTopOffset()
Gets the value of the topOffset property.- Returns:
- possible object is
Integer
-
setTopOffset
public void setTopOffset(int value)
Sets the value of the topOffset property.- Parameters:
value- allowed object isInteger
-
isSetTopOffset
public boolean isSetTopOffset()
-
unsetTopOffset
public void unsetTopOffset()
-
getMetrics
public MetricsType getMetrics()
Gets the value of the metrics property.- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType
-
isSetMetrics
public boolean isSetMetrics()
-
-