ShapeType
Inheritance: java.lang.Object
public class ShapeType
Specifies the type of shape in a Microsoft Word document.
Examples:
Shows how to insert a shape with an image from the local file system into a document.
Document doc = new Document();
// The "Shape" class's public constructor will create a shape with "ShapeMarkupLanguage.Vml" markup type.
// If you need to create a shape of a non-primitive type, such as SingleCornerSnipped, TopCornersSnipped, DiagonalCornersSnipped,
// TopCornersOneRoundedOneSnipped, SingleCornerRounded, TopCornersRounded, or DiagonalCornersRounded,
// please use DocumentBuilder.InsertShape.
Shape shape = new Shape(doc, ShapeType.IMAGE);
shape.getImageData().setImage(getImageDir() + "Windows MetaFile.wmf");
shape.setWidth(100.0);
shape.setHeight(100.0);
doc.getFirstSection().getBody().getFirstParagraph().appendChild(shape);
doc.save(getArtifactsDir() + "Image.FromFile.docx");
Shows how Aspose.Words identify shapes.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.insertShape(ShapeType.HEPTAGON, RelativeHorizontalPosition.PAGE, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
builder.insertShape(ShapeType.CLOUD, RelativeHorizontalPosition.RIGHT_MARGIN, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
builder.insertShape(ShapeType.MATH_PLUS, RelativeHorizontalPosition.RIGHT_MARGIN, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
// To correct identify shape types you need to work with shapes as DML.
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.DOCX);
{
// "Strict" or "Transitional" compliance allows to save shape as DML.
saveOptions.setCompliance(OoxmlCompliance.ISO_29500_2008_TRANSITIONAL);
}
doc.save(getArtifactsDir() + "Shape.ShapeTypes.docx", saveOptions);
doc = new Document(getArtifactsDir() + "Shape.ShapeTypes.docx");
List shapes = Arrays.stream(doc.getChildNodes(NodeType.SHAPE, true).toArray())
.filter(Shape.class::isInstance)
.map(Shape.class::cast)
.collect(Collectors.toList());
for (Shape shape : shapes)
{
System.out.println(shape.getShapeType());
}
Fields
Field | Description |
---|---|
ACCENT_BORDER_CALLOUT_1 | Accent border callout 1. |
ACCENT_BORDER_CALLOUT_2 | Accent border callout 2. |
ACCENT_BORDER_CALLOUT_3 | Accent border callout 3. |
ACCENT_BORDER_CALLOUT_90 | Accent border callout 90. |
ACCENT_CALLOUT_1 | An accent callout shape with one arrow. |
ACCENT_CALLOUT_2 | An accent callout shape with two arrows. |
ACCENT_CALLOUT_3 | An accent callout shape with three arrows. |
ACCENT_CALLOUT_90 | Accent callout 90. |
ACTION_BUTTON_BACK_PREVIOUS | Action button back previous. |
ACTION_BUTTON_BEGINNING | Action button beginning. |
ACTION_BUTTON_BLANK | Action button blank. |
ACTION_BUTTON_DOCUMENT | Action button document. |
ACTION_BUTTON_END | Action button end. |
ACTION_BUTTON_FORWARD_NEXT | Action button forward next. |
ACTION_BUTTON_HELP | Action button help. |
ACTION_BUTTON_HOME | Action button home. |
ACTION_BUTTON_INFORMATION | Action button information. |
ACTION_BUTTON_MOVIE | Action button movie. |
ACTION_BUTTON_RETURN | Action button return. |
ACTION_BUTTON_SOUND | Action button sound. |
ARC | Arc. |
ARROW | Arrow. |
BALLOON | Balloon. |
BENT_ARROW | Bent arrow. |
BENT_CONNECTOR_2 | A bent connector shape with two segments. |
BENT_CONNECTOR_3 | A bent connector shape with three segments. |
BENT_CONNECTOR_4 | A bent connector shape with four segments. |
BENT_CONNECTOR_5 | A bent connector shape with five segments. |
BENT_UP_ARROW | Bent up arrow. |
BEVEL | Bevel. |
BLOCK_ARC | Block arc. |
BORDER_CALLOUT_1 | Border callout 1. |
BORDER_CALLOUT_2 | Border callout 2. |
BORDER_CALLOUT_3 | Border callout 3. |
BORDER_CALLOUT_90 | Border callout 90. |
BRACE_PAIR | Brace pair |
BRACKET_PAIR | Bracket pair. |
CALLOUT_1 | A callout shape with one arrow. |
CALLOUT_2 | A callout shape with two arrows. |
CALLOUT_3 | A callout shape with three arrows. |
CALLOUT_90 | Callout 90. |
CAN | Can. |
CHART_PLUS | Chart plus. |
CHART_STAR | Chart star. |
CHART_X | Chart X. |
CHEVRON | Chevron. |
CHORD | Chord. |
CIRCULAR_ARROW | Circular arrow. |
CLOUD | Cloud. |
CLOUD_CALLOUT | Cloud callout. |
CORNER | Corner. |
CORNER_TABS | Corner tabs. |
CUBE | Cube. |
CURVED_CONNECTOR_2 | A curved connector shape with two segments. |
CURVED_CONNECTOR_3 | A curved connector shape with three segments. |
CURVED_CONNECTOR_4 | A curved connector shape with four segments. |
CURVED_CONNECTOR_5 | A curved connector shape with five segments. |
CURVED_DOWN_ARROW | Curved down arrow. |
CURVED_LEFT_ARROW | Curved left arrow. |
CURVED_RIGHT_ARROW | Curved right arrow. |
CURVED_UP_ARROW | Curved up arrow |
CUSTOM_SHAPE | This shape type seems to be set for shapes that are not part of the standard set of the auto shapes in Microsoft Word. |
DECAGON | Decagon. |
DIAGONAL_CORNERS_ROUNDED | Round diagonal corner rectangle. |
DIAGONAL_CORNERS_SNIPPED | Snip diagonal corner rectangle. |
DIAGONAL_STRIPE | Diagonal stripe. |
DIAMOND | Diamond. |
DODECAGON | Dodecagon. |
DONUT | Donut. |
DOUBLE_WAVE | Double wave. |
DOWN_ARROW | Down arrow. |
DOWN_ARROW_CALLOUT | Down arrow callout. |
ELLIPSE | Ellipse. |
ELLIPSE_RIBBON | Ellipse ribbon. |
ELLIPSE_RIBBON_2 | Ellipse ribbon 2. |
FLOW_CHART_ALTERNATE_PROCESS | Flow chart alternate process. |
FLOW_CHART_COLLATE | Flow chart collate. |
FLOW_CHART_CONNECTOR | Flow chart connector. |
FLOW_CHART_DECISION | Flow chart decision. |
FLOW_CHART_DELAY | Flow chart delay. |
FLOW_CHART_DISPLAY | Flow chart display. |
FLOW_CHART_DOCUMENT | Flow chart document. |
FLOW_CHART_EXTRACT | Flow chart extract. |
FLOW_CHART_INPUT_OUTPUT | Flow chart input output. |
FLOW_CHART_INTERNAL_STORAGE | Flow chart internal storage. |
FLOW_CHART_MAGNETIC_DISK | Flow chart magnetic disk. |
FLOW_CHART_MAGNETIC_DRUM | Flow chart magnetic drum. |
FLOW_CHART_MAGNETIC_TAPE | Flow char magnetic tape. |
FLOW_CHART_MANUAL_INPUT | Flow chart manual input. |
FLOW_CHART_MANUAL_OPERATION | Flow chart manual operation. |
FLOW_CHART_MERGE | Flow chart merge. |
FLOW_CHART_MULTIDOCUMENT | Flow chart multi document. |
FLOW_CHART_OFFLINE_STORAGE | Flow chart off-line storage. |
FLOW_CHART_OFFPAGE_CONNECTOR | Flow chart off page connector. |
FLOW_CHART_ONLINE_STORAGE | Flow chart on-line storage. |
FLOW_CHART_OR | Flow chart or. |
FLOW_CHART_PREDEFINED_PROCESS | Flow chart predefined process |
FLOW_CHART_PREPARATION | Flow chart preparation. |
FLOW_CHART_PROCESS | Flow chart process. |
FLOW_CHART_PUNCHED_CARD | Flow chart punched card. |
FLOW_CHART_PUNCHED_TAPE | Flow chart punched tape. |
FLOW_CHART_SORT | Flow chart sort. |
FLOW_CHART_SUMMING_JUNCTION | Flow chart summing junction. |
FLOW_CHART_TERMINATOR | Flow chart terminator. |
FOLDED_CORNER | Folded corner. |
FRAME | Frame. |
FUNNEL | Funnel. |
GEAR_6 | Six-tooth gear. |
GEAR_9 | Nine-tooth gear. |
GROUP | The shape is a group shape. |
HALF_FRAME | Half frame. |
HEART | Heart. |
HEPTAGON | Heptagon. |
HEXAGON | Hexagon. |
HOME_PLATE | Home plate. |
HORIZONTAL_SCROLL | Horizontal scroll. |
IMAGE | The shape is an image. |
INVERSE_LINE | Inverse line. |
IRREGULAR_SEAL_1 | Irregular seal 1. |
IRREGULAR_SEAL_2 | Irregular seal 2. |
LEFT_ARROW | Left arrow. |
LEFT_ARROW_CALLOUT | Left arrow callout. |
LEFT_BRACE | Left brace. |
LEFT_BRACKET | Left bracket. |
LEFT_CIRCULAR_ARROW | Left circular arrow. |
LEFT_RIGHT_ARROW | Left right arrow. |
LEFT_RIGHT_ARROW_CALLOUT | Left right arrow callout. |
LEFT_RIGHT_CIRCULAR_ARROW | Left-right circular arrow. |
LEFT_RIGHT_RIBBON | Left-right ribbon. |
LEFT_RIGHT_UP_ARROW | Left right up arrow. |
LEFT_UP_ARROW | Left up arrow. |
LIGHTNING_BOLT | Lightning bolt. |
LINE | Line. |
MATH_DIVIDE | Math divide. |
MATH_EQUAL | Math equal. |
MATH_MINUS | Math minus. |
MATH_MULTIPLY | Math multiply. |
MATH_NOT_EQUAL | Math not equal. |
MATH_PLUS | Math plus. |
MIN_VALUE | Reserved for the system use. |
MOON | Moon. |
NON_ISOSCELES_TRAPEZOID | Non-isosceles trapezoid. |
NON_PRIMITIVE | A shape drawn by user and consisting of multiple segments and/or vertices (curve, freeform or scribble). |
NOTCHED_RIGHT_ARROW | Notched right arrow. |
NO_SMOKING | NoSmoking. |
OCTAGON | Octagon. |
OLE_CONTROL | The shape is an ActiveX control. |
OLE_OBJECT | The shape is an OLE object. |
PARALLELOGRAM | Parallelogram. |
PENTAGON | Pentagon. |
PIE | Pie. |
PLAQUE | Plaque. |
PLAQUE_TABS | Plaque tabs. |
PLUS | Plus. |
QUAD_ARROW | Quad arrow. |
QUAD_ARROW_CALLOUT | Quad arrow callout. |
RECTANGLE | Rectangle. |
RIBBON | Ribbon. |
RIBBON_2 | Ribbon 2. |
RIGHT_ARROW_CALLOUT | Right arrow callout |
RIGHT_BRACE | Right brace. |
RIGHT_BRACKET | Right bracket. |
RIGHT_TRIANGLE | Right triangle. |
ROUND_RECTANGLE | Round rectangle. |
SEAL | Seal. |
SEAL_10 | Ten-pointed star. |
SEAL_12 | Twelve-pointed star. |
SEAL_16 | 16-pointed star. |
SEAL_24 | 24-pointed star. |
SEAL_32 | 32-pointed star. |
SEAL_4 | Four-pointed star. |
SEAL_6 | Six-pointed star. |
SEAL_7 | Seven-pointed star. |
SEAL_8 | Eight-pointed star. |
SINGLE_CORNER_ROUNDED | Round single corner rectangle. |
SINGLE_CORNER_SNIPPED | Snip single corner rectangle object. |
SMILEY_FACE | Smiley face. |
SQUARE_TABS | Square tabs. |
STAR | Star. |
STRAIGHT_CONNECTOR_1 | A straight connector shape. |
STRIPED_RIGHT_ARROW | Striped right arrow. |
SUN | Sun. |
SWOOSH_ARROW | Swoosh arrow. |
TEARDROP | Teardrop. |
TEXT_ARCH_DOWN_CURVE | Arch down curve, WordArt object. |
TEXT_ARCH_DOWN_POUR | Arch down pour, WordArt object. |
TEXT_ARCH_UP_CURVE | Arch up curve, WordArt object. |
TEXT_ARCH_UP_POUR | Arch up pour, WordArt object. |
TEXT_BOX | The shape is a textbox. |
TEXT_BUTTON_CURVE | Button curve, WordArt object. |
TEXT_BUTTON_POUR | Button pour, WordArt object. |
TEXT_CAN_DOWN | Can down, WordArt object. |
TEXT_CAN_UP | Can up, WordArt object. |
TEXT_CASCADE_DOWN | Cascade down, WordArt object. |
TEXT_CASCADE_UP | Cascade up, WordArt object. |
TEXT_CHEVRON | Chevron, WordArt object. |
TEXT_CHEVRON_INVERTED | Chevron inverted, WordArt object. |
TEXT_CIRCLE_CURVE | Circle curve, WordArt object. |
TEXT_CIRCLE_POUR | Circle pour, WordArt object. |
TEXT_CURVE | Text curve. |
TEXT_CURVE_DOWN | Curve down, WordArt object. |
TEXT_CURVE_UP | Curve up, WordArt object. |
TEXT_DEFLATE | Deflate, WordArt object. |
TEXT_DEFLATE_BOTTOM | Deflate bottom, WordArt object. |
TEXT_DEFLATE_INFLATE | Deflate inflate, WordArt object. |
TEXT_DEFLATE_INFLATE_DEFLATE | Deflate inflate deflate, WordArt object. |
TEXT_DEFLATE_TOP | Deflate top, WordArt object. |
TEXT_FADE_DOWN | Fade down, WordArt object. |
TEXT_FADE_LEFT | Fade left, WordArt object. |
TEXT_FADE_RIGHT | Fade right, WordArt object. |
TEXT_FADE_UP | Fade up, WordArt object. |
TEXT_HEXAGON | Text hexagon. |
TEXT_INFLATE | Inflate, WordArt object. |
TEXT_INFLATE_BOTTOM | Inflate bottom, WordArt object. |
TEXT_INFLATE_TOP | Inflate top, WordArt object. |
TEXT_OCTAGON | Text octagon. |
TEXT_ON_CURVE | Text on curve. |
TEXT_ON_RING | Text on ring. |
TEXT_PLAIN_TEXT | Plain-text, WordArt object. |
TEXT_RING | Text ring. |
TEXT_RING_INSIDE | Ring inside, WordArt object. |
TEXT_RING_OUTSIDE | Ring outside, WordArt object. |
TEXT_SIMPLE | Text simple. |
TEXT_SLANT_DOWN | Slant down, WordArt object. |
TEXT_SLANT_UP | Slant up, WordArt object. |
TEXT_STOP | Stop, WordArt object. |
TEXT_TRIANGLE | Triangle, WordArt object. |
TEXT_TRIANGLE_INVERTED | Triangle inverted, WordArt object. |
TEXT_WAVE | Text wave. |
TEXT_WAVE_1 | Wave 1, WordArt object. |
TEXT_WAVE_2 | Wave 2, WordArt object. |
TEXT_WAVE_3 | Wave 3, WordArt object. |
TEXT_WAVE_4 | Wave 4, WordArt object. |
THICK_ARROW | Thick arrow. |
TOP_CORNERS_ONE_ROUNDED_ONE_SNIPPED | Snip and round single corner rectangle. |
TOP_CORNERS_ROUNDED | Round same side corner rectangle. |
TOP_CORNERS_SNIPPED | Snip same side corner rectangle. |
TRAPEZOID | Trapezoid. |
TRIANGLE | Triangle. |
UP_ARROW | Up arrow. |
UP_ARROW_CALLOUT | Up arrow callout. |
UP_DOWN_ARROW | Up down arrow. |
UP_DOWN_ARROW_CALLOUT | Up down arrow callout. |
UTURN_ARROW | Uturn arrow. |
VERTICAL_SCROLL | Vertical scroll. |
WAVE | Wave. |
WEDGE_ELLIPSE_CALLOUT | Wedge ellipse callout. |
WEDGE_PIE | Wedge pie. |
WEDGE_RECT_CALLOUT | Wedge rect callout. |
WEDGE_R_RECT_CALLOUT | Wedge R rect callout. |
length |
Methods
Method | Description |
---|---|
fromName(String shapeTypeName) | |
getName(int shapeType) | |
getValues() | |
toString(int shapeType) |
ACCENT_BORDER_CALLOUT_1
public static int ACCENT_BORDER_CALLOUT_1
Accent border callout 1.
ACCENT_BORDER_CALLOUT_2
public static int ACCENT_BORDER_CALLOUT_2
Accent border callout 2.
ACCENT_BORDER_CALLOUT_3
public static int ACCENT_BORDER_CALLOUT_3
Accent border callout 3.
ACCENT_BORDER_CALLOUT_90
public static int ACCENT_BORDER_CALLOUT_90
Accent border callout 90.
ACCENT_CALLOUT_1
public static int ACCENT_CALLOUT_1
An accent callout shape with one arrow.
ACCENT_CALLOUT_2
public static int ACCENT_CALLOUT_2
An accent callout shape with two arrows.
ACCENT_CALLOUT_3
public static int ACCENT_CALLOUT_3
An accent callout shape with three arrows.
ACCENT_CALLOUT_90
public static int ACCENT_CALLOUT_90
Accent callout 90.
ACTION_BUTTON_BACK_PREVIOUS
public static int ACTION_BUTTON_BACK_PREVIOUS
Action button back previous.
ACTION_BUTTON_BEGINNING
public static int ACTION_BUTTON_BEGINNING
Action button beginning.
ACTION_BUTTON_BLANK
public static int ACTION_BUTTON_BLANK
Action button blank.
ACTION_BUTTON_DOCUMENT
public static int ACTION_BUTTON_DOCUMENT
Action button document.
ACTION_BUTTON_END
public static int ACTION_BUTTON_END
Action button end.
ACTION_BUTTON_FORWARD_NEXT
public static int ACTION_BUTTON_FORWARD_NEXT
Action button forward next.
ACTION_BUTTON_HELP
public static int ACTION_BUTTON_HELP
Action button help.
ACTION_BUTTON_HOME
public static int ACTION_BUTTON_HOME
Action button home.
ACTION_BUTTON_INFORMATION
public static int ACTION_BUTTON_INFORMATION
Action button information.
ACTION_BUTTON_MOVIE
public static int ACTION_BUTTON_MOVIE
Action button movie.
ACTION_BUTTON_RETURN
public static int ACTION_BUTTON_RETURN
Action button return.
ACTION_BUTTON_SOUND
public static int ACTION_BUTTON_SOUND
Action button sound.
ARC
public static int ARC
Arc.
ARROW
public static int ARROW
Arrow.
BALLOON
public static int BALLOON
Balloon.
BENT_ARROW
public static int BENT_ARROW
Bent arrow.
BENT_CONNECTOR_2
public static int BENT_CONNECTOR_2
A bent connector shape with two segments.
BENT_CONNECTOR_3
public static int BENT_CONNECTOR_3
A bent connector shape with three segments.
BENT_CONNECTOR_4
public static int BENT_CONNECTOR_4
A bent connector shape with four segments.
BENT_CONNECTOR_5
public static int BENT_CONNECTOR_5
A bent connector shape with five segments.
BENT_UP_ARROW
public static int BENT_UP_ARROW
Bent up arrow.
BEVEL
public static int BEVEL
Bevel.
BLOCK_ARC
public static int BLOCK_ARC
Block arc.
BORDER_CALLOUT_1
public static int BORDER_CALLOUT_1
Border callout 1.
BORDER_CALLOUT_2
public static int BORDER_CALLOUT_2
Border callout 2.
BORDER_CALLOUT_3
public static int BORDER_CALLOUT_3
Border callout 3.
BORDER_CALLOUT_90
public static int BORDER_CALLOUT_90
Border callout 90.
BRACE_PAIR
public static int BRACE_PAIR
Brace pair
BRACKET_PAIR
public static int BRACKET_PAIR
Bracket pair.
CALLOUT_1
public static int CALLOUT_1
A callout shape with one arrow.
CALLOUT_2
public static int CALLOUT_2
A callout shape with two arrows.
CALLOUT_3
public static int CALLOUT_3
A callout shape with three arrows.
CALLOUT_90
public static int CALLOUT_90
Callout 90.
CAN
public static int CAN
Can.
CHART_PLUS
public static int CHART_PLUS
Chart plus.
Remarks:
Applicable only for DML shapes.
CHART_STAR
public static int CHART_STAR
Chart star.
Remarks:
Applicable only for DML shapes.
CHART_X
public static int CHART_X
Chart X.
Remarks:
Applicable only for DML shapes.
CHEVRON
public static int CHEVRON
Chevron.
CHORD
public static int CHORD
Chord.
Remarks:
Applicable only for DML shapes.
CIRCULAR_ARROW
public static int CIRCULAR_ARROW
Circular arrow.
CLOUD
public static int CLOUD
Cloud.
Remarks:
Applicable only for DML shapes.
CLOUD_CALLOUT
public static int CLOUD_CALLOUT
Cloud callout.
CORNER
public static int CORNER
Corner.
Remarks:
Applicable only for DML shapes.
CORNER_TABS
public static int CORNER_TABS
Corner tabs.
Remarks:
Applicable only for DML shapes.
CUBE
public static int CUBE
Cube.
CURVED_CONNECTOR_2
public static int CURVED_CONNECTOR_2
A curved connector shape with two segments.
CURVED_CONNECTOR_3
public static int CURVED_CONNECTOR_3
A curved connector shape with three segments.
CURVED_CONNECTOR_4
public static int CURVED_CONNECTOR_4
A curved connector shape with four segments.
CURVED_CONNECTOR_5
public static int CURVED_CONNECTOR_5
A curved connector shape with five segments.
CURVED_DOWN_ARROW
public static int CURVED_DOWN_ARROW
Curved down arrow.
CURVED_LEFT_ARROW
public static int CURVED_LEFT_ARROW
Curved left arrow.
CURVED_RIGHT_ARROW
public static int CURVED_RIGHT_ARROW
Curved right arrow.
CURVED_UP_ARROW
public static int CURVED_UP_ARROW
Curved up arrow
CUSTOM_SHAPE
public static int CUSTOM_SHAPE
This shape type seems to be set for shapes that are not part of the standard set of the auto shapes in Microsoft Word. For example, if you insert a new auto shape from ClipArt.
You cannot create shapes of this type in the document.
DECAGON
public static int DECAGON
Decagon.
Remarks:
Applicable only for DML shapes.
DIAGONAL_CORNERS_ROUNDED
public static int DIAGONAL_CORNERS_ROUNDED
Round diagonal corner rectangle.
Remarks:
Applicable only for DML shapes.
DIAGONAL_CORNERS_SNIPPED
public static int DIAGONAL_CORNERS_SNIPPED
Snip diagonal corner rectangle.
Remarks:
Applicable only for DML shapes.
DIAGONAL_STRIPE
public static int DIAGONAL_STRIPE
Diagonal stripe.
Remarks:
Applicable only for DML shapes.
DIAMOND
public static int DIAMOND
Diamond.
DODECAGON
public static int DODECAGON
Dodecagon.
Remarks:
Applicable only for DML shapes.
DONUT
public static int DONUT
Donut.
DOUBLE_WAVE
public static int DOUBLE_WAVE
Double wave.
DOWN_ARROW
public static int DOWN_ARROW
Down arrow.
DOWN_ARROW_CALLOUT
public static int DOWN_ARROW_CALLOUT
Down arrow callout.
ELLIPSE
public static int ELLIPSE
Ellipse.
ELLIPSE_RIBBON
public static int ELLIPSE_RIBBON
Ellipse ribbon.
ELLIPSE_RIBBON_2
public static int ELLIPSE_RIBBON_2
Ellipse ribbon 2.
FLOW_CHART_ALTERNATE_PROCESS
public static int FLOW_CHART_ALTERNATE_PROCESS
Flow chart alternate process.
FLOW_CHART_COLLATE
public static int FLOW_CHART_COLLATE
Flow chart collate.
FLOW_CHART_CONNECTOR
public static int FLOW_CHART_CONNECTOR
Flow chart connector.
FLOW_CHART_DECISION
public static int FLOW_CHART_DECISION
Flow chart decision.
FLOW_CHART_DELAY
public static int FLOW_CHART_DELAY
Flow chart delay.
FLOW_CHART_DISPLAY
public static int FLOW_CHART_DISPLAY
Flow chart display.
FLOW_CHART_DOCUMENT
public static int FLOW_CHART_DOCUMENT
Flow chart document.
FLOW_CHART_EXTRACT
public static int FLOW_CHART_EXTRACT
Flow chart extract.
FLOW_CHART_INPUT_OUTPUT
public static int FLOW_CHART_INPUT_OUTPUT
Flow chart input output.
FLOW_CHART_INTERNAL_STORAGE
public static int FLOW_CHART_INTERNAL_STORAGE
Flow chart internal storage.
FLOW_CHART_MAGNETIC_DISK
public static int FLOW_CHART_MAGNETIC_DISK
Flow chart magnetic disk.
FLOW_CHART_MAGNETIC_DRUM
public static int FLOW_CHART_MAGNETIC_DRUM
Flow chart magnetic drum.
FLOW_CHART_MAGNETIC_TAPE
public static int FLOW_CHART_MAGNETIC_TAPE
Flow char magnetic tape.
FLOW_CHART_MANUAL_INPUT
public static int FLOW_CHART_MANUAL_INPUT
Flow chart manual input.
FLOW_CHART_MANUAL_OPERATION
public static int FLOW_CHART_MANUAL_OPERATION
Flow chart manual operation.
FLOW_CHART_MERGE
public static int FLOW_CHART_MERGE
Flow chart merge.
FLOW_CHART_MULTIDOCUMENT
public static int FLOW_CHART_MULTIDOCUMENT
Flow chart multi document.
FLOW_CHART_OFFLINE_STORAGE
public static int FLOW_CHART_OFFLINE_STORAGE
Flow chart off-line storage.
FLOW_CHART_OFFPAGE_CONNECTOR
public static int FLOW_CHART_OFFPAGE_CONNECTOR
Flow chart off page connector.
FLOW_CHART_ONLINE_STORAGE
public static int FLOW_CHART_ONLINE_STORAGE
Flow chart on-line storage.
FLOW_CHART_OR
public static int FLOW_CHART_OR
Flow chart or.
FLOW_CHART_PREDEFINED_PROCESS
public static int FLOW_CHART_PREDEFINED_PROCESS
Flow chart predefined process
FLOW_CHART_PREPARATION
public static int FLOW_CHART_PREPARATION
Flow chart preparation.
FLOW_CHART_PROCESS
public static int FLOW_CHART_PROCESS
Flow chart process.
FLOW_CHART_PUNCHED_CARD
public static int FLOW_CHART_PUNCHED_CARD
Flow chart punched card.
FLOW_CHART_PUNCHED_TAPE
public static int FLOW_CHART_PUNCHED_TAPE
Flow chart punched tape.
FLOW_CHART_SORT
public static int FLOW_CHART_SORT
Flow chart sort.
FLOW_CHART_SUMMING_JUNCTION
public static int FLOW_CHART_SUMMING_JUNCTION
Flow chart summing junction.
FLOW_CHART_TERMINATOR
public static int FLOW_CHART_TERMINATOR
Flow chart terminator.
FOLDED_CORNER
public static int FOLDED_CORNER
Folded corner.
FRAME
public static int FRAME
Frame.
Remarks:
Applicable only for DML shapes.
FUNNEL
public static int FUNNEL
Funnel.
Remarks:
Applicable only for DML shapes.
GEAR_6
public static int GEAR_6
Six-tooth gear.
Remarks:
Applicable only for DML shapes.
GEAR_9
public static int GEAR_9
Nine-tooth gear.
Remarks:
Applicable only for DML shapes.
GROUP
public static int GROUP
The shape is a group shape.
HALF_FRAME
public static int HALF_FRAME
Half frame.
Remarks:
Applicable only for DML shapes.
HEART
public static int HEART
Heart.
HEPTAGON
public static int HEPTAGON
Heptagon.
Remarks:
Applicable only for DML shapes.
HEXAGON
public static int HEXAGON
Hexagon.
HOME_PLATE
public static int HOME_PLATE
Home plate.
HORIZONTAL_SCROLL
public static int HORIZONTAL_SCROLL
Horizontal scroll.
IMAGE
public static int IMAGE
The shape is an image.
INVERSE_LINE
public static int INVERSE_LINE
Inverse line.
Remarks:
Applicable only for DML shapes.
IRREGULAR_SEAL_1
public static int IRREGULAR_SEAL_1
Irregular seal 1.
IRREGULAR_SEAL_2
public static int IRREGULAR_SEAL_2
Irregular seal 2.
LEFT_ARROW
public static int LEFT_ARROW
Left arrow.
LEFT_ARROW_CALLOUT
public static int LEFT_ARROW_CALLOUT
Left arrow callout.
LEFT_BRACE
public static int LEFT_BRACE
Left brace.
LEFT_BRACKET
public static int LEFT_BRACKET
Left bracket.
LEFT_CIRCULAR_ARROW
public static int LEFT_CIRCULAR_ARROW
Left circular arrow.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_ARROW
public static int LEFT_RIGHT_ARROW
Left right arrow.
LEFT_RIGHT_ARROW_CALLOUT
public static int LEFT_RIGHT_ARROW_CALLOUT
Left right arrow callout.
LEFT_RIGHT_CIRCULAR_ARROW
public static int LEFT_RIGHT_CIRCULAR_ARROW
Left-right circular arrow.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_RIBBON
public static int LEFT_RIGHT_RIBBON
Left-right ribbon.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_UP_ARROW
public static int LEFT_RIGHT_UP_ARROW
Left right up arrow.
LEFT_UP_ARROW
public static int LEFT_UP_ARROW
Left up arrow.
LIGHTNING_BOLT
public static int LIGHTNING_BOLT
Lightning bolt.
LINE
public static int LINE
Line.
MATH_DIVIDE
public static int MATH_DIVIDE
Math divide.
Remarks:
Applicable only for DML shapes.
MATH_EQUAL
public static int MATH_EQUAL
Math equal.
Remarks:
Applicable only for DML shapes.
MATH_MINUS
public static int MATH_MINUS
Math minus.
Remarks:
Applicable only for DML shapes.
MATH_MULTIPLY
public static int MATH_MULTIPLY
Math multiply.
Remarks:
Applicable only for DML shapes.
MATH_NOT_EQUAL
public static int MATH_NOT_EQUAL
Math not equal.
Remarks:
Applicable only for DML shapes.
MATH_PLUS
public static int MATH_PLUS
Math plus.
Remarks:
Applicable only for DML shapes.
MIN_VALUE
public static int MIN_VALUE
Reserved for the system use.
MOON
public static int MOON
Moon.
NON_ISOSCELES_TRAPEZOID
public static int NON_ISOSCELES_TRAPEZOID
Non-isosceles trapezoid.
Remarks:
Applicable only for DML shapes.
NON_PRIMITIVE
public static int NON_PRIMITIVE
A shape drawn by user and consisting of multiple segments and/or vertices (curve, freeform or scribble).
You cannot create shapes of this type in the document.
NOTCHED_RIGHT_ARROW
public static int NOTCHED_RIGHT_ARROW
Notched right arrow.
NO_SMOKING
public static int NO_SMOKING
NoSmoking.
OCTAGON
public static int OCTAGON
Octagon.
OLE_CONTROL
public static int OLE_CONTROL
The shape is an ActiveX control.
You cannot create shapes of this type in the document.
OLE_OBJECT
public static int OLE_OBJECT
The shape is an OLE object.
You cannot create shapes of this type in the document.
PARALLELOGRAM
public static int PARALLELOGRAM
Parallelogram.
PENTAGON
public static int PENTAGON
Pentagon.
PIE
public static int PIE
Pie.
Remarks:
Applicable only for DML shapes.
PLAQUE
public static int PLAQUE
Plaque.
PLAQUE_TABS
public static int PLAQUE_TABS
Plaque tabs.
Remarks:
Applicable only for DML shapes.
PLUS
public static int PLUS
Plus.
QUAD_ARROW
public static int QUAD_ARROW
Quad arrow.
QUAD_ARROW_CALLOUT
public static int QUAD_ARROW_CALLOUT
Quad arrow callout.
RECTANGLE
public static int RECTANGLE
Rectangle.
RIBBON
public static int RIBBON
Ribbon.
RIBBON_2
public static int RIBBON_2
Ribbon 2.
RIGHT_ARROW_CALLOUT
public static int RIGHT_ARROW_CALLOUT
Right arrow callout
RIGHT_BRACE
public static int RIGHT_BRACE
Right brace.
RIGHT_BRACKET
public static int RIGHT_BRACKET
Right bracket.
RIGHT_TRIANGLE
public static int RIGHT_TRIANGLE
Right triangle.
ROUND_RECTANGLE
public static int ROUND_RECTANGLE
Round rectangle.
SEAL
public static int SEAL
Seal.
SEAL_10
public static int SEAL_10
Ten-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_12
public static int SEAL_12
Twelve-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_16
public static int SEAL_16
16-pointed star.
SEAL_24
public static int SEAL_24
24-pointed star.
SEAL_32
public static int SEAL_32
32-pointed star.
SEAL_4
public static int SEAL_4
Four-pointed star.
SEAL_6
public static int SEAL_6
Six-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_7
public static int SEAL_7
Seven-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_8
public static int SEAL_8
Eight-pointed star.
SINGLE_CORNER_ROUNDED
public static int SINGLE_CORNER_ROUNDED
Round single corner rectangle.
Remarks:
Applicable only for DML shapes.
SINGLE_CORNER_SNIPPED
public static int SINGLE_CORNER_SNIPPED
Snip single corner rectangle object.
Remarks:
Applicable only for DML shapes.
SMILEY_FACE
public static int SMILEY_FACE
Smiley face.
SQUARE_TABS
public static int SQUARE_TABS
Square tabs.
Remarks:
Applicable only for DML shapes.
STAR
public static int STAR
Star.
STRAIGHT_CONNECTOR_1
public static int STRAIGHT_CONNECTOR_1
A straight connector shape.
STRIPED_RIGHT_ARROW
public static int STRIPED_RIGHT_ARROW
Striped right arrow.
SUN
public static int SUN
Sun.
SWOOSH_ARROW
public static int SWOOSH_ARROW
Swoosh arrow.
Remarks:
Applicable only for DML shapes.
TEARDROP
public static int TEARDROP
Teardrop.
Remarks:
Applicable only for DML shapes.
TEXT_ARCH_DOWN_CURVE
public static int TEXT_ARCH_DOWN_CURVE
Arch down curve, WordArt object.
TEXT_ARCH_DOWN_POUR
public static int TEXT_ARCH_DOWN_POUR
Arch down pour, WordArt object.
TEXT_ARCH_UP_CURVE
public static int TEXT_ARCH_UP_CURVE
Arch up curve, WordArt object.
TEXT_ARCH_UP_POUR
public static int TEXT_ARCH_UP_POUR
Arch up pour, WordArt object.
TEXT_BOX
public static int TEXT_BOX
The shape is a textbox. Note that shapes of many other types can also have text inside them too. A shape does not have to have this type to contain text.
TEXT_BUTTON_CURVE
public static int TEXT_BUTTON_CURVE
Button curve, WordArt object.
TEXT_BUTTON_POUR
public static int TEXT_BUTTON_POUR
Button pour, WordArt object.
TEXT_CAN_DOWN
public static int TEXT_CAN_DOWN
Can down, WordArt object.
TEXT_CAN_UP
public static int TEXT_CAN_UP
Can up, WordArt object.
TEXT_CASCADE_DOWN
public static int TEXT_CASCADE_DOWN
Cascade down, WordArt object.
TEXT_CASCADE_UP
public static int TEXT_CASCADE_UP
Cascade up, WordArt object.
TEXT_CHEVRON
public static int TEXT_CHEVRON
Chevron, WordArt object.
TEXT_CHEVRON_INVERTED
public static int TEXT_CHEVRON_INVERTED
Chevron inverted, WordArt object.
TEXT_CIRCLE_CURVE
public static int TEXT_CIRCLE_CURVE
Circle curve, WordArt object.
TEXT_CIRCLE_POUR
public static int TEXT_CIRCLE_POUR
Circle pour, WordArt object.
TEXT_CURVE
public static int TEXT_CURVE
Text curve.
TEXT_CURVE_DOWN
public static int TEXT_CURVE_DOWN
Curve down, WordArt object.
TEXT_CURVE_UP
public static int TEXT_CURVE_UP
Curve up, WordArt object.
TEXT_DEFLATE
public static int TEXT_DEFLATE
Deflate, WordArt object.
TEXT_DEFLATE_BOTTOM
public static int TEXT_DEFLATE_BOTTOM
Deflate bottom, WordArt object.
TEXT_DEFLATE_INFLATE
public static int TEXT_DEFLATE_INFLATE
Deflate inflate, WordArt object.
TEXT_DEFLATE_INFLATE_DEFLATE
public static int TEXT_DEFLATE_INFLATE_DEFLATE
Deflate inflate deflate, WordArt object.
TEXT_DEFLATE_TOP
public static int TEXT_DEFLATE_TOP
Deflate top, WordArt object.
TEXT_FADE_DOWN
public static int TEXT_FADE_DOWN
Fade down, WordArt object.
TEXT_FADE_LEFT
public static int TEXT_FADE_LEFT
Fade left, WordArt object.
TEXT_FADE_RIGHT
public static int TEXT_FADE_RIGHT
Fade right, WordArt object.
TEXT_FADE_UP
public static int TEXT_FADE_UP
Fade up, WordArt object.
TEXT_HEXAGON
public static int TEXT_HEXAGON
Text hexagon.
TEXT_INFLATE
public static int TEXT_INFLATE
Inflate, WordArt object.
TEXT_INFLATE_BOTTOM
public static int TEXT_INFLATE_BOTTOM
Inflate bottom, WordArt object.
TEXT_INFLATE_TOP
public static int TEXT_INFLATE_TOP
Inflate top, WordArt object.
TEXT_OCTAGON
public static int TEXT_OCTAGON
Text octagon.
TEXT_ON_CURVE
public static int TEXT_ON_CURVE
Text on curve.
TEXT_ON_RING
public static int TEXT_ON_RING
Text on ring.
TEXT_PLAIN_TEXT
public static int TEXT_PLAIN_TEXT
Plain-text, WordArt object.
TEXT_RING
public static int TEXT_RING
Text ring.
TEXT_RING_INSIDE
public static int TEXT_RING_INSIDE
Ring inside, WordArt object.
TEXT_RING_OUTSIDE
public static int TEXT_RING_OUTSIDE
Ring outside, WordArt object.
TEXT_SIMPLE
public static int TEXT_SIMPLE
Text simple.
TEXT_SLANT_DOWN
public static int TEXT_SLANT_DOWN
Slant down, WordArt object.
TEXT_SLANT_UP
public static int TEXT_SLANT_UP
Slant up, WordArt object.
TEXT_STOP
public static int TEXT_STOP
Stop, WordArt object.
TEXT_TRIANGLE
public static int TEXT_TRIANGLE
Triangle, WordArt object.
TEXT_TRIANGLE_INVERTED
public static int TEXT_TRIANGLE_INVERTED
Triangle inverted, WordArt object.
TEXT_WAVE
public static int TEXT_WAVE
Text wave.
TEXT_WAVE_1
public static int TEXT_WAVE_1
Wave 1, WordArt object.
TEXT_WAVE_2
public static int TEXT_WAVE_2
Wave 2, WordArt object.
TEXT_WAVE_3
public static int TEXT_WAVE_3
Wave 3, WordArt object.
TEXT_WAVE_4
public static int TEXT_WAVE_4
Wave 4, WordArt object.
THICK_ARROW
public static int THICK_ARROW
Thick arrow.
TOP_CORNERS_ONE_ROUNDED_ONE_SNIPPED
public static int TOP_CORNERS_ONE_ROUNDED_ONE_SNIPPED
Snip and round single corner rectangle.
Remarks:
Applicable only for DML shapes.
TOP_CORNERS_ROUNDED
public static int TOP_CORNERS_ROUNDED
Round same side corner rectangle.
Remarks:
Applicable only for DML shapes.
TOP_CORNERS_SNIPPED
public static int TOP_CORNERS_SNIPPED
Snip same side corner rectangle.
Remarks:
Applicable only for DML shapes.
TRAPEZOID
public static int TRAPEZOID
Trapezoid.
TRIANGLE
public static int TRIANGLE
Triangle.
UP_ARROW
public static int UP_ARROW
Up arrow.
UP_ARROW_CALLOUT
public static int UP_ARROW_CALLOUT
Up arrow callout.
UP_DOWN_ARROW
public static int UP_DOWN_ARROW
Up down arrow.
UP_DOWN_ARROW_CALLOUT
public static int UP_DOWN_ARROW_CALLOUT
Up down arrow callout.
UTURN_ARROW
public static int UTURN_ARROW
Uturn arrow.
VERTICAL_SCROLL
public static int VERTICAL_SCROLL
Vertical scroll.
WAVE
public static int WAVE
Wave.
WEDGE_ELLIPSE_CALLOUT
public static int WEDGE_ELLIPSE_CALLOUT
Wedge ellipse callout.
WEDGE_PIE
public static int WEDGE_PIE
Wedge pie.
Remarks:
Applicable only for DML shapes.
WEDGE_RECT_CALLOUT
public static int WEDGE_RECT_CALLOUT
Wedge rect callout.
WEDGE_R_RECT_CALLOUT
public static int WEDGE_R_RECT_CALLOUT
Wedge R rect callout.
length
public static int length
fromName(String shapeTypeName)
public static int fromName(String shapeTypeName)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeTypeName | java.lang.String |
Returns: int
getName(int shapeType)
public static String getName(int shapeType)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int shapeType)
public static String toString(int shapeType)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeType | int |
Returns: java.lang.String