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
Fields Modifier and Type Field Description static StringPROP_APPLY_BACKGROUND_STYLESConstant property name for "applyBackgroundStyles" for internal storage and queries.static StringPROP_CONTENT_TEMPLATE_DEConstant property name for "contentTemplate" and domain "DE" for internal storage and queries.static StringPROP_CONTENT_TEMPLATE_ENConstant property name for "contentTemplate" and domain "EN" for internal storage and queries.static StringPROP_FOOTER_MARGINConstant property name for "footerMargin" for internal storage and queries.static StringPROP_FOOTER_TEMPLATE_DEConstant property name for "footerTemplate" and domain "DE" for internal storage and queries.static StringPROP_FOOTER_TEMPLATE_ENConstant property name for "footerTemplate" and domain "EN" for internal storage and queries.static StringPROP_HEADER_MARGINConstant property name for "headerMargin" for internal storage and queries.static StringPROP_HEADER_TEMPLATE_DEConstant property name for "headerTemplate" and domain "DE" for internal storage and queries.static StringPROP_HEADER_TEMPLATE_ENConstant property name for "headerTemplate" and domain "EN" for internal storage and queries.static StringPROP_IDConstant property name for "id" for internal storage and queries.static StringPROP_LOCALIZATIONSConstant property name for "localizations" for internal storage and queries.static StringPROP_NAMEConstant property name for "name" for internal storage and queries.static StringPROP_SHOW_PAGE_NUMBERSConstant property name for "showPageNumbers" for internal storage and queries.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLocalizationsElement(String guard)Adds a new element to the list.voidcopyDE2EN()Copies all multilingual properties from language DE to language ENvoidcopyEN2DE()Copies all multilingual properties from language EN to language DEvoidcopyLANG2LANG(String sourceLanguge, String destLanguage)Copies all multilingual properties from source language to destination languagebooleangetApplyBackgroundStyles()Returns the value of the applyBackgroundStyles attribute.StringgetContentTemplate()Returns the current value of the contentTemplate attribute.StringgetContentTemplateDE()Returns the value of the contentTemplate attribute in the "DE" domain.StringgetContentTemplateEN()Returns the value of the contentTemplate attribute in the "EN" domain.intgetFooterMargin()Returns the value of the footerMargin attribute.StringgetFooterTemplate()Returns the current value of the footerTemplate attribute.StringgetFooterTemplateDE()Returns the value of the footerTemplate attribute in the "DE" domain.StringgetFooterTemplateEN()Returns the value of the footerTemplate attribute in the "EN" domain.intgetHeaderMargin()Returns the value of the headerMargin attribute.StringgetHeaderTemplate()Returns the current value of the headerTemplate attribute.StringgetHeaderTemplateDE()Returns the value of the headerTemplate attribute in the "DE" domain.StringgetHeaderTemplateEN()Returns the value of the headerTemplate attribute in the "EN" domain.List<String>getLocalizations()Returns the value of the localizations attribute.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerStringgetName()Returns the value of the name attribute.booleangetShowPageNumbers()Returns 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.voidsetContentTemplateDE(String value)Sets the value of the contentTemplate attribute in the domain "DE"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.voidsetFooterTemplateDE(String value)Sets the value of the footerTemplate attribute in the domain "DE"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.voidsetHeaderTemplateDE(String value)Sets the value of the headerTemplate attribute in the domain "DE"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.voidsetName(String value)Sets 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.
-
-
-
Field Detail
-
PROP_ID
static final String PROP_ID
Constant property name for "id" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_NAME
static final String PROP_NAME
Constant property name for "name" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_SHOW_PAGE_NUMBERS
static final String PROP_SHOW_PAGE_NUMBERS
Constant property name for "showPageNumbers" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_APPLY_BACKGROUND_STYLES
static final String PROP_APPLY_BACKGROUND_STYLES
Constant property name for "applyBackgroundStyles" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_HEADER_TEMPLATE_EN
static final String PROP_HEADER_TEMPLATE_EN
Constant property name for "headerTemplate" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_HEADER_TEMPLATE_DE
static final String PROP_HEADER_TEMPLATE_DE
Constant property name for "headerTemplate" and domain "DE" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_HEADER_MARGIN
static final String PROP_HEADER_MARGIN
Constant property name for "headerMargin" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_FOOTER_TEMPLATE_EN
static final String PROP_FOOTER_TEMPLATE_EN
Constant property name for "footerTemplate" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_FOOTER_TEMPLATE_DE
static final String PROP_FOOTER_TEMPLATE_DE
Constant property name for "footerTemplate" and domain "DE" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_FOOTER_MARGIN
static final String PROP_FOOTER_MARGIN
Constant property name for "footerMargin" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_CONTENT_TEMPLATE_EN
static final String PROP_CONTENT_TEMPLATE_EN
Constant property name for "contentTemplate" and domain "EN" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_CONTENT_TEMPLATE_DE
static final String PROP_CONTENT_TEMPLATE_DE
Constant property name for "contentTemplate" and domain "DE" for internal storage and queries.- See Also:
- Constant Field Values
-
PROP_LOCALIZATIONS
static final String PROP_LOCALIZATIONS
Constant property name for "localizations" for internal storage and queries.- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
String getName()
Returns the value of the name attribute.
-
setName
void setName(String value)
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.
-
getHeaderTemplateDE
String getHeaderTemplateDE()
Returns the value of the headerTemplate attribute in the "DE" domain.
-
getHeaderTemplate
String getHeaderTemplate()
Returns the current value of the headerTemplate attribute. Current means in the currently selected domain.
-
setHeaderTemplateEN
void setHeaderTemplateEN(String value)
Sets the value of the headerTemplate attribute in the domain "EN"
-
setHeaderTemplateDE
void setHeaderTemplateDE(String value)
Sets the value of the headerTemplate attribute in the domain "DE"
-
setHeaderTemplate
void setHeaderTemplate(String value)
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.
-
getFooterTemplateEN
String getFooterTemplateEN()
Returns the value of the footerTemplate attribute in the "EN" domain.
-
getFooterTemplateDE
String getFooterTemplateDE()
Returns the value of the footerTemplate attribute in the "DE" domain.
-
getFooterTemplate
String getFooterTemplate()
Returns the current value of the footerTemplate attribute. Current means in the currently selected domain.
-
setFooterTemplateEN
void setFooterTemplateEN(String value)
Sets the value of the footerTemplate attribute in the domain "EN"
-
setFooterTemplateDE
void setFooterTemplateDE(String value)
Sets the value of the footerTemplate attribute in the domain "DE"
-
setFooterTemplate
void setFooterTemplate(String value)
Sets the value of the footerTemplate attribute in the current domain. Current means in the currently selected domain.
-
getFooterMargin
int getFooterMargin()
Returns the value of the footerMargin attribute.
-
setFooterMargin
void setFooterMargin(int value)
Sets the value of the footerMargin attribute.
-
getContentTemplateEN
String getContentTemplateEN()
Returns the value of the contentTemplate attribute in the "EN" domain.
-
getContentTemplateDE
String getContentTemplateDE()
Returns the value of the contentTemplate attribute in the "DE" domain.
-
getContentTemplate
String getContentTemplate()
Returns the current value of the contentTemplate attribute. Current means in the currently selected domain.
-
setContentTemplateEN
void setContentTemplateEN(String value)
Sets the value of the contentTemplate attribute in the domain "EN"
-
setContentTemplateDE
void setContentTemplateDE(String value)
Sets the value of the contentTemplate attribute in the domain "DE"
-
setContentTemplate
void setContentTemplate(String value)
Sets the value of the contentTemplate attribute in the current domain. Current means in the currently selected domain.
-
setLocalizations
void setLocalizations(List<String> value)
Sets the value of the localizations attribute.
-
getLocalizationsSize
int getLocalizationsSize()
Returns the number of elements in the "localizations" container
-
addLocalizationsElement
void addLocalizationsElement(String guard)
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
String getLocalizationsElement(int index)
Returns the element at the position index in the list.
-
copyLANG2LANG
void copyLANG2LANG(String sourceLanguge, String destLanguage)
Copies all multilingual properties from source language to destination language
-
copyEN2DE
void copyEN2DE()
Copies all multilingual properties from language EN to language DE
-
copyDE2EN
void copyDE2EN()
Copies all multilingual properties from language DE to language EN
-
-