Package com.logicaldoc.stamp
Class ApplyStampImageToPageParameter
java.lang.Object
com.logicaldoc.stamp.ApplyStampImageToPageParameter
A value object to pass parameters to the applyStampImageToPage method.
- Since:
- 8.8.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExprH()
getExprW()
getExprX()
getExprY()
int
org.apache.pdfbox.pdmodel.PDPage
getPage()
org.apache.pdfbox.pdmodel.PDDocument
int
getStamp()
long
void
void
void
void
void
setOpacity
(int opacity) void
setPage
(org.apache.pdfbox.pdmodel.PDPage page) void
setpDocument
(org.apache.pdfbox.pdmodel.PDDocument pDocument) void
setRotation
(int rotation) void
void
setTenantId
(long tenantId)
-
Constructor Details
-
ApplyStampImageToPageParameter
public ApplyStampImageToPageParameter() -
ApplyStampImageToPageParameter
public ApplyStampImageToPageParameter(File stamp, org.apache.pdfbox.pdmodel.PDPage page, org.apache.pdfbox.pdmodel.PDDocument pDocument, String exprX, String exprY, String exprW, String exprH) Constructor- Parameters:
stamp
- The file that contains the image to stamppage
- The page where the stamp must be appliedpDocument
- The document to processexprX
- Expression that defines the X coordinateexprY
- Expression that defines the Y coordinateexprW
- Expression that defines the widthexprH
- Expression that defines the height
-
-
Method Details
-
getStamp
-
setStamp
-
getPage
public org.apache.pdfbox.pdmodel.PDPage getPage() -
setPage
public void setPage(org.apache.pdfbox.pdmodel.PDPage page) -
getpDocument
public org.apache.pdfbox.pdmodel.PDDocument getpDocument() -
setpDocument
public void setpDocument(org.apache.pdfbox.pdmodel.PDDocument pDocument) -
getExprX
-
setExprX
-
getExprY
-
setExprY
-
getExprW
-
setExprW
-
getExprH
-
setExprH
-
getRotation
public int getRotation() -
setRotation
public void setRotation(int rotation) -
getOpacity
public int getOpacity() -
setOpacity
public void setOpacity(int opacity) -
getTenantId
public long getTenantId() -
setTenantId
public void setTenantId(long tenantId)
-