public static enum ClientAnchor.AnchorType extends java.lang.Enum<ClientAnchor.AnchorType>
Enum Constant and Description |
---|
DONT_MOVE_AND_RESIZE
Do Not Move or Resize With Underlying Rows/Columns (3)
|
DONT_MOVE_DO_RESIZE
Don't Move but do Resize With Anchor Cells (1)
|
MOVE_AND_RESIZE
Move and Resize With Anchor Cells (0)
|
MOVE_DONT_RESIZE
Move With Cells but Do Not Resize (2)
|
Modifier and Type | Field and Description |
---|---|
short |
value |
Modifier and Type | Method and Description |
---|---|
static ClientAnchor.AnchorType |
byId(int value)
return the AnchorType corresponding to the code
|
static ClientAnchor.AnchorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientAnchor.AnchorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAnchor.AnchorType MOVE_AND_RESIZE
Specifies that the current drawing shall move and resize to maintain its row and column anchors (i.e. the object is anchored to the actual from and to row and column)
public static final ClientAnchor.AnchorType DONT_MOVE_DO_RESIZE
Specifies that the current drawing shall not move with its row and column, but should be resized. This option is not normally used, but is included for completeness.
Note: Excel has no setting for this combination, nor does the ECMA standard.public static final ClientAnchor.AnchorType MOVE_DONT_RESIZE
Specifies that the current drawing shall move with its row and column (i.e. the object is anchored to the actual from row and column), but that the size shall remain absolute.
If additional rows/columns are added between the from and to locations of the drawing, the drawing shall move its to anchors as needed to maintain this same absolute size.
public static final ClientAnchor.AnchorType DONT_MOVE_AND_RESIZE
Specifies that the current start and end positions shall be maintained with respect to the distances from the absolute start point of the worksheet.
If additional rows/columns are added before the drawing, the drawing shall move its anchors as needed to maintain this same absolute position.
public static ClientAnchor.AnchorType[] values()
for (ClientAnchor.AnchorType c : ClientAnchor.AnchorType.values()) System.out.println(c);
public static ClientAnchor.AnchorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Internal public static ClientAnchor.AnchorType byId(int value)
value
- the anchor type codeCopyright 2021 The Apache Software Foundation or its licensors, as applicable.