Package org.odftoolkit.odfdom.changes
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description String
mContext
String
mDescription
Integer
mHoriOffsetMax
Integer
mHoriOffsetMin
Node
mOwnNode
Map<String,Object>
mShapeHardFormatations
List<Integer>
mShapePosition
Integer
mVertOffsetMax
Integer
mVertOffsetMin
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMemberPosSize(Object horiOffset, Object vertOffset, Object width, Object height)
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 imagevoid
declareImage()
int
decrementChildNumber()
int
getChildNumber()
DrawFrameElement
getDrawFrameElement()
Map<String,Object>
getShapeHardFormatting()
boolean
hasImageSibling()
int
incrementChildNumber()
In a frame there might be multiple objects, but only the first applicable is shown.boolean
isGroupShape()
void
setDrawFrameElement(DrawFrameElement drawFrameElement)
void
setGroupShape()
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
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)
-
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()
-
-