Class ElementImpl
- All Implemented Interfaces:
DocumentElement,Element,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArea()Gets the area of this element.getBbox()Gets the bbox of this element.booleanGets, whether there is overset in any of the elements in chain.intGets the next element in the chainintGets the chain parent id.intGets the previous element in the chainintGets the number of columns of this element.getExt()Gets the external reference of this element.Gets the fitting options.doubleGets the gutter of this element.intGets the InDesign group Id of this element.Gets the idlabels.getIdtag()Gets the idtag.Gets the imagecontent.doubleGets the bottom inset of this element.doubleGets the left inset of this element.doubleGets the right inset of this element.doubleGets the top inset of this element.intGets the interactive.intGets the locked.intGets the objectstyle.Gets origin of this element.Gets the origin in master.intGets the origin uid.Gets parents of this element.Gets the properties.Gets the record linked to this element.intGets the sequence.Gets the textcontent.intGets the textmodel.getType()Gets the type of this element.Gets the uitype.intGets the vertical justification.booleanChecks if is visible.voidSets the area of this element.voidSets 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.voidSets 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(List<IDLabel> idlabels) Sets the idlabels.voidSets 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.voidSets the origin of this element<.voidsetOriginInMaster(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.voidSets 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.voidSets 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, setVisibleSizeRelativeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.priint.pubserver.metadata.base.DocumentElement
getId, getSizeAbsolute, getSizeRelative, getVisibleSizeAbsolute, getVisibleSizeRelative, setId, setSizeAbsolute, setSizeRelative, setVisibleSizeAbsolute, setVisibleSizeRelative
-
Constructor Details
-
ElementImpl
public ElementImpl()
-
-
Method Details
-
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
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
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
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
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
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
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
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
Description copied from interface:ElementGets origin of this element.
Gets origin of this element, i.e masterpage or regular page.
-
setOrigin
Description copied from interface:ElementSets the origin of this element<.
Sets the origin of this element.
-
getBbox
Description copied from interface:ElementGets the bbox of this element.
Gets the bbox of this element, see the
BBoxinterface for further information -
setBbox
Description copied from interface:ElementSets the bbox of this element.
Sets the bbox of this element, see the
BBoxinterface for further information -
getArea
Description copied from interface:ElementGets the area of this element.
Gets the area of this element, see the
Areainterface for further information -
setArea
Description copied from interface:ElementSets the area of this element.
Sets the area of this element, see the
Areainterface for further information -
getTextcontent
Description copied from interface:ElementGets the textcontent.- Specified by:
getTextcontentin interfaceElement- Returns:
- the textcontent
-
setTextcontent
Description copied from interface:ElementSets the textcontent.- Specified by:
setTextcontentin interfaceElement- Parameters:
textcontent- the new textcontent
-
getIdlabels
Description copied from interface:ElementGets the idlabels.- Specified by:
getIdlabelsin interfaceElement- Returns:
- the idlabels
-
setIdlabels
Description copied from interface:ElementSets the idlabels.- Specified by:
setIdlabelsin interfaceElement- Parameters:
idlabels- the new idlabels
-
getIdtag
Description copied from interface:ElementGets the idtag. -
setIdtag
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
Description copied from interface:ElementGets the imagecontent.- Specified by:
getImagecontentin interfaceElement- Returns:
- the imagecontent
-
setImagecontent
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
Description copied from interface:ElementGets the uitype. -
setUitype
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
Description copied from interface:ElementGets the origin in master.- Specified by:
getOriginInMasterin interfaceElement- Returns:
- the originInMaster
-
setOriginInMaster
Description copied from interface:ElementSets the origin in master.- Specified by:
setOriginInMasterin interfaceElement- Parameters:
originInMaster- the originInMaster to set
-
getProperties
Description copied from interface:ElementGets the properties.- Specified by:
getPropertiesin interfaceElement- Returns:
- the properties
-
setProperties
Description copied from interface:ElementSets the properties.- Specified by:
setPropertiesin interfaceElement- Parameters:
properties- the properties to set
-
getFittingOptions
Description copied from interface:ElementGets the fitting options.- Specified by:
getFittingOptionsin interfaceElement- Returns:
- the fittingOptions
-
setFittingOptions
Description copied from interface:ElementSets the fitting options.- Specified by:
setFittingOptionsin interfaceElement- Parameters:
fittingOptions- the fittingOptions to set
-