//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_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_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_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_column//shpbxcolumn The shape is positioned relative to the column in the x (horizontal) direction.
}AnchorX;
}AnchorX;
typedefenum{
typedefenum{
ay_none,
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_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_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_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_Para//shpbypara The shape is positioned relative to the paragraph in the y (vertical) direction.
}AnchorY;
}AnchorY;
ShapeTypem_eShapeType;
ShapeTypem_eShapeType;
...
@@ -56,63 +56,65 @@ public:
...
@@ -56,63 +56,65 @@ public:
CStringm_sName;
CStringm_sName;
CStringm_sDescription;
CStringm_sDescription;
intm_nLeft;//\shpleftN Specifies position of shape from the left of the anchor. The value N is in twips.
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_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_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_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_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_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_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_nWrapType;//shpwrN Describes the type of wrap for the shape:
intm_nWrapSideType;//\shpwrkN Wrap on side (for types 2 and 4 for \shpwrN ):
intm_nWrapSideType;//shpwrkN Wrap on side (for types 2 and 4 for \shpwrN ):
intm_nPositionHRelative;//posrelh Position horizontally relative to:
intm_nPositionHRelative;//posrelh Position horizontally relative to:
intm_nPositionV;//posv Vertical alignment:
intm_nPositionV;//posv Vertical alignment:
intm_nPositionVRelative;//posrelv Position horizontally relative to:
intm_nPositionVRelative;//posrelv Position horizontally relative to:
intm_bLayoutInCell;//fLayoutInCell Allows shape to anchor and position inside table cells.
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_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
//Position relative
intm_nPositionHPct;//pctHorizPos Percentage horizontal position for a shape
intm_nPositionHPct;//pctHorizPos Percentage horizontal position for a shape
intm_nPositionVPct;//pctVert Percentage vertical position for a shape
intm_nPositionVPct;//pctVert Percentage vertical position for a shape
intm_nPctWidth;//pctHoriz Percentage width for a shape
intm_nPctWidth;//pctHoriz Percentage width for a shape
intm_nPctHeight;//pctVert Percentage height 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_sMetroBlobRels;
CStringm_sMetroBlobData;
CStringm_sMetroBlobData;
//Object Type
//Object Type
intm_bIsBullet;//fIsBullet Indicates whether a picture was inserted as a picture bullet.
boolm_bIsOle;
intm_nRotation;//rotation Rotation of the shape. Angle 0
intm_bIsBullet;//fIsBullet Indicates whether a picture was inserted as a picture bullet.
intm_bFlipV;//fFlipV Vertical flip, applied after the rotation. Boolean FALSE
intm_nRotation;//rotation Rotation of the shape. Angle 0
intm_bFlipH;//fFlipH Horizontal flip, applied after the rotation. Boolean FALSE
intm_bFlipV;//fFlipV Vertical 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_bFlipH;//fFlipH Horizontal flip, applied after the rotation. Boolean FALSE
intm_nWrapDistLeft;//dxWrapDistLeft Left wrapping distance from text.
intm_nShapeType;//shapeType See below for values. 0 indicates user-drawn freeforms and polygons. Not applicable Not applicable
intm_nWrapDistTop;//
intm_nWrapDistLeft;//dxWrapDistLeft Left wrapping distance from text.
intm_nWrapDistRight;//
intm_nWrapDistTop;//
intm_nWrapDistBottom;//
intm_nWrapDistRight;//
// int m_bBehindDocument; //fBehindDocument Place the shape behind text. Boolean FALSE
intm_nWrapDistBottom;//
intm_bHidden;//fHidden Do not display or print (only set through Visual Basic for Applications). Boolean FALSE
// 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
//Text box
intm_nTexpLeft;//dxTextLeft Left internal margin of the text box. EMU 91,440
intm_nTexpLeft;//dxTextLeft Left internal margin of the text box. EMU 91,440
intm_nTexpTop;//
intm_nTexpTop;//
intm_nTexpRight;//
intm_nTexpRight;//
intm_nTexpBottom;//
intm_nTexpBottom;//
//Geometry
//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_nAdjustValue2;
intm_nAdjustValue3;
intm_nAdjustValue3;
intm_nAdjustValue4;
intm_nAdjustValue4;
...
@@ -123,46 +125,59 @@ public:
...
@@ -123,46 +125,59 @@ public:
intm_nAdjustValue9;
intm_nAdjustValue9;
intm_nAdjustValue10;
intm_nAdjustValue10;
//Connectors
//Connectors
intm_nConnectionType;//cxk Connection site type
intm_nConnectionType;//cxk Connection site type
intm_nConnectorStyle;//cxstyle Connector style
intm_nConnectorStyle;//cxstyle Connector style
//WordArt Effects
//Picture Effects
intm_nCropFromTop;//cropFromTop Top cropping percentage. Измеряется в fraction 1 /65536
intm_nCropFromTop;//cropFromTop Top cropping percentage. Измеряется в fraction 1 /65536
intm_nCropFromLeft;//cropFromLeft Left cropping percentage.
intm_nCropFromLeft;//cropFromLeft Left cropping percentage.
intm_nCropFromRight;//cropFromRight Right cropping percentage.
intm_nCropFromRight;//cropFromRight Right cropping percentage.
//Grouped Shapes
//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_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_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_nGroupRight;//groupRight See meaning for groupLeft.
intm_nGroupTop;//groupTop See meaning for groupBottom.
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_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_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_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_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_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_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.