Class PdfTemplateDocument

  • All Implemented Interfaces:
    Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, PdfTemplate, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.asg.data.MultilingualObject, net.anotheria.util.sorter.IComparable

    public class PdfTemplateDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements PdfTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
    See Also:
    Serialized Form
    • Constructor Detail

      • PdfTemplateDocument

        public PdfTemplateDocument()
      • PdfTemplateDocument

        public PdfTemplateDocument​(String id)
    • Method Detail

      • setName

        public void setName​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the name attribute.
        Specified by:
        setName in interface PdfTemplate
      • getShowPageNumbers

        public boolean getShowPageNumbers()
        Description copied from interface: PdfTemplate
        Returns the value of the showPageNumbers attribute.
        Specified by:
        getShowPageNumbers in interface PdfTemplate
      • setShowPageNumbers

        public void setShowPageNumbers​(boolean value)
        Description copied from interface: PdfTemplate
        Sets the value of the showPageNumbers attribute.
        Specified by:
        setShowPageNumbers in interface PdfTemplate
      • getApplyBackgroundStyles

        public boolean getApplyBackgroundStyles()
        Description copied from interface: PdfTemplate
        Returns the value of the applyBackgroundStyles attribute.
        Specified by:
        getApplyBackgroundStyles in interface PdfTemplate
      • setApplyBackgroundStyles

        public void setApplyBackgroundStyles​(boolean value)
        Description copied from interface: PdfTemplate
        Sets the value of the applyBackgroundStyles attribute.
        Specified by:
        setApplyBackgroundStyles in interface PdfTemplate
      • getHeaderTemplateEN

        public String getHeaderTemplateEN()
        Description copied from interface: PdfTemplate
        Returns the value of the headerTemplate attribute in the "EN" domain.
        Specified by:
        getHeaderTemplateEN in interface PdfTemplate
      • getHeaderTemplateDE

        public String getHeaderTemplateDE()
        Description copied from interface: PdfTemplate
        Returns the value of the headerTemplate attribute in the "DE" domain.
        Specified by:
        getHeaderTemplateDE in interface PdfTemplate
      • getHeaderTemplate

        public String getHeaderTemplate()
        Description copied from interface: PdfTemplate
        Returns the current value of the headerTemplate attribute. Current means in the currently selected domain.
        Specified by:
        getHeaderTemplate in interface PdfTemplate
      • setHeaderTemplateEN

        public void setHeaderTemplateEN​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the headerTemplate attribute in the domain "EN"
        Specified by:
        setHeaderTemplateEN in interface PdfTemplate
      • setHeaderTemplateDE

        public void setHeaderTemplateDE​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the headerTemplate attribute in the domain "DE"
        Specified by:
        setHeaderTemplateDE in interface PdfTemplate
      • setHeaderTemplate

        public void setHeaderTemplate​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the headerTemplate attribute in the current domain. Current means in the currently selected domain.
        Specified by:
        setHeaderTemplate in interface PdfTemplate
      • getHeaderMargin

        public int getHeaderMargin()
        Description copied from interface: PdfTemplate
        Returns the value of the headerMargin attribute.
        Specified by:
        getHeaderMargin in interface PdfTemplate
      • setHeaderMargin

        public void setHeaderMargin​(int value)
        Description copied from interface: PdfTemplate
        Sets the value of the headerMargin attribute.
        Specified by:
        setHeaderMargin in interface PdfTemplate
      • getFooterTemplateEN

        public String getFooterTemplateEN()
        Description copied from interface: PdfTemplate
        Returns the value of the footerTemplate attribute in the "EN" domain.
        Specified by:
        getFooterTemplateEN in interface PdfTemplate
      • getFooterTemplateDE

        public String getFooterTemplateDE()
        Description copied from interface: PdfTemplate
        Returns the value of the footerTemplate attribute in the "DE" domain.
        Specified by:
        getFooterTemplateDE in interface PdfTemplate
      • getFooterTemplate

        public String getFooterTemplate()
        Description copied from interface: PdfTemplate
        Returns the current value of the footerTemplate attribute. Current means in the currently selected domain.
        Specified by:
        getFooterTemplate in interface PdfTemplate
      • setFooterTemplateEN

        public void setFooterTemplateEN​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the footerTemplate attribute in the domain "EN"
        Specified by:
        setFooterTemplateEN in interface PdfTemplate
      • setFooterTemplateDE

        public void setFooterTemplateDE​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the footerTemplate attribute in the domain "DE"
        Specified by:
        setFooterTemplateDE in interface PdfTemplate
      • setFooterTemplate

        public void setFooterTemplate​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the footerTemplate attribute in the current domain. Current means in the currently selected domain.
        Specified by:
        setFooterTemplate in interface PdfTemplate
      • getFooterMargin

        public int getFooterMargin()
        Description copied from interface: PdfTemplate
        Returns the value of the footerMargin attribute.
        Specified by:
        getFooterMargin in interface PdfTemplate
      • setFooterMargin

        public void setFooterMargin​(int value)
        Description copied from interface: PdfTemplate
        Sets the value of the footerMargin attribute.
        Specified by:
        setFooterMargin in interface PdfTemplate
      • getContentTemplateEN

        public String getContentTemplateEN()
        Description copied from interface: PdfTemplate
        Returns the value of the contentTemplate attribute in the "EN" domain.
        Specified by:
        getContentTemplateEN in interface PdfTemplate
      • getContentTemplateDE

        public String getContentTemplateDE()
        Description copied from interface: PdfTemplate
        Returns the value of the contentTemplate attribute in the "DE" domain.
        Specified by:
        getContentTemplateDE in interface PdfTemplate
      • getContentTemplate

        public String getContentTemplate()
        Description copied from interface: PdfTemplate
        Returns the current value of the contentTemplate attribute. Current means in the currently selected domain.
        Specified by:
        getContentTemplate in interface PdfTemplate
      • setContentTemplateEN

        public void setContentTemplateEN​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the contentTemplate attribute in the domain "EN"
        Specified by:
        setContentTemplateEN in interface PdfTemplate
      • setContentTemplateDE

        public void setContentTemplateDE​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the contentTemplate attribute in the domain "DE"
        Specified by:
        setContentTemplateDE in interface PdfTemplate
      • setContentTemplate

        public void setContentTemplate​(String value)
        Description copied from interface: PdfTemplate
        Sets the value of the contentTemplate attribute in the current domain. Current means in the currently selected domain.
        Specified by:
        setContentTemplate in interface PdfTemplate
      • toString

        public String toString()
        Overrides:
        toString in class net.anotheria.anodoc.data.Document
      • getLocalizationsSize

        public int getLocalizationsSize()
        Description copied from interface: PdfTemplate
        Returns the number of elements in the "localizations" container
        Specified by:
        getLocalizationsSize in interface PdfTemplate
      • removeLocalizationsElement

        public void removeLocalizationsElement​(int index)
        Description copied from interface: PdfTemplate
        Removes the element at position index from the list.
        Specified by:
        removeLocalizationsElement in interface PdfTemplate
      • swapLocalizationsElement

        public void swapLocalizationsElement​(int index1,
                                             int index2)
        Description copied from interface: PdfTemplate
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapLocalizationsElement in interface PdfTemplate
      • compareTo

        public int compareTo​(PdfTemplate comparable)
      • compareTo

        public int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable,
                             int method)
        Specified by:
        compareTo in interface net.anotheria.util.sorter.IComparable
      • getDefinedName

        public String getDefinedName()
        Specified by:
        getDefinedName in interface net.anotheria.asg.data.DataObject
      • getDefinedParentName

        public String getDefinedParentName()
        Specified by:
        getDefinedParentName in interface net.anotheria.asg.data.DataObject
      • getFootprint

        public String getFootprint()
        Specified by:
        getFootprint in interface net.anotheria.asg.data.DataObject
      • copyLANG2LANG

        public void copyLANG2LANG​(String sourceLanguage,
                                  String destLanguage)
        Description copied from interface: PdfTemplate
        Copies all multilingual properties from source language to destination language
        Specified by:
        copyLANG2LANG in interface PdfTemplate
      • copyEN2DE

        public void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
        Specified by:
        copyEN2DE in interface PdfTemplate
      • copyDE2EN

        public void copyDE2EN()
        Copies all multilingual properties from language DE to language EN
        Specified by:
        copyDE2EN in interface PdfTemplate
      • isMultilingualDisabledInstance

        public boolean isMultilingualDisabledInstance()
        Specified by:
        isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject
      • setMultilingualDisabledInstance

        public void setMultilingualDisabledInstance​(boolean value)
        Specified by:
        setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject