Package com.logicaldoc.stamp
Class Stamp
- java.lang.Object
-
- com.logicaldoc.core.PersistentObject
-
- com.logicaldoc.core.metadata.ExtensibleObject
-
- com.logicaldoc.stamp.Stamp
-
- All Implemented Interfaces:
Serializable
public class Stamp extends com.logicaldoc.core.metadata.ExtensibleObject
A Stamp to be applied on the document.- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
PAGE_OPT_ALL
static int
PAGE_OPT_FIRST
static int
PAGE_OPT_LAST
static int
PAGE_OPT_SEL
static int
TYPE_BARCODE
static int
TYPE_HTML
static int
TYPE_IMAGE
static int
TYPE_TEXT
-
Constructor Summary
Constructors Constructor Description Stamp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
double
getAspectRatio()
String
getBarcodeFormat()
int
getBarcodeLabel()
String
getColor()
String
getDescription()
int
getEnabled()
String
getExprH()
String
getExprW()
String
getExprX()
String
getExprY()
String
getFont()
String
getImage()
int
getImageHeight()
int
getImageWidth()
String
getName()
int
getOpacity()
int
getPageOption()
String
getPageSelection()
Map<String,Object>
getParameters()
int
getRotation()
int
getSize()
com.logicaldoc.core.metadata.Template
getTemplate()
String
getText()
int
getType()
Set<com.logicaldoc.core.security.User>
getUsers()
void
setBarcodeFormat(String barcodeFormat)
void
setBarcodeLabel(int barcodeLabel)
void
setColor(String color)
void
setDescription(String description)
void
setEnabled(int enabled)
void
setExprH(String exprH)
void
setExprW(String exprW)
void
setExprX(String exprX)
void
setExprY(String exprY)
void
setFont(String font)
void
setImage(String image)
void
setImageHeight(int imageHeight)
void
setImageWidth(int imageWidth)
void
setName(String name)
void
setOpacity(int opacity)
void
setPageOption(int pageOption)
void
setPageSelection(String pageSelection)
void
setParameters(Map<String,Object> parameters)
void
setRotation(int rotation)
void
setSize(int size)
void
setTemplate(com.logicaldoc.core.metadata.Template template)
void
setText(String text)
void
setType(int type)
void
setUsers(Set<com.logicaldoc.core.security.User> users)
-
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setValue, setValues, setValues
-
-
-
-
Field Detail
-
TYPE_TEXT
public static final int TYPE_TEXT
- See Also:
- Constant Field Values
-
TYPE_IMAGE
public static final int TYPE_IMAGE
- See Also:
- Constant Field Values
-
TYPE_BARCODE
public static final int TYPE_BARCODE
- See Also:
- Constant Field Values
-
TYPE_HTML
public static final int TYPE_HTML
- See Also:
- Constant Field Values
-
PAGE_OPT_ALL
public static final int PAGE_OPT_ALL
- See Also:
- Constant Field Values
-
PAGE_OPT_FIRST
public static final int PAGE_OPT_FIRST
- See Also:
- Constant Field Values
-
PAGE_OPT_LAST
public static final int PAGE_OPT_LAST
- See Also:
- Constant Field Values
-
PAGE_OPT_SEL
public static final int PAGE_OPT_SEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTemplate
public com.logicaldoc.core.metadata.Template getTemplate()
-
setTemplate
public void setTemplate(com.logicaldoc.core.metadata.Template template)
-
getFont
public String getFont()
-
setFont
public void setFont(String font)
-
getType
public int getType()
-
setType
public void setType(int type)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getOpacity
public int getOpacity()
-
setOpacity
public void setOpacity(int opacity)
-
getRotation
public int getRotation()
-
setRotation
public void setRotation(int rotation)
-
getExprX
public String getExprX()
-
setExprX
public void setExprX(String exprX)
-
getExprY
public String getExprY()
-
setExprY
public void setExprY(String exprY)
-
getUsers
public Set<com.logicaldoc.core.security.User> getUsers()
-
setUsers
public void setUsers(Set<com.logicaldoc.core.security.User> users)
-
getText
public String getText()
-
setText
public void setText(String text)
-
getEnabled
public int getEnabled()
-
setEnabled
public void setEnabled(int enabled)
-
getColor
public String getColor()
-
setColor
public void setColor(String color)
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
getPageOption
public int getPageOption()
-
setPageOption
public void setPageOption(int pageOption)
-
getPageSelection
public String getPageSelection()
-
setPageSelection
public void setPageSelection(String pageSelection)
-
getImageWidth
public int getImageWidth()
-
setImageWidth
public void setImageWidth(int imageWidth)
-
getImageHeight
public int getImageHeight()
-
setImageHeight
public void setImageHeight(int imageHeight)
-
getBarcodeLabel
public int getBarcodeLabel()
-
setBarcodeLabel
public void setBarcodeLabel(int barcodeLabel)
-
getBarcodeFormat
public String getBarcodeFormat()
-
setBarcodeFormat
public void setBarcodeFormat(String barcodeFormat)
-
getExprW
public String getExprW()
-
getExprH
public String getExprH()
-
setExprW
public void setExprW(String exprW)
-
setExprH
public void setExprH(String exprH)
-
getAspectRatio
public double getAspectRatio()
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
clone
public Object clone() throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
-
-