public class LabelMapper extends PageMapper implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
legalCopyright |
Modifier | Constructor and Description |
---|---|
protected |
LabelMapper()
Creates a LabelRenderer object.
|
|
LabelMapper(PXMLConsumer consumer)
Creates a LabelMapper object that outputs to the given
consumer object.
|
Modifier and Type | Method and Description |
---|---|
void |
setHeight(java.lang.String heightExpression)
Specifies the height of an idividual label as a PXML numeric expression (e.g.
|
void |
setLabelsPerColumn(java.lang.Integer labelsPerColumn)
Specifies the number of labels per column.
|
void |
setLabelsPerRow(java.lang.Integer labelsPerRow)
Specifies the number of labels per row.
|
void |
setPaperHeight(java.lang.String paperHeightExpression)
Specifies the physical paper height as a PXML numeric expression (e.g.
|
void |
setPaperWidth(java.lang.String paperWidthExpression)
Specifies the physial paper width as a PXML numeric expression (e.g.
|
void |
setWidth(java.lang.String widthExpression)
Specifies the width of an idividual label as a PXML numeric expression (e.g.
|
setPaperBottomMargin, setPaperLeftMargin, setPaperRightMargin, setPaperTopMargin
setConsumer
public static final java.lang.String legalCopyright
protected LabelMapper()
public LabelMapper(PXMLConsumer consumer)
consumer
- A PXMLConsumerpublic void setPaperWidth(java.lang.String paperWidthExpression)
paperWidthExpression
- A PXML numeric expression.java.lang.IllegalArgumentException
- if the expression isn't a valid PXML numeric expressionpublic void setPaperHeight(java.lang.String paperHeightExpression)
paperHeightExpression
- A PXML numeric expression.java.lang.IllegalArgumentException
- if the expression isn't a valid PXML numeric expressionpublic void setWidth(java.lang.String widthExpression)
widthExpression
- A PXML numeric expression.java.lang.IllegalArgumentException
- if the expression isn't a valid PXML numeric expressionpublic void setHeight(java.lang.String heightExpression)
heightExpression
- A PXML numeric expression.java.lang.IllegalArgumentException
- if the expression isn't a valid PXML numeric expressionpublic void setLabelsPerRow(java.lang.Integer labelsPerRow)
labelsPerRow
- The number of labels per row.java.lang.IllegalArgumentException
- if the argument isn't strictly positivepublic void setLabelsPerColumn(java.lang.Integer labelsPerColumn)
labelsPerColumn
- The number of labels per column.java.lang.IllegalArgumentException
- if the argument isn't strictly positive