Syntax
XPath: //LayoutPreparationParams/@Rotate
Type
Enumeration
Supported range
@Rotate |
Description |
---|---|
Rotate0 |
No rotation |
Rotate180 |
The content of all pages is rotated 180 degrees |
Description
Rotate specifies the rotation that is applied to the content of the sheet of the job. In case of imposition, the rotation is applied to the impositioned sheets. Any shifts are applied to the rotated content of the sheet.
Syntax to shift the front sides of individual pages
XPath: //LayoutPreparationParams/PageCell/ImageShift/@ShiftFront
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@ShiftFront
Syntax to shift the back sides of individual pages
XPath: //LayoutPreparationParams/PageCell/ImageShift/@ShiftBack
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@ShiftBack
Type
XYPair
The unit for this attribute is: points (1 point=1/72 inch).
Description
@ShiftFront | @ShiftBack = “X Y”
The amount in X and Y direction by which the content must be shifted on the front and/or back side of a page. The X and Y lengths are specified using the following conventions: X origin is left, Y origin is bottom of the media orientation.
To crop the content of shifted pages, use: LayoutPreparationParams/PageCell/ImageShift
If not specified, ShiftBack must be calculated from ShiftFront so that the content remains aligned, even after folding.
Syntax to shift the front sides of individual pages after folding (booklet)
XPath: //LayoutPreparationParams/PageCell/ImageShift/GeneralID[@IDUsage=”oce:ShiftFrontAfterFolding”]@IDValue
Syntax to shift the back sides of individual pages after folding (booklet)
XPath: //LayoutPreparationParams/PageCell/ImageShift/GeneralID[@IDUsage=”oce:ShiftBackAfterFolding”]@IDValue
Type
XYPair
The unit for this attribute is: points (1 point=1/72 inch).
Description
The amount in X and Y direction by which the content must be shifted on the front and/or back side of a page of a booklet. The X and Y lengths are specified using the following conventions: X origin is left, Y origin is bottom of the media orientation.
Only needed for booklets and only if front shift and back shift are unrelated.
If in a booklet the ShiftBack mirrors the ShiftFront, then only the ShiftFront has to be specified.
Syntax to shift the front sides of the complete imposition
XPath: //LayoutPreparationParams/ImageShift/@ShiftFront
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/ImageShift/@ShiftFront
Syntax to shift the back sides of the complete imposition
XPath: //LayoutPreparationParams/ImageShift/@ShiftBack
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/ImageShift/@ShiftBack
Type
XYPair
The unit for this attribute is: points (1 point=1/72 inch).
Description
@ShiftFront | @ShiftBack = “X Y”
The amount in X and Y direction by which the content is to be shifted on the front and/or back side of the document. The X and Y lengths are specified using the following conventions: X origin is left, Y origin is bottom of the media orientation.
If not specified, ShiftBack must be calculated from ShiftFront so that the content remains aligned.
To print the whole content of the shifted pages, even outside the finished pages, use: LayoutPreparationParams/ImageShift
Remarks
There is no range check on the shift values.
Take the media orientation into account: the X axis and the Y axis are the same as for /Media/@Dimension.
This setting is only supported for the PDF path.
Syntax for horizontal alignment
XPath: //LayoutPreparationParams/PageCell/ImageShift/@PositionX
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@PositionX
Type
Enumeration
Supported range
@PositionX |
Description |
---|---|
Center |
Center the content horizontally |
Left |
Left alignment |
Right |
Right alignment |
Syntax for vertical alignment
XPath: //LayoutPreparationParams/PageCell/ImageShift/@PositionY
When partitioned
XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@PositionY
Type
Enumeration
Supported range
@PositionY |
Description |
---|---|
Center |
Center the content vertically |
Bottom |
Bottom alignment |
Top |
Top alignment |
Description
@PositionX defines how content must be positioned horizontally.
@PositionY defines how content must be positioned vertically.
These attributes are optional. If not specified, the behaviour is device dependant.
Position values are relative to the edges of the media. For example, if @PositionX=“Left” @PositionY=“Top” are specified, the left edge and top edge of the content will be aligned with the left and top edges of the media, for both front and back sides.
The alignment is done before applying any possible additional image shifts.