Class ElementImpl
- java.lang.Object
-
- com.priint.pubserver.metadata.xml.base.DocumentElementImpl
-
- com.priint.pubserver.metadata.xml.element.ElementImpl
-
- All Implemented Interfaces:
DocumentElement,Element,java.io.Serializable
public class ElementImpl extends DocumentElementImpl implements Element
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AreagetArea()Gets the area of this element.BBoxgetBbox()Gets the bbox of this element.booleangetChainHasOverset()Gets, whether there is overset in any of the elements in chain.intgetChainNext()Gets the next element in the chainintgetChainParentId()Gets the chain parent id.intgetChainPrevious()Gets the previous element in the chainintgetColumns()Gets the number of columns of this element.ExtgetExt()Gets the external reference of this element.FittingOptionsgetFittingOptions()Gets the fitting options.doublegetGutter()Gets the gutter of this element.intgetIdGroupId()Gets the InDesign group Id of this element.java.util.List<IDLabel>getIdlabels()Gets the idlabels.IDTaggetIdtag()Gets the idtag.ImageContentgetImagecontent()Gets the imagecontent.doublegetInsetBottom()Gets the bottom inset of this element.doublegetInsetLeft()Gets the left inset of this element.doublegetInsetRight()Gets the right inset of this element.doublegetInsetTop()Gets the top inset of this element.intgetInteractive()Gets the interactive.intgetLocked()Gets the locked.intgetObjectstyle()Gets the objectstyle.OrigingetOrigin()Gets origin of this element.java.lang.StringgetOriginInMaster()Gets the origin in master.intgetOriginUid()Gets the origin uid.ParentsgetParents()Gets parents of this element.ElementPropertiesgetProperties()Gets the properties.RecordgetRecord()Gets the record linked to this element.intgetSequence()Gets the sequence.TextContentgetTextcontent()Gets the textcontent.intgetTextmodel()Gets the textmodel.ElementTypegetType()Gets the type of this element.java.lang.StringgetUitype()Gets the uitype.intgetVerticalJustification()Gets the vertical justification.booleanisVisible()Checks if is visible.voidsetArea(Area area)Sets the area of this element.voidsetBbox(BBox bbox)Sets the bbox of this element.voidsetChainHasOverset(boolean chainHasOverset)Sets, whether there is overset in any of the elements in chain.voidsetChainNext(int chainNext)Sets the next element in chain.voidsetChainParentId(int chainParentId)Sets the chain parent id.voidsetChainPrevious(int chainPrevious)Sets the previous element in chain.voidsetColumns(int columns)Sets the number of columns of this element.voidsetExt(Ext ext)Sets the external reference of this element.voidsetFittingOptions(FittingOptions fittingOptions)Sets the fitting options.voidsetGutter(double gutter)Sets the gutter of this element.voidsetIdGroupId(int idGroupId)Sets the InDesign group Id of this element.voidsetIdlabels(java.util.List<IDLabel> idlabels)Sets the idlabels.voidsetIdtag(IDTag idtag)Sets the idtag.voidsetImagecontent(ImageContent imagecontent)Sets the imagecontent.voidsetInsetBottom(double insetBottom)Sets the bottom inset of this element.voidsetInsetLeft(double insetLeft)Sets the left inset of this element.voidsetInsetRight(double insetRight)Sets the right inset of this element.voidsetInsetTop(double insetTop)Sets the top inset of this element.voidsetInteractive(int interactive)Sets the interactive.voidsetLocked(int locked)Sets the locked.voidsetObjectstyle(int objectstyle)Sets the objectstyle.voidsetOrigin(Origin origin)Sets the origin of this element<.voidsetOriginInMaster(java.lang.String originInMaster)Sets the origin in master.voidsetOriginUid(int originUid)Sets the origin uid.voidsetParents(Parents parents)Sets parents of this element.voidsetProperties(ElementProperties properties)Sets the properties.voidsetRecord(Record record)Sets the record linked to this element.voidsetSequence(int sequence)Sets the sequence.voidsetTextcontent(TextContent textcontent)Sets the textcontent.voidsetTextmodel(int textmodel)Sets the textmodel.voidsetType(ElementType type)Sets the type of this element.voidsetUitype(java.lang.String uitype)Sets the uitype.voidsetVerticalJustification(int verticalJustification)Sets the vertical justification.voidsetVisible(boolean visible)Sets the visible.-
Methods inherited from class com.priint.pubserver.metadata.xml.base.DocumentElementImpl
getId, getSizeAbsolute, getSizeRelative, getVisibleSizeAbsolute, getVisibleSizeRelative, setId, setSizeAbsolute, setSizeRelative, setVisibleSizeAbsolute, setVisibleSizeRelative
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.priint.pubserver.metadata.base.DocumentElement
getId, getSizeAbsolute, getSizeRelative, getVisibleSizeAbsolute, getVisibleSizeRelative, setId, setSizeAbsolute, setSizeRelative, setVisibleSizeAbsolute, setVisibleSizeRelative
-
-
-
-
Method Detail
-
getExt
public Ext getExt()
Description copied from interface:ElementGets the external reference of this element.
Gets the external reference of this element. See the
Extinterface for further information.
-
setExt
public void setExt(Ext ext)
Description copied from interface:ElementSets the external reference of this element.
Sets the external reference of this element. See
Element.getExt()for further information.
-
getRecord
public Record getRecord()
Description copied from interface:ElementGets the record linked to this element.
Gets the record linked to this element. See the
Recordinterface for further information.
-
setRecord
public void setRecord(Record record)
Description copied from interface:ElementSets the record linked to this element.
Sets the record linked to this element. See
Element.getRecord()for further information.
-
getParents
public Parents getParents()
Description copied from interface:ElementGets parents of this element.
Gets parents of this element. See the
Parentsinterface for further information.- Specified by:
getParentsin interfaceElement- Returns:
- parents of this element
-
setParents
public void setParents(Parents parents)
Description copied from interface:ElementSets parents of this element.
Sets parents this element. See
Element.getParents()for further information.- Specified by:
setParentsin interfaceElement- Parameters:
parents- of this element
-
getIdGroupId
public int getIdGroupId()
Description copied from interface:ElementGets the InDesign group Id of this element.
Gets the InDesign group Id of this element (rather than the CometGroup Id).
The InDesign group Id is a pure layout element with no further semantic meaning, applicable in InDesign documents only and not required for any element.- Specified by:
getIdGroupIdin interfaceElement- Returns:
- InDesign group Id of this element, if applicable
-
setIdGroupId
public void setIdGroupId(int idGroupId)
Description copied from interface:ElementSets the InDesign group Id of this element.
Sets the InDesign group Id of this element, see
Element.getIdGroupId()for further information.- Specified by:
setIdGroupIdin interfaceElement- Parameters:
idGroupId- InDesign group Id of this element, if applicable
-
getType
public ElementType getType()
Description copied from interface:ElementGets the type of this element.
Gets the type of this element, i.e. graphic frame, text frame or image frame.
-
setType
public void setType(ElementType type)
Description copied from interface:ElementSets the type of this element.
Sets the type of this element, see
Element.getType()for further information.
-
getInsetLeft
public double getInsetLeft()
Description copied from interface:ElementGets the left inset of this element.
Gets the left inset (aka padding) of this element.
- Specified by:
getInsetLeftin interfaceElement- Returns:
- left inset of this element
-
setInsetLeft
public void setInsetLeft(double insetLeft)
Description copied from interface:ElementSets the left inset of this element.
Sets the left inset (aka padding) of this element.
- Specified by:
setInsetLeftin interfaceElement- Parameters:
insetLeft- left inset of this element
-
getInsetRight
public double getInsetRight()
Description copied from interface:ElementGets the right inset of this element.
Gets the right inset (aka padding) of this element.
- Specified by:
getInsetRightin interfaceElement- Returns:
- right inset of this element
-
setInsetRight
public void setInsetRight(double insetRight)
Description copied from interface:ElementSets the right inset of this element.
Sets the right inset (aka padding) of this element.
- Specified by:
setInsetRightin interfaceElement- Parameters:
insetRight- right inset of this element
-
getInsetTop
public double getInsetTop()
Description copied from interface:ElementGets the top inset of this element.
Gets the top inset (aka padding) of this element.
- Specified by:
getInsetTopin interfaceElement- Returns:
- top inset of this element
-
setInsetTop
public void setInsetTop(double insetTop)
Description copied from interface:ElementSets the top inset of this element.
Sets the top inset (aka padding) of this element.
- Specified by:
setInsetTopin interfaceElement- Parameters:
insetTop- top inset of this element
-
getInsetBottom
public double getInsetBottom()
Description copied from interface:ElementGets the bottom inset of this element.
Gets the bottom inset (aka padding) of this element.
- Specified by:
getInsetBottomin interfaceElement- Returns:
- bottom inset of this element
-
setInsetBottom
public void setInsetBottom(double insetBottom)
Description copied from interface:ElementSets the bottom inset of this element.
Sets the bottom inset (aka padding) of this element.
- Specified by:
setInsetBottomin interfaceElement- Parameters:
insetBottom- the new inset bottom
-
getColumns
public int getColumns()
Description copied from interface:ElementGets the number of columns of this element.
Gets the number of text columns of this element.
- Specified by:
getColumnsin interfaceElement- Returns:
- number of columns
-
setColumns
public void setColumns(int columns)
Description copied from interface:ElementSets the number of columns of this element.
Sets the number of text columns of this element.
- Specified by:
setColumnsin interfaceElement- Parameters:
columns- number of columns of this element
-
getGutter
public double getGutter()
Description copied from interface:ElementGets the gutter of this element.
Gets the gutter, i.e. padding between columns, of this element.
-
setGutter
public void setGutter(double gutter)
Description copied from interface:ElementSets the gutter of this element.
Sets the gutter, i.e. padding between columns, of this element.
-
getOrigin
public Origin getOrigin()
Description copied from interface:ElementGets origin of this element.
Gets origin of this element, i.e masterpage or regular page.
-
setOrigin
public void setOrigin(Origin origin)
Description copied from interface:ElementSets the origin of this element<.
Sets the origin of this element.
-
getBbox
public BBox getBbox()
Description copied from interface:ElementGets the bbox of this element.
Gets the bbox of this element, see the
BBoxinterface for further information
-
setBbox
public void setBbox(BBox bbox)
Description copied from interface:ElementSets the bbox of this element.
Sets the bbox of this element, see the
BBoxinterface for further information
-
getArea
public Area getArea()
Description copied from interface:ElementGets the area of this element.
Gets the area of this element, see the
Areainterface for further information
-
setArea
public void setArea(Area area)
Description copied from interface:ElementSets the area of this element.
Sets the area of this element, see the
Areainterface for further information
-
getTextcontent
public TextContent getTextcontent()
Description copied from interface:ElementGets the textcontent.- Specified by:
getTextcontentin interfaceElement- Returns:
- the textcontent
-
setTextcontent
public void setTextcontent(TextContent textcontent)
Description copied from interface:ElementSets the textcontent.- Specified by:
setTextcontentin interfaceElement- Parameters:
textcontent- the new textcontent
-
getIdlabels
public java.util.List<IDLabel> getIdlabels()
Description copied from interface:ElementGets the idlabels.- Specified by:
getIdlabelsin interfaceElement- Returns:
- the idlabels
-
setIdlabels
public void setIdlabels(java.util.List<IDLabel> idlabels)
Description copied from interface:ElementSets the idlabels.- Specified by:
setIdlabelsin interfaceElement- Parameters:
idlabels- the new idlabels
-
setIdtag
public void setIdtag(IDTag idtag)
Description copied from interface:ElementSets the idtag.
-
getChainHasOverset
public boolean getChainHasOverset()
Description copied from interface:ElementGets, whether there is overset in any of the elements in chain.
- Specified by:
getChainHasOversetin interfaceElement- Returns:
- true, if there is overset, false otherwise
-
setChainHasOverset
public void setChainHasOverset(boolean chainHasOverset)
Description copied from interface:ElementSets, whether there is overset in any of the elements in chain.
- Specified by:
setChainHasOversetin interfaceElement- Parameters:
chainHasOverset- true, if there is overset, false otherwise.
-
getChainPrevious
public int getChainPrevious()
Description copied from interface:ElementGets the previous element in the chain
.- Specified by:
getChainPreviousin interfaceElement- Returns:
- ID of previous element in chain, 0, if no previous element exists
-
setChainPrevious
public void setChainPrevious(int chainPrevious)
Description copied from interface:ElementSets the previous element in chain.
- Specified by:
setChainPreviousin interfaceElement- Parameters:
chainPrevious- previous element in chain, 0, if no previous element exists
-
getChainNext
public int getChainNext()
Description copied from interface:ElementGets the next element in the chain
.- Specified by:
getChainNextin interfaceElement- Returns:
- ID of next element in chain, 0, if no next element exists
-
setChainNext
public void setChainNext(int chainNext)
Description copied from interface:ElementSets the next element in chain.
- Specified by:
setChainNextin interfaceElement- Parameters:
chainNext- next element in chain, 0, if no next element exists
-
getImagecontent
public ImageContent getImagecontent()
Description copied from interface:ElementGets the imagecontent.- Specified by:
getImagecontentin interfaceElement- Returns:
- the imagecontent
-
setImagecontent
public void setImagecontent(ImageContent imagecontent)
Description copied from interface:ElementSets the imagecontent.- Specified by:
setImagecontentin interfaceElement- Parameters:
imagecontent- the imagecontent to set
-
getObjectstyle
public int getObjectstyle()
Description copied from interface:ElementGets the objectstyle.- Specified by:
getObjectstylein interfaceElement- Returns:
- the objectstyle
-
setObjectstyle
public void setObjectstyle(int objectstyle)
Description copied from interface:ElementSets the objectstyle.- Specified by:
setObjectstylein interfaceElement- Parameters:
objectstyle- the objectstyle to set
-
getUitype
public java.lang.String getUitype()
Description copied from interface:ElementGets the uitype.
-
setUitype
public void setUitype(java.lang.String uitype)
Description copied from interface:ElementSets the uitype.
-
getInteractive
public int getInteractive()
Description copied from interface:ElementGets the interactive.- Specified by:
getInteractivein interfaceElement- Returns:
- the interactive
-
setInteractive
public void setInteractive(int interactive)
Description copied from interface:ElementSets the interactive.- Specified by:
setInteractivein interfaceElement- Parameters:
interactive- the interactive to set
-
getChainParentId
public int getChainParentId()
Description copied from interface:ElementGets the chain parent id.- Specified by:
getChainParentIdin interfaceElement- Returns:
- the chainParentId
-
setChainParentId
public void setChainParentId(int chainParentId)
Description copied from interface:ElementSets the chain parent id.- Specified by:
setChainParentIdin interfaceElement- Parameters:
chainParentId- the chainParentId to set
-
getSequence
public int getSequence()
Description copied from interface:ElementGets the sequence.- Specified by:
getSequencein interfaceElement- Returns:
- the sequence
-
setSequence
public void setSequence(int sequence)
Description copied from interface:ElementSets the sequence.- Specified by:
setSequencein interfaceElement- Parameters:
sequence- the sequence to set
-
getVerticalJustification
public int getVerticalJustification()
Description copied from interface:ElementGets the vertical justification.- Specified by:
getVerticalJustificationin interfaceElement- Returns:
- the verticalJustification
-
setVerticalJustification
public void setVerticalJustification(int verticalJustification)
Description copied from interface:ElementSets the vertical justification.- Specified by:
setVerticalJustificationin interfaceElement- Parameters:
verticalJustification- the verticalJustification to set
-
getTextmodel
public int getTextmodel()
Description copied from interface:ElementGets the textmodel.- Specified by:
getTextmodelin interfaceElement- Returns:
- the textmodel
-
setTextmodel
public void setTextmodel(int textmodel)
Description copied from interface:ElementSets the textmodel.- Specified by:
setTextmodelin interfaceElement- Parameters:
textmodel- the textmodel to set
-
isVisible
public boolean isVisible()
Description copied from interface:ElementChecks if is visible.
-
setVisible
public void setVisible(boolean visible)
Description copied from interface:ElementSets the visible.- Specified by:
setVisiblein interfaceElement- Parameters:
visible- the visible to set
-
getLocked
public int getLocked()
Description copied from interface:ElementGets the locked.
-
setLocked
public void setLocked(int locked)
Description copied from interface:ElementSets the locked.
-
getOriginUid
public int getOriginUid()
Description copied from interface:ElementGets the origin uid.- Specified by:
getOriginUidin interfaceElement- Returns:
- the originUid
-
setOriginUid
public void setOriginUid(int originUid)
Description copied from interface:ElementSets the origin uid.- Specified by:
setOriginUidin interfaceElement- Parameters:
originUid- the originUid to set
-
getOriginInMaster
public java.lang.String getOriginInMaster()
Description copied from interface:ElementGets the origin in master.- Specified by:
getOriginInMasterin interfaceElement- Returns:
- the originInMaster
-
setOriginInMaster
public void setOriginInMaster(java.lang.String originInMaster)
Description copied from interface:ElementSets the origin in master.- Specified by:
setOriginInMasterin interfaceElement- Parameters:
originInMaster- the originInMaster to set
-
getProperties
public ElementProperties getProperties()
Description copied from interface:ElementGets the properties.- Specified by:
getPropertiesin interfaceElement- Returns:
- the properties
-
setProperties
public void setProperties(ElementProperties properties)
Description copied from interface:ElementSets the properties.- Specified by:
setPropertiesin interfaceElement- Parameters:
properties- the properties to set
-
getFittingOptions
public FittingOptions getFittingOptions()
Description copied from interface:ElementGets the fitting options.- Specified by:
getFittingOptionsin interfaceElement- Returns:
- the fittingOptions
-
setFittingOptions
public void setFittingOptions(FittingOptions fittingOptions)
Description copied from interface:ElementSets the fitting options.- Specified by:
setFittingOptionsin interfaceElement- Parameters:
fittingOptions- the fittingOptions to set
-
-