Package com.independentsoft.office.vml
Class Line
java.lang.Object
com.independentsoft.office.vml.Line
- All Implemented Interfaces:
IContentElement,IGroupElement,IVmlElement
The Class Line.
-
Constructor Summary
ConstructorsConstructorDescriptionLine()Instantiates a new line.Line(InternalXMLStreamReader reader)Instantiates a new line. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanExists in master slide.Gets the alternate text.Gets the black white mode.Gets the bottom border color.Gets the bounding polygon.Gets the chroma key.Gets the connector type.Gets the content.Gets the coordinate space origin.Gets the coordinate space size.Gets the css reference.intGets the diagram node id.intGets the diagram node layout id.intGets the diagram node recent layout id.Gets the fill color.getFrom()Gets the from.Gets the horizontal rule alignment.doubleGets the horizontal rule length percentage.Gets the hyperlink target.getID()Gets the id.Gets the left border color.Gets the normal black white mode.Gets the opacity.doubleGets the optional number id.Gets the optional string id.Gets the pure black white mode.intGets the regroup id.Gets the right border color.Gets the stroke color.Gets the stroke weight.getStyle()Gets the style.Gets the target.Gets the text inset mode.getTitle()Gets the title.getTo()Gets the to.Gets the top border color.booleanChecks for enable button press behavior.booleanChecks for enable clipping.booleanChecks for enable double click notification.booleanChecks for enable horizontal rule3 d shading.booleanChecks for enable horizontal rule standard display.booleanChecks if is allow in cell.booleanChecks if is allow overlap.booleanChecks if is clip to wrap.booleanChecks if is display embedded object as icon.booleanChecks if is embedded object.booleanisFilled()Checks if is filled.booleanChecks if is force dash.booleanChecks if is graphical bullet.booleanChecks if is hide script anchor.booleanChecks if is hide shape handle.booleanChecks if is horizontal rule.booleanChecks if is inset border from path.booleanChecks if is prefer relative resize.booleanisPrint()Checks if is prints the.booleanChecks if is stroked.voidsetAllowInCell(boolean allowInCell)Sets the allow in cell.voidsetAllowOverlap(boolean allowOverlap)Sets the allow overlap.voidsetAlternateText(String alternateText)Sets the alternate text.voidsetBlackWhiteMode(BlackWhiteMode blackWhiteMode)Sets the black white mode.voidsetBottomBorderColor(String bottomBorderColor)Sets the bottom border color.voidsetBoundingPolygon(String boundingPolygon)Sets the bounding polygon.voidsetChromaKey(String chromaKey)Sets the chroma key.voidsetClipToWrap(boolean clipToWrap)Sets the clip to wrap.voidsetConnectorType(ConnectorType connectorType)Sets the connector type.voidsetCoordinateSpaceOrigin(String coordinateSpaceOrigin)Sets the coordinate space origin.voidsetCoordinateSpaceSize(String coordinateSpaceSize)Sets the coordinate space size.voidsetCssReference(String cssReference)Sets the css reference.voidsetDiagramNodeID(int diagramNodeID)Sets the diagram node id.voidsetDiagramNodeLayoutID(int diagramNodeLayoutID)Sets the diagram node layout id.voidsetDiagramNodeRecentLayoutID(int diagramNodeRecentLayoutID)Sets the diagram node recent layout id.voidsetDisplayEmbeddedObjectAsIcon(boolean displayEmbeddedObjectAsIcon)Sets the display embedded object as icon.voidsetEmbeddedObject(boolean isEmbeddedObject)Sets the embedded object.voidsetEnableButtonPressBehavior(boolean enableButtonPressBehavior)Sets the enable button press behavior.voidsetEnableClipping(boolean enableClipping)Sets the enable clipping.voidsetEnableDoubleClickNotification(boolean enableDoubleClickNotification)Sets the enable double click notification.voidsetEnableHorizontalRule3DShading(boolean enableHorizontalRule3DShading)Sets the enable horizontal rule3 d shading.voidsetEnableHorizontalRuleStandardDisplay(boolean enableHorizontalRuleStandardDisplay)Sets the enable horizontal rule standard display.voidsetExistsInMasterSlide(boolean existsInMasterSlide)Sets the exists in master slide.voidsetFillColor(String fillColor)Sets the fill color.voidsetFilled(boolean isFilled)Sets the filled.voidsetForceDash(boolean forceDash)Sets the force dash.voidSets the from.voidsetGraphicalBullet(boolean isGraphicalBullet)Sets the graphical bullet.voidsetHideScriptAnchor(boolean hideScriptAnchor)Sets the hide script anchor.voidsetHideShapeHandle(boolean hideShapeHandle)Sets the hide shape handle.voidsetHorizontalRule(boolean isHorizontalRule)Sets the horizontal rule.voidsetHorizontalRuleAlignment(HorizontalAlignmentType horizontalRuleAlignment)Sets the horizontal rule alignment.voidsetHorizontalRuleLengthPercentage(double horizontalRuleLengthPercentage)Sets the horizontal rule length percentage.voidsetHyperlinkTarget(String hyperlinkTarget)Sets the hyperlink target.voidSets the id.voidsetInsetBorderFromPath(boolean insetBorderFromPath)Sets the inset border from path.voidsetLeftBorderColor(String leftBorderColor)Sets the left border color.voidsetNormalBlackWhiteMode(BlackWhiteMode normalBlackWhiteMode)Sets the normal black white mode.voidsetOpacity(String opacity)Sets the opacity.voidsetOptionalNumberID(double optionalNumberID)Sets the optional number id.voidsetOptionalStringID(String optionalStringID)Sets the optional string id.voidsetPreferRelativeResize(boolean preferRelativeResize)Sets the prefer relative resize.voidsetPrint(boolean print)Sets the prints the.voidsetPureBlackWhiteMode(BlackWhiteMode pureBlackWhiteMode)Sets the pure black white mode.voidsetRegroupID(int regroupID)Sets the regroup id.voidsetRightBorderColor(String rightBorderColor)Sets the right border color.voidsetStrokeColor(String strokeColor)Sets the stroke color.voidsetStroked(boolean isStroked)Sets the stroked.voidsetStrokeWeight(String strokeWeight)Sets the stroke weight.voidsetStyle(ShapeStyle style)Sets the style.voidSets the target.voidsetTextInsetMode(InsetMode textInsetMode)Sets the text inset mode.voidSets the title.voidSets the to.voidsetTopBorderColor(String topBorderColor)Sets the top border color.toString()
-
Constructor Details
-
Line
public Line()Instantiates a new line. -
Line
Instantiates a new line.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
isAllowInCell
public boolean isAllowInCell()Checks if is allow in cell.- Returns:
- true, if is allow in cell
-
setAllowInCell
public void setAllowInCell(boolean allowInCell)Sets the allow in cell.- Parameters:
allowInCell- the new allow in cell
-
isAllowOverlap
public boolean isAllowOverlap()Checks if is allow overlap.- Returns:
- true, if is allow overlap
-
setAllowOverlap
public void setAllowOverlap(boolean allowOverlap)Sets the allow overlap.- Parameters:
allowOverlap- the new allow overlap
-
getAlternateText
Gets the alternate text.- Returns:
- the alternate text
-
setAlternateText
Sets the alternate text.- Parameters:
alternateText- the new alternate text
-
getBottomBorderColor
Gets the bottom border color.- Returns:
- the bottom border color
-
setBottomBorderColor
Sets the bottom border color.- Parameters:
bottomBorderColor- the new bottom border color
-
getLeftBorderColor
Gets the left border color.- Returns:
- the left border color
-
setLeftBorderColor
Sets the left border color.- Parameters:
leftBorderColor- the new left border color
-
getRightBorderColor
Gets the right border color.- Returns:
- the right border color
-
setRightBorderColor
Sets the right border color.- Parameters:
rightBorderColor- the new right border color
-
getTopBorderColor
Gets the top border color.- Returns:
- the top border color
-
setTopBorderColor
Sets the top border color.- Parameters:
topBorderColor- the new top border color
-
isGraphicalBullet
public boolean isGraphicalBullet()Checks if is graphical bullet.- Returns:
- true, if is graphical bullet
-
setGraphicalBullet
public void setGraphicalBullet(boolean isGraphicalBullet)Sets the graphical bullet.- Parameters:
isGraphicalBullet- the new graphical bullet
-
hasEnableButtonPressBehavior
public boolean hasEnableButtonPressBehavior()Checks for enable button press behavior.- Returns:
- true, if successful
-
setEnableButtonPressBehavior
public void setEnableButtonPressBehavior(boolean enableButtonPressBehavior)Sets the enable button press behavior.- Parameters:
enableButtonPressBehavior- the new enable button press behavior
-
getBlackWhiteMode
Gets the black white mode.- Returns:
- the black white mode
-
setBlackWhiteMode
Sets the black white mode.- Parameters:
blackWhiteMode- the new black white mode
-
getNormalBlackWhiteMode
Gets the normal black white mode.- Returns:
- the normal black white mode
-
setNormalBlackWhiteMode
Sets the normal black white mode.- Parameters:
normalBlackWhiteMode- the new normal black white mode
-
getPureBlackWhiteMode
Gets the pure black white mode.- Returns:
- the pure black white mode
-
setPureBlackWhiteMode
Sets the pure black white mode.- Parameters:
pureBlackWhiteMode- the new pure black white mode
-
getChromaKey
Gets the chroma key.- Returns:
- the chroma key
-
setChromaKey
Sets the chroma key.- Parameters:
chromaKey- the new chroma key
-
getCssReference
Gets the css reference.- Returns:
- the css reference
-
setCssReference
Sets the css reference.- Parameters:
cssReference- the new css reference
-
hasEnableClipping
public boolean hasEnableClipping()Checks for enable clipping.- Returns:
- true, if successful
-
setEnableClipping
public void setEnableClipping(boolean enableClipping)Sets the enable clipping.- Parameters:
enableClipping- the new enable clipping
-
isClipToWrap
public boolean isClipToWrap()Checks if is clip to wrap.- Returns:
- true, if is clip to wrap
-
setClipToWrap
public void setClipToWrap(boolean clipToWrap)Sets the clip to wrap.- Parameters:
clipToWrap- the new clip to wrap
-
getConnectorType
Gets the connector type.- Returns:
- the connector type
-
setConnectorType
Sets the connector type.- Parameters:
connectorType- the new connector type
-
getCoordinateSpaceOrigin
Gets the coordinate space origin.- Returns:
- the coordinate space origin
-
setCoordinateSpaceOrigin
Sets the coordinate space origin.- Parameters:
coordinateSpaceOrigin- the new coordinate space origin
-
getCoordinateSpaceSize
Gets the coordinate space size.- Returns:
- the coordinate space size
-
setCoordinateSpaceSize
Sets the coordinate space size.- Parameters:
coordinateSpaceSize- the new coordinate space size
-
getDiagramNodeLayoutID
public int getDiagramNodeLayoutID()Gets the diagram node layout id.- Returns:
- the diagram node layout id
-
setDiagramNodeLayoutID
public void setDiagramNodeLayoutID(int diagramNodeLayoutID)Sets the diagram node layout id.- Parameters:
diagramNodeLayoutID- the new diagram node layout id
-
getDiagramNodeRecentLayoutID
public int getDiagramNodeRecentLayoutID()Gets the diagram node recent layout id.- Returns:
- the diagram node recent layout id
-
setDiagramNodeRecentLayoutID
public void setDiagramNodeRecentLayoutID(int diagramNodeRecentLayoutID)Sets the diagram node recent layout id.- Parameters:
diagramNodeRecentLayoutID- the new diagram node recent layout id
-
getDiagramNodeID
public int getDiagramNodeID()Gets the diagram node id.- Returns:
- the diagram node id
-
setDiagramNodeID
public void setDiagramNodeID(int diagramNodeID)Sets the diagram node id.- Parameters:
diagramNodeID- the new diagram node id
-
hasEnableDoubleClickNotification
public boolean hasEnableDoubleClickNotification()Checks for enable double click notification.- Returns:
- true, if successful
-
setEnableDoubleClickNotification
public void setEnableDoubleClickNotification(boolean enableDoubleClickNotification)Sets the enable double click notification.- Parameters:
enableDoubleClickNotification- the new enable double click notification
-
getFillColor
Gets the fill color.- Returns:
- the fill color
-
setFillColor
Sets the fill color.- Parameters:
fillColor- the new fill color
-
isFilled
public boolean isFilled()Checks if is filled.- Returns:
- true, if is filled
-
setFilled
public void setFilled(boolean isFilled)Sets the filled.- Parameters:
isFilled- the new filled
-
isForceDash
public boolean isForceDash()Checks if is force dash.- Returns:
- true, if is force dash
-
setForceDash
public void setForceDash(boolean forceDash)Sets the force dash.- Parameters:
forceDash- the new force dash
-
isHorizontalRule
public boolean isHorizontalRule()Checks if is horizontal rule.- Returns:
- true, if is horizontal rule
-
setHorizontalRule
public void setHorizontalRule(boolean isHorizontalRule)Sets the horizontal rule.- Parameters:
isHorizontalRule- the new horizontal rule
-
getHorizontalRuleAlignment
Gets the horizontal rule alignment.- Returns:
- the horizontal rule alignment
-
setHorizontalRuleAlignment
Sets the horizontal rule alignment.- Parameters:
horizontalRuleAlignment- the new horizontal rule alignment
-
getHyperlinkTarget
Gets the hyperlink target.- Returns:
- the hyperlink target
-
setHyperlinkTarget
Sets the hyperlink target.- Parameters:
hyperlinkTarget- the new hyperlink target
-
hasEnableHorizontalRule3DShading
public boolean hasEnableHorizontalRule3DShading()Checks for enable horizontal rule3 d shading.- Returns:
- true, if successful
-
setEnableHorizontalRule3DShading
public void setEnableHorizontalRule3DShading(boolean enableHorizontalRule3DShading)Sets the enable horizontal rule3 d shading.- Parameters:
enableHorizontalRule3DShading- the new enable horizontal rule3 d shading
-
getHorizontalRuleLengthPercentage
public double getHorizontalRuleLengthPercentage()Gets the horizontal rule length percentage.- Returns:
- the horizontal rule length percentage
-
setHorizontalRuleLengthPercentage
public void setHorizontalRuleLengthPercentage(double horizontalRuleLengthPercentage)Sets the horizontal rule length percentage.- Parameters:
horizontalRuleLengthPercentage- the new horizontal rule length percentage
-
hasEnableHorizontalRuleStandardDisplay
public boolean hasEnableHorizontalRuleStandardDisplay()Checks for enable horizontal rule standard display.- Returns:
- true, if successful
-
setEnableHorizontalRuleStandardDisplay
public void setEnableHorizontalRuleStandardDisplay(boolean enableHorizontalRuleStandardDisplay)Sets the enable horizontal rule standard display.- Parameters:
enableHorizontalRuleStandardDisplay- the new enable horizontal rule standard display
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getTextInsetMode
Gets the text inset mode.- Returns:
- the text inset mode
-
setTextInsetMode
Sets the text inset mode.- Parameters:
textInsetMode- the new text inset mode
-
isInsetBorderFromPath
public boolean isInsetBorderFromPath()Checks if is inset border from path.- Returns:
- true, if is inset border from path
-
setInsetBorderFromPath
public void setInsetBorderFromPath(boolean insetBorderFromPath)Sets the inset border from path.- Parameters:
insetBorderFromPath- the new inset border from path
-
isEmbeddedObject
public boolean isEmbeddedObject()Checks if is embedded object.- Returns:
- true, if is embedded object
-
setEmbeddedObject
public void setEmbeddedObject(boolean isEmbeddedObject)Sets the embedded object.- Parameters:
isEmbeddedObject- the new embedded object
-
isDisplayEmbeddedObjectAsIcon
public boolean isDisplayEmbeddedObjectAsIcon()Checks if is display embedded object as icon.- Returns:
- true, if is display embedded object as icon
-
setDisplayEmbeddedObjectAsIcon
public void setDisplayEmbeddedObjectAsIcon(boolean displayEmbeddedObjectAsIcon)Sets the display embedded object as icon.- Parameters:
displayEmbeddedObjectAsIcon- the new display embedded object as icon
-
isHideShapeHandle
public boolean isHideShapeHandle()Checks if is hide shape handle.- Returns:
- true, if is hide shape handle
-
setHideShapeHandle
public void setHideShapeHandle(boolean hideShapeHandle)Sets the hide shape handle.- Parameters:
hideShapeHandle- the new hide shape handle
-
getOpacity
Gets the opacity.- Returns:
- the opacity
-
setOpacity
Sets the opacity.- Parameters:
opacity- the new opacity
-
isPreferRelativeResize
public boolean isPreferRelativeResize()Checks if is prefer relative resize.- Returns:
- true, if is prefer relative resize
-
setPreferRelativeResize
public void setPreferRelativeResize(boolean preferRelativeResize)Sets the prefer relative resize.- Parameters:
preferRelativeResize- the new prefer relative resize
-
isPrint
public boolean isPrint()Checks if is prints the.- Returns:
- true, if is prints the
-
setPrint
public void setPrint(boolean print)Sets the prints the.- Parameters:
print- the new prints the
-
getRegroupID
public int getRegroupID()Gets the regroup id.- Returns:
- the regroup id
-
setRegroupID
public void setRegroupID(int regroupID)Sets the regroup id.- Parameters:
regroupID- the new regroup id
-
getOptionalStringID
Gets the optional string id.- Returns:
- the optional string id
-
setOptionalStringID
Sets the optional string id.- Parameters:
optionalStringID- the new optional string id
-
getOptionalNumberID
public double getOptionalNumberID()Gets the optional number id.- Returns:
- the optional number id
-
setOptionalNumberID
public void setOptionalNumberID(double optionalNumberID)Sets the optional number id.- Parameters:
optionalNumberID- the new optional number id
-
getStrokeColor
Gets the stroke color.- Returns:
- the stroke color
-
setStrokeColor
Sets the stroke color.- Parameters:
strokeColor- the new stroke color
-
isStroked
public boolean isStroked()Checks if is stroked.- Returns:
- true, if is stroked
-
setStroked
public void setStroked(boolean isStroked)Sets the stroked.- Parameters:
isStroked- the new stroked
-
getStrokeWeight
Gets the stroke weight.- Returns:
- the stroke weight
-
setStrokeWeight
Sets the stroke weight.- Parameters:
strokeWeight- the new stroke weight
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
getTarget
Gets the target.- Returns:
- the target
-
setTarget
Sets the target.- Parameters:
target- the new target
-
getTitle
Gets the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
title- the new title
-
existsInMasterSlide
public boolean existsInMasterSlide()Exists in master slide.- Returns:
- true, if successful
-
setExistsInMasterSlide
public void setExistsInMasterSlide(boolean existsInMasterSlide)Sets the exists in master slide.- Parameters:
existsInMasterSlide- the new exists in master slide
-
isHideScriptAnchor
public boolean isHideScriptAnchor()Checks if is hide script anchor.- Returns:
- true, if is hide script anchor
-
setHideScriptAnchor
public void setHideScriptAnchor(boolean hideScriptAnchor)Sets the hide script anchor.- Parameters:
hideScriptAnchor- the new hide script anchor
-
getBoundingPolygon
Gets the bounding polygon.- Returns:
- the bounding polygon
-
setBoundingPolygon
Sets the bounding polygon.- Parameters:
boundingPolygon- the new bounding polygon
-
getFrom
Gets the from.- Returns:
- the from
-
setFrom
Sets the from.- Parameters:
from- the new from
-
getTo
Gets the to.- Returns:
- the to
-
setTo
Sets the to.- Parameters:
to- the new to
-
getContent
Gets the content.- Returns:
- the content
-