. Inline-автофигуры пишутся с дополнительными символами - { SHAPE \\* MERGEFORMAT } // TODO : надо разбираться с бинарниками, в спецификации таких фигур нету
oShapeSettings.SetBit(m_bGroup,0);// Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit(m_bChild,1);// Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit(0,2);// Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit(0,3);// Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit(0,4);// OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit(0,5);// HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit(m_bFlipH,6);// FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit(m_bFlipV,7);// FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit(0,8);// Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit(true,9);// HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit(0,10);// Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit(m_bHaveSpt,11);// HaveSpt - A bit that specifies whether this shape has a shape type property.
oOArtChShape.PushBack(OfficeArtClientTextbox(m_nTextBoxRef->GetIndex()));// Index form Array of textBoxes
returnoOArtChShape;
}
}
oOArtChShape.PushBack(OfficeArtClientData(1));
returnoOArtChShape;
}
inlineOfficeArtSpContainerGetSimplyShape()
{
ASCDocFormatUtils::BitSetoShapeSettings(4);
oShapeSettings.SetBit(0,0);// Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit(0,1);// Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit(0,2);// Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit(0,3);// Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit(0,4);// OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit(0,5);// HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit(0,6);// FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit(0,7);// FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit(0,8);// Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit(true,9);// HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit(0,10);// Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit(m_bHaveSpt,11);// HaveSpt - A bit that specifies whether this shape has a shape type property.
oShapeSettings.SetBit(m_bGroup,0);// Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit(m_bChild,1);// Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit(0,2);// Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit(0,3);// Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit(0,4);// OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit(0,5);// HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit(m_bFlipH,6);// FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit(m_bFlipV,7);// FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit(0,8);// Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit(true,9);// HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit(0,10);// Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit(m_bHaveSpt,11);// HaveSpt - A bit that specifies whether this shape has a shape type property.
oShapeSettings.SetBit(m_bGroup,0);// Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit(m_bChild,1);// Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit(0,2);// Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit(0,3);// Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit(0,4);// OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit(0,5);// HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit(m_bFlipH,6);// FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit(m_bFlipV,7);// FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit(0,8);// Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit(true,9);// HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit(0,10);// Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit(0,11);// HaveSpt - A bit that specifies whether this shape has a shape type property.
oShapeSettings.SetBit (0, 0); // Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit (0, 1); // Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit (0, 2); // Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit (0, 3); // Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit (0, 4); // OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit (0, 5); // HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit (0, 6); // FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit (0, 7); // FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit (0, 8); // Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit (true, 9); // HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit (0, 10); // Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit (true, 11); // HaveSpt - A bit that specifies whether this shape has a shape type property.
oShapeSettings.SetBit(true,0);// Group - A bit that specifies whether this shape is a group shape.
oShapeSettings.SetBit(0,1);// Child - A bit that specifies whether this shape is a child shape.
oShapeSettings.SetBit(true,2);// Patriarch - A bit that specifies whether this shape is the topmost group shape. Each drawing contains one topmost group shape
oShapeSettings.SetBit(0,3);// Deleted - A bit that specifies whether this shape has been deleted.
oShapeSettings.SetBit(0,4);// OleShape - A bit that specifies whether this shape is an OLE object.
oShapeSettings.SetBit(0,5);// HaveMaster - A bit that specifies whether this shape has a valid master in the hspMaster property, as defined in section
oShapeSettings.SetBit(0,6);// FlipH - A bit that specifies whether this shape is horizontally flipped.
oShapeSettings.SetBit(0,7);// FlipV - A bit that specifies whether this shape is vertically flipped.
oShapeSettings.SetBit(0,8);// Connector - A bit that specifies whether this shape is a connector shape.
oShapeSettings.SetBit(0,9);// HaveAnchor - A bit that specifies whether this shape has an anchor.
oShapeSettings.SetBit(0,10);// Background - A bit that specifies whether this shape is a background shape.
oShapeSettings.SetBit(0,11);// HaveSpt - A bit that specifies whether this shape has a shape type property.
#error "Single-threaded COM objects are not properly supported on Windows CE platform, such as the Windows Mobile platforms that do not include full DCOM support. Define _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA to force ATL to support creating single-thread COM object's and allow use of it's single-threaded COM object implementations. The threading model in your rgs file was set to 'Free' as that is the only threading model supported in non DCOM Windows CE platforms."