java.lang.Object
com.aspose.words.ShapeType
public class ShapeType
- extends java.lang.Object
Utility class containing constants.
Specifies the type of shape in a Microsoft Word document.
Example:
Shows how to create and add an image to a document without using document builder.
Document doc = new Document();
Shape shape = new Shape(doc, ShapeType.IMAGE);
shape.getImageData().setImage(getMyDir() + "Hammer.wmf");
shape.setWidth(100);
shape.setHeight(100);
doc.getFirstSection().getBody().getFirstParagraph().appendChild(shape);
doc.save(getMyDir() + "Image.CreateImageDirectly Out.doc");
- See Also:
- ShapeBase.ShapeType
IMAGE | |
public static final int IMAGE |
-
The shape is an image.
TEXT_BOX | |
public static final 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.
GROUP | |
public static final int GROUP |
The shape is a group shape.
OLE_OBJECT | |
public static final int OLE_OBJECT |
-
The shape is an OLE object.
You cannot create shapes of this type in the document.
OLE_CONTROL | |
public static final int OLE_CONTROL |
-
The shape is an ActiveX control.
You cannot create shapes of this type in the document.
NON_PRIMITIVE | |
public static final 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.
RECTANGLE | |
public static final int RECTANGLE |
-
ROUND_RECTANGLE | |
public static final int ROUND_RECTANGLE |
-
ELLIPSE | |
public static final int ELLIPSE |
-
DIAMOND | |
public static final int DIAMOND |
-
TRIANGLE | |
public static final int TRIANGLE |
-
RIGHT_TRIANGLE | |
public static final int RIGHT_TRIANGLE |
-
PARALLELOGRAM | |
public static final int PARALLELOGRAM |
-
TRAPEZOID | |
public static final int TRAPEZOID |
-
HEXAGON | |
public static final int HEXAGON |
-
OCTAGON | |
public static final int OCTAGON |
-
PLUS | |
public static final int PLUS |
-
STAR | |
public static final int STAR |
-
ARROW | |
public static final int ARROW |
-
THICK_ARROW | |
public static final int THICK_ARROW |
-
HOME_PLATE | |
public static final int HOME_PLATE |
-
CUBE | |
public static final int CUBE |
-
BALLOON | |
public static final int BALLOON |
-
SEAL | |
public static final int SEAL |
-
ARC | |
public static final int ARC |
-
LINE | |
public static final int LINE |
-
PLAQUE | |
public static final int PLAQUE |
-
CAN | |
public static final int CAN |
-
DONUT | |
public static final int DONUT |
-
TEXT_SIMPLE | |
public static final int TEXT_SIMPLE |
-
TEXT_OCTAGON | |
public static final int TEXT_OCTAGON |
-
TEXT_HEXAGON | |
public static final int TEXT_HEXAGON |
-
TEXT_CURVE | |
public static final int TEXT_CURVE |
-
TEXT_WAVE | |
public static final int TEXT_WAVE |
-
TEXT_RING | |
public static final int TEXT_RING |
-
TEXT_ON_CURVE | |
public static final int TEXT_ON_CURVE |
-
TEXT_ON_RING | |
public static final int TEXT_ON_RING |
-
STRAIGHT_CONNECTOR_1 | |
public static final int STRAIGHT_CONNECTOR_1 |
-
BENT_CONNECTOR_2 | |
public static final int BENT_CONNECTOR_2 |
-
BENT_CONNECTOR_3 | |
public static final int BENT_CONNECTOR_3 |
-
BENT_CONNECTOR_4 | |
public static final int BENT_CONNECTOR_4 |
-
BENT_CONNECTOR_5 | |
public static final int BENT_CONNECTOR_5 |
-
CURVED_CONNECTOR_2 | |
public static final int CURVED_CONNECTOR_2 |
-
CURVED_CONNECTOR_3 | |
public static final int CURVED_CONNECTOR_3 |
-
CURVED_CONNECTOR_4 | |
public static final int CURVED_CONNECTOR_4 |
-
CURVED_CONNECTOR_5 | |
public static final int CURVED_CONNECTOR_5 |
-
CALLOUT_1 | |
public static final int CALLOUT_1 |
-
CALLOUT_2 | |
public static final int CALLOUT_2 |
-
CALLOUT_3 | |
public static final int CALLOUT_3 |
-
ACCENT_CALLOUT_1 | |
public static final int ACCENT_CALLOUT_1 |
-
ACCENT_CALLOUT_2 | |
public static final int ACCENT_CALLOUT_2 |
-
ACCENT_CALLOUT_3 | |
public static final int ACCENT_CALLOUT_3 |
-
BORDER_CALLOUT_1 | |
public static final int BORDER_CALLOUT_1 |
-
BORDER_CALLOUT_2 | |
public static final int BORDER_CALLOUT_2 |
-
BORDER_CALLOUT_3 | |
public static final int BORDER_CALLOUT_3 |
-
ACCENT_BORDER_CALLOUT_1 | |
public static final int ACCENT_BORDER_CALLOUT_1 |
-
ACCENT_BORDER_CALLOUT_2 | |
public static final int ACCENT_BORDER_CALLOUT_2 |
-
ACCENT_BORDER_CALLOUT_3 | |
public static final int ACCENT_BORDER_CALLOUT_3 |
-
RIBBON | |
public static final int RIBBON |
-
RIBBON_2 | |
public static final int RIBBON_2 |
-
CHEVRON | |
public static final int CHEVRON |
-
PENTAGON | |
public static final int PENTAGON |
-
NO_SMOKING | |
public static final int NO_SMOKING |
-
SEAL_8 | |
public static final int SEAL_8 |
-
SEAL_16 | |
public static final int SEAL_16 |
-
SEAL_32 | |
public static final int SEAL_32 |
-
WEDGE_RECT_CALLOUT | |
public static final int WEDGE_RECT_CALLOUT |
-
WEDGE_R_RECT_CALLOUT | |
public static final int WEDGE_R_RECT_CALLOUT |
-
WEDGE_ELLIPSE_CALLOUT | |
public static final int WEDGE_ELLIPSE_CALLOUT |
-
WAVE | |
public static final int WAVE |
-
FOLDED_CORNER | |
public static final int FOLDED_CORNER |
-
LEFT_ARROW | |
public static final int LEFT_ARROW |
-
DOWN_ARROW | |
public static final int DOWN_ARROW |
-
UP_ARROW | |
public static final int UP_ARROW |
-
LEFT_RIGHT_ARROW | |
public static final int LEFT_RIGHT_ARROW |
-
UP_DOWN_ARROW | |
public static final int UP_DOWN_ARROW |
-
IRREGULAR_SEAL_1 | |
public static final int IRREGULAR_SEAL_1 |
-
IRREGULAR_SEAL_2 | |
public static final int IRREGULAR_SEAL_2 |
-
LIGHTNING_BOLT | |
public static final int LIGHTNING_BOLT |
-
HEART | |
public static final int HEART |
-
QUAD_ARROW | |
public static final int QUAD_ARROW |
-
LEFT_ARROW_CALLOUT | |
public static final int LEFT_ARROW_CALLOUT |
-
RIGHT_ARROW_CALLOUT | |
public static final int RIGHT_ARROW_CALLOUT |
-
UP_ARROW_CALLOUT | |
public static final int UP_ARROW_CALLOUT |
-
DOWN_ARROW_CALLOUT | |
public static final int DOWN_ARROW_CALLOUT |
-
LEFT_RIGHT_ARROW_CALLOUT | |
public static final int LEFT_RIGHT_ARROW_CALLOUT |
-
UP_DOWN_ARROW_CALLOUT | |
public static final int UP_DOWN_ARROW_CALLOUT |
-
QUAD_ARROW_CALLOUT | |
public static final int QUAD_ARROW_CALLOUT |
-
BEVEL | |
public static final int BEVEL |
-
LEFT_BRACKET | |
public static final int LEFT_BRACKET |
-
RIGHT_BRACKET | |
public static final int RIGHT_BRACKET |
-
LEFT_BRACE | |
public static final int LEFT_BRACE |
-
RIGHT_BRACE | |
public static final int RIGHT_BRACE |
-
LEFT_UP_ARROW | |
public static final int LEFT_UP_ARROW |
-
BENT_UP_ARROW | |
public static final int BENT_UP_ARROW |
-
BENT_ARROW | |
public static final int BENT_ARROW |
-
SEAL_24 | |
public static final int SEAL_24 |
-
STRIPED_RIGHT_ARROW | |
public static final int STRIPED_RIGHT_ARROW |
-
NOTCHED_RIGHT_ARROW | |
public static final int NOTCHED_RIGHT_ARROW |
-
BLOCK_ARC | |
public static final int BLOCK_ARC |
-
SMILEY_FACE | |
public static final int SMILEY_FACE |
-
VERTICAL_SCROLL | |
public static final int VERTICAL_SCROLL |
-
HORIZONTAL_SCROLL | |
public static final int HORIZONTAL_SCROLL |
-
CIRCULAR_ARROW | |
public static final int CIRCULAR_ARROW |
-
CUSTOM_SHAPE | |
public static final 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.
UTURN_ARROW | |
public static final int UTURN_ARROW |
-
CURVED_RIGHT_ARROW | |
public static final int CURVED_RIGHT_ARROW |
-
CURVED_LEFT_ARROW | |
public static final int CURVED_LEFT_ARROW |
-
CURVED_UP_ARROW | |
public static final int CURVED_UP_ARROW |
-
CURVED_DOWN_ARROW | |
public static final int CURVED_DOWN_ARROW |
-
CLOUD_CALLOUT | |
public static final int CLOUD_CALLOUT |
-
ELLIPSE_RIBBON | |
public static final int ELLIPSE_RIBBON |
-
ELLIPSE_RIBBON_2 | |
public static final int ELLIPSE_RIBBON_2 |
-
FLOW_CHART_PROCESS | |
public static final int FLOW_CHART_PROCESS |
-
FLOW_CHART_DECISION | |
public static final int FLOW_CHART_DECISION |
-
FLOW_CHART_INPUT_OUTPUT | |
public static final int FLOW_CHART_INPUT_OUTPUT |
-
FLOW_CHART_PREDEFINED_PROCESS | |
public static final int FLOW_CHART_PREDEFINED_PROCESS |
-
FLOW_CHART_INTERNAL_STORAGE | |
public static final int FLOW_CHART_INTERNAL_STORAGE |
-
FLOW_CHART_DOCUMENT | |
public static final int FLOW_CHART_DOCUMENT |
-
FLOW_CHART_MULTIDOCUMENT | |
public static final int FLOW_CHART_MULTIDOCUMENT |
-
FLOW_CHART_TERMINATOR | |
public static final int FLOW_CHART_TERMINATOR |
-
FLOW_CHART_PREPARATION | |
public static final int FLOW_CHART_PREPARATION |
-
FLOW_CHART_MANUAL_INPUT | |
public static final int FLOW_CHART_MANUAL_INPUT |
-
FLOW_CHART_MANUAL_OPERATION | |
public static final int FLOW_CHART_MANUAL_OPERATION |
-
FLOW_CHART_CONNECTOR | |
public static final int FLOW_CHART_CONNECTOR |
-
FLOW_CHART_PUNCHED_CARD | |
public static final int FLOW_CHART_PUNCHED_CARD |
-
FLOW_CHART_PUNCHED_TAPE | |
public static final int FLOW_CHART_PUNCHED_TAPE |
-
FLOW_CHART_SUMMING_JUNCTION | |
public static final int FLOW_CHART_SUMMING_JUNCTION |
-
FLOW_CHART_OR | |
public static final int FLOW_CHART_OR |
-
FLOW_CHART_COLLATE | |
public static final int FLOW_CHART_COLLATE |
-
FLOW_CHART_SORT | |
public static final int FLOW_CHART_SORT |
-
FLOW_CHART_EXTRACT | |
public static final int FLOW_CHART_EXTRACT |
-
FLOW_CHART_MERGE | |
public static final int FLOW_CHART_MERGE |
-
FLOW_CHART_OFFLINE_STORAGE | |
public static final int FLOW_CHART_OFFLINE_STORAGE |
-
FLOW_CHART_ONLINE_STORAGE | |
public static final int FLOW_CHART_ONLINE_STORAGE |
-
FLOW_CHART_MAGNETIC_TAPE | |
public static final int FLOW_CHART_MAGNETIC_TAPE |
-
FLOW_CHART_MAGNETIC_DISK | |
public static final int FLOW_CHART_MAGNETIC_DISK |
-
FLOW_CHART_MAGNETIC_DRUM | |
public static final int FLOW_CHART_MAGNETIC_DRUM |
-
FLOW_CHART_DISPLAY | |
public static final int FLOW_CHART_DISPLAY |
-
FLOW_CHART_DELAY | |
public static final int FLOW_CHART_DELAY |
-
TEXT_PLAIN_TEXT | |
public static final int TEXT_PLAIN_TEXT |
-
WordArt object.
TEXT_STOP | |
public static final int TEXT_STOP |
-
WordArt object.
TEXT_TRIANGLE | |
public static final int TEXT_TRIANGLE |
-
WordArt object.
TEXT_TRIANGLE_INVERTED | |
public static final int TEXT_TRIANGLE_INVERTED |
-
WordArt object.
TEXT_CHEVRON | |
public static final int TEXT_CHEVRON |
-
WordArt object.
TEXT_CHEVRON_INVERTED | |
public static final int TEXT_CHEVRON_INVERTED |
-
WordArt object.
TEXT_RING_INSIDE | |
public static final int TEXT_RING_INSIDE |
-
WordArt object.
TEXT_RING_OUTSIDE | |
public static final int TEXT_RING_OUTSIDE |
-
WordArt object.
TEXT_ARCH_UP_CURVE | |
public static final int TEXT_ARCH_UP_CURVE |
-
WordArt object.
TEXT_ARCH_DOWN_CURVE | |
public static final int TEXT_ARCH_DOWN_CURVE |
-
WordArt object.
TEXT_CIRCLE_CURVE | |
public static final int TEXT_CIRCLE_CURVE |
-
WordArt object.
TEXT_BUTTON_CURVE | |
public static final int TEXT_BUTTON_CURVE |
-
WordArt object.
TEXT_ARCH_UP_POUR | |
public static final int TEXT_ARCH_UP_POUR |
-
WordArt object.
TEXT_ARCH_DOWN_POUR | |
public static final int TEXT_ARCH_DOWN_POUR |
-
WordArt object.
TEXT_CIRCLE_POUR | |
public static final int TEXT_CIRCLE_POUR |
-
WordArt object.
TEXT_BUTTON_POUR | |
public static final int TEXT_BUTTON_POUR |
-
WordArt object.
TEXT_CURVE_UP | |
public static final int TEXT_CURVE_UP |
-
WordArt object.
TEXT_CURVE_DOWN | |
public static final int TEXT_CURVE_DOWN |
-
WordArt object.
TEXT_CASCADE_UP | |
public static final int TEXT_CASCADE_UP |
-
WordArt object.
TEXT_CASCADE_DOWN | |
public static final int TEXT_CASCADE_DOWN |
-
WordArt object.
TEXT_WAVE_1 | |
public static final int TEXT_WAVE_1 |
-
WordArt object.
TEXT_WAVE_2 | |
public static final int TEXT_WAVE_2 |
-
WordArt object.
TEXT_WAVE_3 | |
public static final int TEXT_WAVE_3 |
-
WordArt object.
TEXT_WAVE_4 | |
public static final int TEXT_WAVE_4 |
-
WordArt object.
TEXT_INFLATE | |
public static final int TEXT_INFLATE |
-
WordArt object.
TEXT_DEFLATE | |
public static final int TEXT_DEFLATE |
-
WordArt object.
TEXT_INFLATE_BOTTOM | |
public static final int TEXT_INFLATE_BOTTOM |
-
WordArt object.
TEXT_DEFLATE_BOTTOM | |
public static final int TEXT_DEFLATE_BOTTOM |
-
WordArt object.
TEXT_INFLATE_TOP | |
public static final int TEXT_INFLATE_TOP |
-
WordArt object.
TEXT_DEFLATE_TOP | |
public static final int TEXT_DEFLATE_TOP |
-
WordArt object.
TEXT_DEFLATE_INFLATE | |
public static final int TEXT_DEFLATE_INFLATE |
-
WordArt object.
TEXT_DEFLATE_INFLATE_DEFLATE | |
public static final int TEXT_DEFLATE_INFLATE_DEFLATE |
-
WordArt object.
TEXT_FADE_RIGHT | |
public static final int TEXT_FADE_RIGHT |
-
WordArt object.
TEXT_FADE_LEFT | |
public static final int TEXT_FADE_LEFT |
-
WordArt object.
TEXT_FADE_UP | |
public static final int TEXT_FADE_UP |
-
WordArt object.
TEXT_FADE_DOWN | |
public static final int TEXT_FADE_DOWN |
-
WordArt object.
TEXT_SLANT_UP | |
public static final int TEXT_SLANT_UP |
-
WordArt object.
TEXT_SLANT_DOWN | |
public static final int TEXT_SLANT_DOWN |
-
WordArt object.
TEXT_CAN_UP | |
public static final int TEXT_CAN_UP |
-
WordArt object.
TEXT_CAN_DOWN | |
public static final int TEXT_CAN_DOWN |
-
WordArt object.
FLOW_CHART_ALTERNATE_PROCESS | |
public static final int FLOW_CHART_ALTERNATE_PROCESS |
-
FLOW_CHART_OFFPAGE_CONNECTOR | |
public static final int FLOW_CHART_OFFPAGE_CONNECTOR |
-
CALLOUT_90 | |
public static final int CALLOUT_90 |
-
ACCENT_CALLOUT_90 | |
public static final int ACCENT_CALLOUT_90 |
-
BORDER_CALLOUT_90 | |
public static final int BORDER_CALLOUT_90 |
-
ACCENT_BORDER_CALLOUT_90 | |
public static final int ACCENT_BORDER_CALLOUT_90 |
-
LEFT_RIGHT_UP_ARROW | |
public static final int LEFT_RIGHT_UP_ARROW |
-
SUN | |
public static final int SUN |
-
MOON | |
public static final int MOON |
-
BRACKET_PAIR | |
public static final int BRACKET_PAIR |
-
BRACE_PAIR | |
public static final int BRACE_PAIR |
-
SEAL_4 | |
public static final int SEAL_4 |
-
DOUBLE_WAVE | |
public static final int DOUBLE_WAVE |
-
ACTION_BUTTON_BLANK | |
public static final int ACTION_BUTTON_BLANK |
-
ACTION_BUTTON_HOME | |
public static final int ACTION_BUTTON_HOME |
-
ACTION_BUTTON_HELP | |
public static final int ACTION_BUTTON_HELP |
-
ACTION_BUTTON_INFORMATION | |
public static final int ACTION_BUTTON_INFORMATION |
-
ACTION_BUTTON_FORWARD_NEXT | |
public static final int ACTION_BUTTON_FORWARD_NEXT |
-
ACTION_BUTTON_BACK_PREVIOUS | |
public static final int ACTION_BUTTON_BACK_PREVIOUS |
-
ACTION_BUTTON_END | |
public static final int ACTION_BUTTON_END |
-
ACTION_BUTTON_BEGINNING | |
public static final int ACTION_BUTTON_BEGINNING |
-
ACTION_BUTTON_RETURN | |
public static final int ACTION_BUTTON_RETURN |
-
ACTION_BUTTON_DOCUMENT | |
public static final int ACTION_BUTTON_DOCUMENT |
-
ACTION_BUTTON_SOUND | |
public static final int ACTION_BUTTON_SOUND |
-
ACTION_BUTTON_MOVIE | |
public static final int ACTION_BUTTON_MOVIE |
-
MIN_VALUE | |
public static final int MIN_VALUE |
-
Reserved for the system use.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.