Class ShapeProperties

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<org.odftoolkit.odfdom.changes.CachedOperation>
org.odftoolkit.odfdom.changes.ShapeProperties
All Implemented Interfaces:
Serializable, Cloneable, Iterable<org.odftoolkit.odfdom.changes.CachedOperation>, Collection<org.odftoolkit.odfdom.changes.CachedOperation>, List<org.odftoolkit.odfdom.changes.CachedOperation>, RandomAccess

public class ShapeProperties extends ArrayList<org.odftoolkit.odfdom.changes.CachedOperation>
The status of frames
See Also:
  • Field Details

    • mShapePosition

      public List<Integer> mShapePosition
    • mShapeHardFormatations

      public Map<String,Object> mShapeHardFormatations
    • mVertOffsetMin

      public Integer mVertOffsetMin
    • mHoriOffsetMin

      public Integer mHoriOffsetMin
    • mVertOffsetMax

      public Integer mVertOffsetMax
    • mHoriOffsetMax

      public Integer mHoriOffsetMax
    • mOwnNode

      public Node mOwnNode
    • mDescription

      public String mDescription
    • mContext

      public String mContext
  • Constructor Details

  • Method Details

    • getDrawFrameElement

      public DrawFrameElement getDrawFrameElement()
    • createShapeOperation

      public void createShapeOperation(ChangesFileSaxHandler saxHandler, Stack<org.odftoolkit.odfdom.changes.CachedComponent> mComponentStack, String desc, ShapeType shapeType, String context)
      If the frame has one or more image elements this method dispatches an operation for the first image
      Parameters:
      desc - description of the image
    • setDrawFrameElement

      public void setDrawFrameElement(DrawFrameElement drawFrameElement)
    • getShapeHardFormatting

      public Map<String,Object> getShapeHardFormatting()
    • hasImageSibling

      public boolean hasImageSibling()
    • declareImage

      public void declareImage()
    • setGroupShape

      public void setGroupShape()
    • isGroupShape

      public boolean isGroupShape()
    • addMemberPosSize

      public void addMemberPosSize(Object horiOffset, Object vertOffset, Object width, Object height)
    • incrementChildNumber

      public int incrementChildNumber()
      In a frame there might be multiple objects, but only the first applicable is shown. For instance, there are replacement images after an OLE object *
    • decrementChildNumber

      public int decrementChildNumber()
    • getChildNumber

      public int getChildNumber()