Class RotateType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseToolboxType
-
- net.webpdf.wsclient.schema.operation.RotateType
-
- All Implemented Interfaces:
ParameterInterface
public class RotateType extends BaseToolboxType
<?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 rotate operation element can be used to rotate pages in the document.</p>
Java class for RotateType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="RotateType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType"> <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="1" /> <attribute name="degrees" default="90"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="0"/> <maxInclusive value="360"/> </restriction> </simpleType> </attribute> <attribute name="pageOrientation" type="{http://schema.webpdf.de/1.0/operation}PageOrientationType" default="any" /> <attribute name="pageGroup" type="{http://schema.webpdf.de/1.0/operation}PageGroupType" default="all" /> <attribute name="orientationDetectMode" type="{http://schema.webpdf.de/1.0/operation}OrientationDetectionType" default="value" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Integerdegrees<?protected OrientationDetectionTypeorientationDetectMode<?protected PageGroupTypepageGroup<?protected PageOrientationTypepageOrientation<?protected Stringpages<?
-
Constructor Summary
Constructors Constructor Description RotateType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDegrees()<?OrientationDetectionTypegetOrientationDetectMode()<?PageGroupTypegetPageGroup()<?PageOrientationTypegetPageOrientation()<?StringgetPages()<?booleanisSetDegrees()booleanisSetOrientationDetectMode()booleanisSetPageGroup()booleanisSetPageOrientation()booleanisSetPages()voidsetDegrees(int value)Sets the value of the degrees property.voidsetOrientationDetectMode(OrientationDetectionType value)Sets the value of the orientationDetectMode property.voidsetPageGroup(PageGroupType value)Sets the value of the pageGroup property.voidsetPageOrientation(PageOrientationType value)Sets the value of the pageOrientation property.voidsetPages(String value)Sets the value of the pages property.voidunsetDegrees()
-
-
-
Field Detail
-
pages
protected String pages
<?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">Defines which page(s) should be rotated. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). To specify "all pages," use an asterisk ("*").</p>
-
degrees
protected Integer degrees
<?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 clockwise rotation in degrees. The rotation is always in 90-degree increments (0, 90, 180, 270, 360). Deviating values will always be rounded down to the next lower increment (e.g.: 32 degrees will become 0 degrees and 101 degrees will become 90 degrees). Once the rotation is completed, the new value will be normalized to a range of 0 to 359 degrees. If the page being rotated has an impermissible value (e.g. 112 degrees), this value will be adjusted before the rotation operation as well (112 degrees will become 90 degrees).</p>
-
pageOrientation
protected PageOrientationType pageOrientation
<?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 select pages based on their orientation within the specified page range: <ul><li>any = All pages</li><li>portrait = All pages in portrait format</li><li>landscape = All pages in landscape format</li></ul></p>
-
pageGroup
protected PageGroupType pageGroup
<?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 select pages based on their page number within the specified page range: <ul><li>all = All pages</li><li>even = All pages with an even page number</li><li>odd = All pages with an odd page number</li></ul></p>
-
orientationDetectMode
protected OrientationDetectionType orientationDetectMode
<?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 which criteria to use to determine the orientation (portrait/landscape) of pages (see also "pageOrientation"): <ul><li>value = Based solely on the page rotation value entered in the PDF.</li><li>dimensions = Based on the ratio of the page dimensions to each other.</li></ul></p>
-
-
Method Detail
-
getPages
public String getPages()
<?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">Defines which page(s) should be rotated. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). To specify "all pages," use an asterisk ("*").</p>- Returns:
- possible object is
String
-
setPages
public void setPages(String value)
Sets the value of the pages property.- Parameters:
value- allowed object isString- See Also:
getPages()
-
isSetPages
public boolean isSetPages()
-
getDegrees
public int getDegrees()
<?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 clockwise rotation in degrees. The rotation is always in 90-degree increments (0, 90, 180, 270, 360). Deviating values will always be rounded down to the next lower increment (e.g.: 32 degrees will become 0 degrees and 101 degrees will become 90 degrees). Once the rotation is completed, the new value will be normalized to a range of 0 to 359 degrees. If the page being rotated has an impermissible value (e.g. 112 degrees), this value will be adjusted before the rotation operation as well (112 degrees will become 90 degrees).</p>
- Returns:
- possible object is
Integer
-
setDegrees
public void setDegrees(int value)
Sets the value of the degrees property.- Parameters:
value- allowed object isInteger- See Also:
getDegrees()
-
isSetDegrees
public boolean isSetDegrees()
-
unsetDegrees
public void unsetDegrees()
-
getPageOrientation
public PageOrientationType getPageOrientation()
<?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 select pages based on their orientation within the specified page range: <ul><li>any = All pages</li><li>portrait = All pages in portrait format</li><li>landscape = All pages in landscape format</li></ul></p>- Returns:
- possible object is
PageOrientationType
-
setPageOrientation
public void setPageOrientation(PageOrientationType value)
Sets the value of the pageOrientation property.- Parameters:
value- allowed object isPageOrientationType- See Also:
getPageOrientation()
-
isSetPageOrientation
public boolean isSetPageOrientation()
-
getPageGroup
public PageGroupType getPageGroup()
<?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 select pages based on their page number within the specified page range: <ul><li>all = All pages</li><li>even = All pages with an even page number</li><li>odd = All pages with an odd page number</li></ul></p>- Returns:
- possible object is
PageGroupType
-
setPageGroup
public void setPageGroup(PageGroupType value)
Sets the value of the pageGroup property.- Parameters:
value- allowed object isPageGroupType- See Also:
getPageGroup()
-
isSetPageGroup
public boolean isSetPageGroup()
-
getOrientationDetectMode
public OrientationDetectionType getOrientationDetectMode()
<?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 which criteria to use to determine the orientation (portrait/landscape) of pages (see also "pageOrientation"): <ul><li>value = Based solely on the page rotation value entered in the PDF.</li><li>dimensions = Based on the ratio of the page dimensions to each other.</li></ul></p>- Returns:
- possible object is
OrientationDetectionType
-
setOrientationDetectMode
public void setOrientationDetectMode(OrientationDetectionType value)
Sets the value of the orientationDetectMode property.- Parameters:
value- allowed object isOrientationDetectionType- See Also:
getOrientationDetectMode()
-
isSetOrientationDetectMode
public boolean isSetOrientationDetectMode()
-
-