Interface PdfTemplate
- All Superinterfaces:
Cloneable,net.anotheria.asg.data.DataObject,net.anotheria.util.sorter.IComparable
- All Known Implementing Classes:
PdfTemplateDocument
public interface PdfTemplate
extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant property name for "applyBackgroundStyles" for internal storage and queries.static final StringConstant property name for "contentTemplate" and domain "EN" for internal storage and queries.static final StringConstant property name for "footerMargin" for internal storage and queries.static final StringConstant property name for "footerTemplate" and domain "EN" for internal storage and queries.static final StringConstant property name for "headerMargin" for internal storage and queries.static final StringConstant property name for "headerTemplate" and domain "EN" for internal storage and queries.static final StringConstant property name for "id" for internal storage and queries.static final StringConstant property name for "localizations" for internal storage and queries.static final StringConstant property name for "name" for internal storage and queries.static final StringConstant property name for "showPageNumbers" for internal storage and queries. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocalizationsElement(String guard) Adds a new element to the list.voidcopyLANG2LANG(String sourceLanguge, String destLanguage) Copies all multilingual properties from source language to destination languagebooleanReturns the value of the applyBackgroundStyles attribute.Returns the current value of the contentTemplate attribute.Returns the value of the contentTemplate attribute in the "EN" domain.intReturns the value of the footerMargin attribute.Returns the current value of the footerTemplate attribute.Returns the value of the footerTemplate attribute in the "EN" domain.intReturns the value of the headerMargin attribute.Returns the current value of the headerTemplate attribute.Returns the value of the headerTemplate attribute in the "EN" domain.Returns the value of the localizations attribute.getLocalizationsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "localizations" containergetName()Returns the value of the name attribute.booleanReturns the value of the showPageNumbers attribute.voidremoveLocalizationsElement(int index) Removes the element at position index from the list.voidsetApplyBackgroundStyles(boolean value) Sets the value of the applyBackgroundStyles attribute.voidsetContentTemplate(String value) Sets the value of the contentTemplate attribute in the current domain.voidsetContentTemplateEN(String value) Sets the value of the contentTemplate attribute in the domain "EN"voidsetFooterMargin(int value) Sets the value of the footerMargin attribute.voidsetFooterTemplate(String value) Sets the value of the footerTemplate attribute in the current domain.voidsetFooterTemplateEN(String value) Sets the value of the footerTemplate attribute in the domain "EN"voidsetHeaderMargin(int value) Sets the value of the headerMargin attribute.voidsetHeaderTemplate(String value) Sets the value of the headerTemplate attribute in the current domain.voidsetHeaderTemplateEN(String value) Sets the value of the headerTemplate attribute in the domain "EN"voidsetLocalizations(List<String> value) Sets the value of the localizations attribute.voidSets the value of the name attribute.voidsetShowPageNumbers(boolean value) Sets the value of the showPageNumbers attribute.voidswapLocalizationsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.Methods inherited from interface net.anotheria.asg.data.DataObject
clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNodeMethods inherited from interface net.anotheria.util.sorter.IComparable
compareTo
-
Field Details
-
PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
-
PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
-
PROP_SHOW_PAGE_NUMBERS
Constant property name for "showPageNumbers" for internal storage and queries.- See Also:
-
PROP_APPLY_BACKGROUND_STYLES
Constant property name for "applyBackgroundStyles" for internal storage and queries.- See Also:
-
PROP_HEADER_TEMPLATE_EN
Constant property name for "headerTemplate" and domain "EN" for internal storage and queries.- See Also:
-
PROP_HEADER_MARGIN
Constant property name for "headerMargin" for internal storage and queries.- See Also:
-
PROP_FOOTER_TEMPLATE_EN
Constant property name for "footerTemplate" and domain "EN" for internal storage and queries.- See Also:
-
PROP_FOOTER_MARGIN
Constant property name for "footerMargin" for internal storage and queries.- See Also:
-
PROP_CONTENT_TEMPLATE_EN
Constant property name for "contentTemplate" and domain "EN" for internal storage and queries.- See Also:
-
PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
-
-
Method Details
-
getName
String getName()Returns the value of the name attribute. -
setName
Sets the value of the name attribute. -
getShowPageNumbers
boolean getShowPageNumbers()Returns the value of the showPageNumbers attribute. -
setShowPageNumbers
void setShowPageNumbers(boolean value) Sets the value of the showPageNumbers attribute. -
getApplyBackgroundStyles
boolean getApplyBackgroundStyles()Returns the value of the applyBackgroundStyles attribute. -
setApplyBackgroundStyles
void setApplyBackgroundStyles(boolean value) Sets the value of the applyBackgroundStyles attribute. -
getHeaderTemplateEN
String getHeaderTemplateEN()Returns the value of the headerTemplate attribute in the "EN" domain. -
getHeaderTemplate
String getHeaderTemplate()Returns the current value of the headerTemplate attribute. Current means in the currently selected domain. -
setHeaderTemplateEN
Sets the value of the headerTemplate attribute in the domain "EN" -
setHeaderTemplate
Sets the value of the headerTemplate attribute in the current domain. Current means in the currently selected domain. -
getHeaderMargin
int getHeaderMargin()Returns the value of the headerMargin attribute. -
setHeaderMargin
void setHeaderMargin(int value) Sets the value of the headerMargin attribute. -
getContentTemplateEN
String getContentTemplateEN()Returns the value of the contentTemplate attribute in the "EN" domain. -
getContentTemplate
String getContentTemplate()Returns the current value of the contentTemplate attribute. Current means in the currently selected domain. -
setContentTemplateEN
Sets the value of the contentTemplate attribute in the domain "EN" -
setContentTemplate
Sets the value of the contentTemplate attribute in the current domain. Current means in the currently selected domain. -
getLocalizations
Returns the value of the localizations attribute. -
setLocalizations
Sets the value of the localizations attribute. -
getLocalizationsSize
int getLocalizationsSize()Returns the number of elements in the "localizations" container -
addLocalizationsElement
Adds a new element to the list. -
removeLocalizationsElement
void removeLocalizationsElement(int index) Removes the element at position index from the list. -
swapLocalizationsElement
void swapLocalizationsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list. -
getLocalizationsElement
Returns the element at the position index in the list. -
copyLANG2LANG
Copies all multilingual properties from source language to destination language
-