//ax_ignore, //\shpbxignore Ignore \shpbxpage, \shpbxmargin, and \shpbxcolumn, in favor of the posrelh property. The ignored properties will be written for backward compatibility with older readers that do not understand \posrelh.
ax_page,//\shpbxpage The shape is positioned relative to the page in the x (horizontal) direction.
ax_margin,//\shpbxmargin The shape is positioned relative to the margin in the x (horizontal) direction.
ax_column//\shpbxcolumn The shape is positioned relative to the column in the x (horizontal) direction.
//ax_ignore, //shpbxignore Ignore \shpbxpage, \shpbxmargin, and \shpbxcolumn, in favor of the posrelh property. The ignored properties will be written for backward compatibility with older readers that do not understand \posrelh.
ax_page,//shpbxpage The shape is positioned relative to the page in the x (horizontal) direction.
ax_margin,//shpbxmargin The shape is positioned relative to the margin in the x (horizontal) direction.
ax_column//shpbxcolumn The shape is positioned relative to the column in the x (horizontal) direction.
}AnchorX;
typedefenum{
ay_none,
//ay_ignore, //\shpbyignore Ignore \shpbypage, \shpbymargin, and \shpbxpara, in favor of the posrelh property. The ignored properties will be written for backward compatibility with older readers that do not understand the posrelh property.
ay_page,//\shpbypage The shape is positioned relative to the page in the y (vertical) direction.
ay_margin,//\shpbymargin The shape is positioned relative to the margin in the y (vertical) direction.
ay_Para//\shpbypara The shape is positioned relative to the paragraph in the y (vertical) direction.
//ay_ignore, //shpbyignore Ignore \shpbypage, \shpbymargin, and \shpbxpara, in favor of the posrelh property. The ignored properties will be written for backward compatibility with older readers that do not understand the posrelh property.
ay_page,//shpbypage The shape is positioned relative to the page in the y (vertical) direction.
ay_margin,//shpbymargin The shape is positioned relative to the margin in the y (vertical) direction.
ay_Para//shpbypara The shape is positioned relative to the paragraph in the y (vertical) direction.
}AnchorY;
ShapeTypem_eShapeType;
...
...
@@ -56,63 +56,65 @@ public:
CStringm_sName;
CStringm_sDescription;
intm_nLeft;//\shpleftN Specifies position of shape from the left of the anchor. The value N is in twips.
intm_nTop;//\shptopN Specifies position of shape from the top of the anchor. The value N is in twips.
intm_nBottom;//\shpbottomN Specifies position of shape from the bottom of the anchor. The value N is in twips.
intm_nRight;//\shprightN Specifies position of shape from the right of the anchor. The value N is in twips.
intm_nID;//\shplidN A number that is unique to each shape. This keyword is primarily used for linked text boxes. The value N is a long integer.
intm_nZOrder;//\shpzN Describes the z-order of the shape. It starts at 0 for the shape that is furthest from the top, and proceeds to the top most shape (N). The shapes that appear inside the header document will have a separate z-order, compared to the z-order of the shapes in the main document. For instance, both the back-most shape in the header and the back-most main-document shape will have a z-order of 0.
intm_nHeader;//\shpfhdrN Set to 0 if the shape is in the main document. Set to 1 if the shape is in the header document.
intm_nWrapType;//\shpwrN Describes the type of wrap for the shape:
intm_nWrapSideType;//\shpwrkN Wrap on side (for types 2 and 4 for \shpwrN ):
intm_bLockAnchor;//\shplockanchor Lock anchor for a shape.
intm_nLeft;//shpleftN Specifies position of shape from the left of the anchor. The value N is in twips.
intm_nTop;//shptopN Specifies position of shape from the top of the anchor. The value N is in twips.
intm_nBottom;//shpbottomN Specifies position of shape from the bottom of the anchor. The value N is in twips.
intm_nRight;//shprightN Specifies position of shape from the right of the anchor. The value N is in twips.
intm_nID;//shplidN A number that is unique to each shape. This keyword is primarily used for linked text boxes. The value N is a long integer.
intm_nZOrder;//shpzN Describes the z-order of the shape. It starts at 0 for the shape that is furthest from the top, and proceeds to the top most shape (N). The shapes that appear inside the header document will have a separate z-order, compared to the z-order of the shapes in the main document. For instance, both the back-most shape in the header and the back-most main-document shape will have a z-order of 0.
intm_nHeader;//shpfhdrN Set to 0 if the shape is in the main document. Set to 1 if the shape is in the header document.
intm_nWrapType;//shpwrN Describes the type of wrap for the shape:
intm_nWrapSideType;//shpwrkN Wrap on side (for types 2 and 4 for \shpwrN ):
intm_nPositionHRelative;//posrelh Position horizontally relative to:
intm_nPositionV;//posv Vertical alignment:
intm_nPositionVRelative;//posrelv Position horizontally relative to:
intm_bLayoutInCell;//fLayoutInCell Allows shape to anchor and position inside table cells.
intm_bAllowOverlap;//fAllowOverlap Allows shape to overlap other shapes unless it is a shape with None wrapping (\shpwr3), in which case it can always overlap an object with other types of wrapping and vice-versa.
intm_nPositionH;//posh Horizontal alignment
intm_nPositionHRelative;//posrelh Position horizontally relative to:
intm_nPositionV;//posv Vertical alignment:
intm_nPositionVRelative;//posrelv Position horizontally relative to:
intm_bLayoutInCell;//fLayoutInCell Allows shape to anchor and position inside table cells.
intm_bAllowOverlap;//fAllowOverlap Allows shape to overlap other shapes unless it is a shape with None wrapping (\shpwr3), in which case it can always overlap an object with other types of wrapping and vice-versa.
//Position relative
intm_nPositionHPct;//pctHorizPos Percentage horizontal position for a shape
intm_nPositionVPct;//pctVert Percentage vertical position for a shape
intm_nPctWidth;//pctHoriz Percentage width for a shape
intm_nPctHeight;//pctVert Percentage height for a shape
CStringm_sMetroBlob;// metroBlob Specifies application-specific data used to convert a shape to other formats. It is an encoded TBYTE stream.
CStringm_sMetroBlob;// metroBlob Specifies application-specific data used to convert a shape to other formats. It is an encoded TBYTE stream.
CStringm_sMetroBlobRels;
CStringm_sMetroBlobData;
//Object Type
intm_bIsBullet;//fIsBullet Indicates whether a picture was inserted as a picture bullet.
intm_nRotation;//rotation Rotation of the shape. Angle 0
intm_bFlipV;//fFlipV Vertical flip, applied after the rotation. Boolean FALSE
intm_bFlipH;//fFlipH Horizontal flip, applied after the rotation. Boolean FALSE
intm_nShapeType;//shapeType See below for values. 0 indicates user-drawn freeforms and polygons. Not applicable Not applicable
intm_nWrapDistLeft;//dxWrapDistLeft Left wrapping distance from text.
intm_nWrapDistTop;//
intm_nWrapDistRight;//
intm_nWrapDistBottom;//
// int m_bBehindDocument; //fBehindDocument Place the shape behind text. Boolean FALSE
intm_bHidden;//fHidden Do not display or print (only set through Visual Basic for Applications). Boolean FALSE
boolm_bIsOle;
intm_bIsBullet;//fIsBullet Indicates whether a picture was inserted as a picture bullet.
intm_nRotation;//rotation Rotation of the shape. Angle 0
intm_bFlipV;//fFlipV Vertical flip, applied after the rotation. Boolean FALSE
intm_bFlipH;//fFlipH Horizontal flip, applied after the rotation. Boolean FALSE
intm_nShapeType;//shapeType See below for values. 0 indicates user-drawn freeforms and polygons. Not applicable Not applicable
intm_nWrapDistLeft;//dxWrapDistLeft Left wrapping distance from text.
intm_nWrapDistTop;//
intm_nWrapDistRight;//
intm_nWrapDistBottom;//
// int m_bBehindDocument; //Place the shape behind text. Boolean FALSE
intm_bHidden;//Do not display or print (only set through Visual Basic for Applications). Boolean FALSE
//Text box
intm_nTexpLeft;//dxTextLeft Left internal margin of the text box. EMU 91,440
intm_nTexpTop;//
intm_nTexpRight;//
intm_nTexpBottom;//
intm_nTexpLeft;//dxTextLeft Left internal margin of the text box. EMU 91,440
intm_nTexpTop;//
intm_nTexpRight;//
intm_nTexpBottom;//
//Geometry
intm_nAdjustValue;//adjustValue First adjust value from an adjust handle. The interpretation varies with the shape type. Adjust values alter the geometry of the shape in smart ways. Integer 0
intm_nAdjustValue;//adjustValue First adjust value from an adjust handle. The interpretation varies with the shape type. Adjust values alter the geometry of the shape in smart ways. Integer 0
intm_nAdjustValue2;
intm_nAdjustValue3;
intm_nAdjustValue4;
...
...
@@ -123,46 +125,59 @@ public:
intm_nAdjustValue9;
intm_nAdjustValue10;
//Connectors
intm_nConnectionType;//cxk Connection site type
intm_nConnectorStyle;//cxstyle Connector style
//WordArt Effects
intm_nCropFromTop;//cropFromTop Top cropping percentage. Измеряется в fraction 1 /65536
intm_nCropFromLeft;//cropFromLeft Left cropping percentage.
intm_nCropFromRight;//cropFromRight Right cropping percentage.
//Grouped Shapes
intm_nGroupBottom;//groupBottom Defines the height of the group rectangle, but does not necessarily indicate position on the page. The difference between groupBottom and groupTop should match the dimensions specified by \shptopN and \shpbottomN.
intm_nGroupLeft;//groupLeft Defines the width of the group rectangle, but does not necessarily indicate position on the page. The difference between groupLeft and groupRight should match the dimensions specified by \shpleftN and \shprightN.
intm_nGroupRight;//groupRight See meaning for groupLeft.
intm_nGroupTop;//groupTop See meaning for groupBottom.
intm_nRelBottom;//relBottom Defines the bottom of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelLeft;//relLeft Defines the left of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelRight;//relRight Defines the right of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelTop;//relTop Defines the top of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelRotation;//relRotation Represents the information stored in the site of a shape, which defines the size and location of the shape in the parent group or drawing. The coordinates are relative to the position of the parent group or drawing. The units are relative to the m_rcg of the parent.
intm_nRelZOrder;//dhgt Word 2007 Z-order position of shape(s) on a page. Shapes with small dhgts are further back than shapes with large dhgts.
intm_nGroupBottom;//groupBottom Defines the height of the group rectangle, but does not necessarily indicate position on the page. The difference between groupBottom and groupTop should match the dimensions specified by \shptopN and \shpbottomN.
intm_nGroupLeft;//groupLeft Defines the width of the group rectangle, but does not necessarily indicate position on the page. The difference between groupLeft and groupRight should match the dimensions specified by \shpleftN and \shprightN.
intm_nGroupRight;//groupRight See meaning for groupLeft.
intm_nGroupTop;//groupTop See meaning for groupBottom.
intm_nRelBottom;//relBottom Defines the bottom of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelLeft;//relLeft Defines the left of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelRight;//relRight Defines the right of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelTop;//relTop Defines the top of a shape within its parent shape (used for shapes in a group). The measurement is relative to the position of the parent group or drawing.
intm_nRelRotation;//relRotation Represents the information stored in the site of a shape, which defines the size and location of the shape in the parent group or drawing. The coordinates are relative to the position of the parent group or drawing. The units are relative to the m_rcg of the parent.
intm_nRelZOrder;//dhgt Word 2007 Z-order position of shape(s) on a page. Shapes with small dhgts are further back than shapes with large dhgts.