Class ShapeProperties

    • Field Detail

      • 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
    • Method Detail

      • 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()