Class EndAnchorPoint
java.lang.Object
com.independentsoft.office.spreadsheet.drawing.EndAnchorPoint
The Class EndAnchorPoint.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new end anchor point.EndAnchorPoint(InternalXMLStreamReader reader, String startNamespace)Instantiates a new end anchor point. -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the column.Gets the column offset.intgetRow()Gets the row.Gets the row offset.voidsetColumn(int column)Sets the column.voidsetColumnOffset(Unit columnOffset)Sets the column offset.voidsetRow(int row)Sets the row.voidsetRowOffset(Unit rowOffset)Sets the row offset.Returns a string representation of this anchor point for a form control's object anchor, which emits a main-namespace to wrapper with a self-contained xdr declaration for the col/row children.toString()
-
Constructor Details
-
EndAnchorPoint
public EndAnchorPoint()Instantiates a new end anchor point. -
EndAnchorPoint
public EndAnchorPoint(InternalXMLStreamReader reader, String startNamespace) throws XMLStreamExceptionInstantiates a new end anchor point. A form control's object anchor (controlPr/anchor) wraps the same xdr col/row children in a main-namespace to element, so the start namespace varies.- Parameters:
reader- the readerstartNamespace- the start namespace- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
toMainNamespaceString
Returns a string representation of this anchor point for a form control's object anchor, which emits a main-namespace to wrapper with a self-contained xdr declaration for the col/row children.- Returns:
- the string
-
getColumn
public int getColumn()Gets the column.- Returns:
- the column
-
setColumn
public void setColumn(int column)Sets the column.- Parameters:
column- the new column
-
getRow
public int getRow()Gets the row.- Returns:
- the row
-
setRow
public void setRow(int row)Sets the row.- Parameters:
row- the new row
-
getColumnOffset
Gets the column offset.- Returns:
- the column offset
-
setColumnOffset
Sets the column offset.- Parameters:
columnOffset- the new column offset
-
getRowOffset
Gets the row offset.- Returns:
- the row offset
-
setRowOffset
Sets the row offset.- Parameters:
rowOffset- the new row offset
-