/** Returns the drawing this shape container is part of. */
Drawing& getDrawing() { return mrDrawing; }
/** Creates and returns a new shape template object. */
std::shared_ptr<ShapeType> createShapeType(); /** Creates and returns a new shape object of the specified type. */ template< typename ShapeT >
std::shared_ptr<ShapeT> createShape();
/** Final processing after import of the drawing fragment. */ void finalizeFragmentImport();
/** Returns true, if this container does not contain any shapes. */ bool empty() const { return maShapes.empty(); }
/** Returns the shape template with the passed identifier.
Searches in all group shapes too. */ const ShapeType* getShapeTypeById( const OUString& rShapeId ) const; /** Returns the shape with the passed identifier.
Searches in all group shapes too. */ const ShapeBase* getShapeById( const OUString& rShapeId ) const;
/** Searches for a shape by using the passed functor that takes a constant
reference of a ShapeBase object. */ template< typename Functor > const ShapeBase* findShape( const Functor& rFunctor ) const;
Drawing& mrDrawing; ///< The VML drawing page that contains this shape.
ShapeTypeVector maTypes; ///< All shape templates.
ShapeVector maShapes; ///< All shape definitions.
ShapeTypeMap maTypesById; ///< All shape templates mapped by identifier.
ShapeMap maShapesById; ///< All shape definitions mapped by identifier.
std::stack< size_t > markStack; ///< Recursion marks from pushMark()/popMark().
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.