public interface ClientAnchor
ClientAnchor.AnchorType:
 ClientAnchor.AnchorType.DONT_MOVE_AND_RESIZE == absolute top-left coordinates and width/height, no cell references
 ClientAnchor.AnchorType.MOVE_DONT_RESIZE == fixed top-left cell reference, absolute width/height
 ClientAnchor.AnchorType.MOVE_AND_RESIZE == fixed top-left and bottom-right cell references, dynamic width/height
 | Modifier and Type | Interface and Description | 
|---|---|
| static class  | ClientAnchor.AnchorType | 
| Modifier and Type | Method and Description | 
|---|---|
| ClientAnchor.AnchorType | getAnchorType()Gets the anchor type
 Changed from returning an int to an enum in POI 3.14 beta 1. | 
| short | getCol1()Returns the column (0 based) of the first cell, or -1 if there is no top-left anchor cell. | 
| short | getCol2()Returns the column (0 based) of the second cell, or -1 if there is no bottom-right anchor cell. | 
| int | getDx1()Returns the x coordinate within the first cell. | 
| int | getDx2()Returns the x coordinate within the second cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| int | getDy1()Returns the y coordinate within the first cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| int | getDy2()Sets the y coordinate within the second cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| int | getRow1()Returns the row (0 based) of the first cell, or -1 if there is no bottom-right anchor cell. | 
| int | getRow2()Returns the row (0 based) of the second cell, or -1 if there is no bottom-right anchor cell. | 
| void | setAnchorType(ClientAnchor.AnchorType anchorType)Sets the anchor type | 
| void | setCol1(int col1)Sets the column (0 based) of the first cell. | 
| void | setCol2(int col2)Returns the column (0 based) of the second cell. | 
| void | setDx1(int dx1)Sets the x coordinate within the first cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| void | setDx2(int dx2)Sets the x coordinate within the second cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| void | setDy1(int dy1)Sets the y coordinate within the first cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| void | setDy2(int dy2)Sets the y coordinate within the second cell
 Note - XSSF and HSSF have a slightly different coordinate
  system, values in XSSF are larger by a factor of
   Units.EMU_PER_PIXEL | 
| void | setRow1(int row1)Returns the row (0 based) of the first cell. | 
| void | setRow2(int row2)Returns the row (0 based) of the first cell. | 
short getCol1()
ClientAnchor.AnchorType.MOVE_AND_RESIZEvoid setCol1(int col1)
col1 - 0-based column of the first cell.short getCol2()
ClientAnchor.AnchorType.DONT_MOVE_AND_RESIZE)
 and absolute sizing (ClientAnchor.AnchorType.MOVE_DONT_RESIZE.void setCol2(int col2)
col2 - 0-based column of the second cell.int getRow1()
ClientAnchor.AnchorType.DONT_MOVE_AND_RESIZE).void setRow1(int row1)
row1 - 0-based row of the first cell.int getRow2()
ClientAnchor.AnchorType.DONT_MOVE_AND_RESIZE)
 and absolute sizing (ClientAnchor.AnchorType.MOVE_DONT_RESIZE.void setRow2(int row2)
row2 - 0-based row of the first cell.int getDx1()
Units.EMU_PER_PIXELvoid setDx1(int dx1)
Units.EMU_PER_PIXELdx1 - the x coordinate within the first cellint getDy1()
Units.EMU_PER_PIXELvoid setDy1(int dy1)
Units.EMU_PER_PIXELdy1 - the y coordinate within the first cellint getDy2()
Units.EMU_PER_PIXELvoid setDy2(int dy2)
Units.EMU_PER_PIXELdy2 - the y coordinate within the second cellint getDx2()
Units.EMU_PER_PIXELvoid setDx2(int dx2)
Units.EMU_PER_PIXELdx2 - the x coordinate within the second cellvoid setAnchorType(ClientAnchor.AnchorType anchorType)
anchorType - the anchor type to setClientAnchor.AnchorType getAnchorType()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.