public class Positioning extends Object
Modifier and Type | Field and Description |
---|---|
static float |
SIGNATURE_MARGIN_HORIZONTAL
The left/right margin.
|
static float |
SIGNATURE_MARGIN_VERTICAL
The top/bottom margin.
|
Constructor and Description |
---|
Positioning() |
Modifier and Type | Method and Description |
---|---|
static PositioningInstruction |
adjustSignatureTableandCalculatePosition(org.apache.pdfbox.pdmodel.PDDocument pdfDataSource,
IPDFVisualObject pdf_table,
TablePos pos,
boolean legacy32)
Sets the width of the table according to the layout of the document and
calculates the y position where the PDFPTable should be placed.
|
static PositioningInstruction |
determineTablePositioning(TablePos pos,
String signature_type,
org.apache.pdfbox.pdmodel.PDDocument pdfDataSource,
IPDFVisualObject pdf_table,
boolean legacy32)
Evalutates absolute positioning and prepares the PositioningInstruction
for placing the table.
|
public static final float SIGNATURE_MARGIN_HORIZONTAL
public static final float SIGNATURE_MARGIN_VERTICAL
public static PositioningInstruction determineTablePositioning(TablePos pos, String signature_type, org.apache.pdfbox.pdmodel.PDDocument pdfDataSource, IPDFVisualObject pdf_table, boolean legacy32) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
pos
- The absolute positioning parameter. If null it is sought in
the profile definition.signature_type
- The profile definition of the table to be written.pdfDataSource
- The pdf.pdf_table
- The pdf table to be written.at.gv.egiz.pdfas.common.exceptions.PdfAsException
- F.e.public static PositioningInstruction adjustSignatureTableandCalculatePosition(org.apache.pdfbox.pdmodel.PDDocument pdfDataSource, IPDFVisualObject pdf_table, TablePos pos, boolean legacy32) throws at.gv.egiz.pdfas.common.exceptions.PdfAsException
pdfDataSource
- The PDF document.pdf_table
- The PDFPTable to be placed.at.gv.egiz.pdfas.common.exceptions.PdfAsException
- F.e.