Class ZoomDestinationType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.DestinationEventType
-
- net.webpdf.wsclient.schema.operation.ZoomDestinationType
-
public class ZoomDestinationType 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 zoomPage element is used to specify a location within the document. It will jump to a page in the document, select an area, and set a zoom factor for display.</p>
Java class for ZoomDestinationType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ZoomDestinationType"> <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="topOffset" default="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> </restriction> </simpleType> </attribute> <attribute name="zoom" default="100"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxInclusive value="6400"/> </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 IntegerleftOffset<?protected MetricsTypemetrics<?protected Integerpage<?protected IntegertopOffset<?protected Integerzoom<?
-
Constructor Summary
Constructors Constructor Description ZoomDestinationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLeftOffset()<?MetricsTypegetMetrics()<?intgetPage()<?intgetTopOffset()<?intgetZoom()<?booleanisSetLeftOffset()booleanisSetMetrics()booleanisSetPage()booleanisSetTopOffset()booleanisSetZoom()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.voidsetTopOffset(int value)Sets the value of the topOffset property.voidsetZoom(int value)Sets the value of the zoom property.voidunsetLeftOffset()voidunsetPage()voidunsetTopOffset()voidunsetZoom()
-
-
-
Field Detail
-
page
protected Integer page
<?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 document page to which the jump will be.</p>
-
leftOffset
protected Integer leftOffset
<?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 area's offset from the left page margin.</p>
-
topOffset
protected Integer topOffset
<?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 area's offset from the top page margin.</p>
-
zoom
protected Integer zoom
<?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">Used to set the value for zooming (as a percentage).</p>
-
metrics
protected MetricsType metrics
<?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">Used to specify the unit in which the maximum dimensions are specified. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>
-
-
Method Detail
-
getPage
public int getPage()
<?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 document page to which the jump will be.</p>
- Returns:
- possible object is
Integer
-
setPage
public void setPage(int value)
Sets the value of the page property.
-
isSetPage
public boolean isSetPage()
-
unsetPage
public void unsetPage()
-
getLeftOffset
public int getLeftOffset()
<?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 area's offset from the left page margin.</p>
- Returns:
- possible object is
Integer
-
setLeftOffset
public void setLeftOffset(int value)
Sets the value of the leftOffset property.- Parameters:
value- allowed object isInteger- See Also:
getLeftOffset()
-
isSetLeftOffset
public boolean isSetLeftOffset()
-
unsetLeftOffset
public void unsetLeftOffset()
-
getTopOffset
public int getTopOffset()
<?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 area's offset from the top page margin.</p>
- Returns:
- possible object is
Integer
-
setTopOffset
public void setTopOffset(int value)
Sets the value of the topOffset property.- Parameters:
value- allowed object isInteger- See Also:
getTopOffset()
-
isSetTopOffset
public boolean isSetTopOffset()
-
unsetTopOffset
public void unsetTopOffset()
-
getZoom
public int getZoom()
<?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">Used to set the value for zooming (as a percentage).</p>
- Returns:
- possible object is
Integer
-
setZoom
public void setZoom(int value)
Sets the value of the zoom property.
-
isSetZoom
public boolean isSetZoom()
-
unsetZoom
public void unsetZoom()
-
getMetrics
public MetricsType getMetrics()
<?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">Used to specify the unit in which the maximum dimensions are specified. <ul><li>pt = Points(1/72 inch)</li><li>pc = Picas(12 points)</li><li>px = Pixels(1/96 inch)</li><li>mm = Millimeters</li><li>in = Inches</li></ul></p>- Returns:
- possible object is
MetricsType
-
setMetrics
public void setMetrics(MetricsType value)
Sets the value of the metrics property.- Parameters:
value- allowed object isMetricsType- See Also:
getMetrics()
-
isSetMetrics
public boolean isSetMetrics()
-
-