Class Inline
java.lang.Object
com.independentsoft.office.word.drawing.Inline
- All Implemented Interfaces:
IContentElement
The Class Inline.
-
Constructor Summary
ConstructorsConstructorDescriptionInline()Instantiates a new inline.Inline(GraphicObject graphicObject)Instantiates a new inline.Inline(InternalXMLStreamReader reader)Instantiates a new inline. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the description.Gets the distance between text and bottom edge.Gets the distance between text and left edge.Gets the distance between text and right edge.Gets the distance between text and top edge.Gets the effect extent.Gets the graphic object.getID()Gets the id.Gets the locking.getName()Gets the name.getSize()Gets the size.booleanisHidden()Checks if is hidden.voidsetDescription(String description)Sets the description.voidsetDistanceBetweenTextAndBottomEdge(Unit distanceBetweenTextAndBottomEdge)Sets the distance between text and bottom edge.voidsetDistanceBetweenTextAndLeftEdge(Unit distanceBetweenTextAndLeftEdge)Sets the distance between text and left edge.voidsetDistanceBetweenTextAndRightEdge(Unit distanceBetweenTextAndRightEdge)Sets the distance between text and right edge.voidsetDistanceBetweenTextAndTopEdge(Unit distanceBetweenTextAndTopEdge)Sets the distance between text and top edge.voidsetEffectExtent(EffectExtent effectExtent)Sets the effect extent.voidsetGraphicObject(GraphicObject graphicObject)Sets the graphic object.voidsetHidden(boolean isHidden)Sets the hidden.voidSets the id.voidsetLocking(GraphicFrameLocking locking)Sets the locking.voidSets the name.voidsetSize(DrawingObjectSize size)Sets the size.toString()
-
Constructor Details
-
Inline
public Inline()Instantiates a new inline. -
Inline
Instantiates a new inline.- Parameters:
graphicObject- the graphic object
-
Inline
Instantiates a new inline.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject
-
toString
-
getDistanceBetweenTextAndBottomEdge
Gets the distance between text and bottom edge.- Returns:
- the distance between text and bottom edge
-
setDistanceBetweenTextAndBottomEdge
Sets the distance between text and bottom edge.- Parameters:
distanceBetweenTextAndBottomEdge- the new distance between text and bottom edge
-
getDistanceBetweenTextAndLeftEdge
Gets the distance between text and left edge.- Returns:
- the distance between text and left edge
-
setDistanceBetweenTextAndLeftEdge
Sets the distance between text and left edge.- Parameters:
distanceBetweenTextAndLeftEdge- the new distance between text and left edge
-
getDistanceBetweenTextAndRightEdge
Gets the distance between text and right edge.- Returns:
- the distance between text and right edge
-
setDistanceBetweenTextAndRightEdge
Sets the distance between text and right edge.- Parameters:
distanceBetweenTextAndRightEdge- the new distance between text and right edge
-
getDistanceBetweenTextAndTopEdge
Gets the distance between text and top edge.- Returns:
- the distance between text and top edge
-
setDistanceBetweenTextAndTopEdge
Sets the distance between text and top edge.- Parameters:
distanceBetweenTextAndTopEdge- the new distance between text and top edge
-
getSize
Gets the size.- Returns:
- the size
-
setSize
Sets the size.- Parameters:
size- the new size
-
getEffectExtent
Gets the effect extent.- Returns:
- the effect extent
-
setEffectExtent
Sets the effect extent.- Parameters:
effectExtent- the new effect extent
-
getGraphicObject
Gets the graphic object.- Returns:
- the graphic object
-
setGraphicObject
Sets the graphic object.- Parameters:
graphicObject- the new graphic object
-
getLocking
Gets the locking.- Returns:
- the locking
-
setLocking
Sets the locking.- Parameters:
locking- the new locking
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the new description
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-