#include <shapeexport.hxx>


Public Member Functions | |
| XMLShapeExport (SvXMLExport &rExp, SvXMLExportPropertyMapper *pExtMapper=0) | |
| virtual | ~XMLShapeExport () |
| void | collectShapeAutoStyles (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| void | exportShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL, SvXMLAttributeList *pAttrList=NULL) |
| void | collectShapesAutoStyles (const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > &xShapes) |
| void | exportShapes (const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > &xShapes, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| void | seekShapes (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > &xShapes) throw () |
| initializes some internal structures for fast access to the given XShapes collection | |
| void | exportAutoStyles () |
| void | setAnimationsExporter (UniReference< XMLAnimationsExporter > xAnimExport) |
| sets a new reference to an XMLAnimationExporter. | |
| UniReference < XMLAnimationsExporter > | getAnimationsExporter () const |
| returns the last set XMLAnimationExport | |
| void | enableLayerExport (sal_Bool bEnable=sal_True) |
| sal_Bool | IsLayerExportEnabled () const |
| void | enableHandleProgressBar (sal_Bool bEnable=sal_True) |
| defines if the export should increment the progress bar or not | |
| sal_Bool | IsHandleProgressBarEnabled () const |
| void | setPresentationStylePrefix (const rtl::OUString &rPrefix) |
| void | export3DSceneAttributes (const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > &xPropSet) |
| helper for chart that adds all attributes of a 3d scene element to the export | |
| void | export3DLamps (const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > &xPropSet) |
| helper for chart that exports all lamps from the propertyset | |
| com::sun::star::uno::Reference < com::sun::star::drawing::XShape > | checkForCustomShapeReplacement (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &) |
| sj: replacing CustomShapes with standard objects that are also supported in OpenOffice.org format | |
| void | ExportGraphicDefaults () |
| helper to export the style for graphic defaults | |
| virtual void | onExport (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| is called before a shape element for the given XShape is exported | |
| const rtl::Reference < XMLTableExport > & | GetShapeTableExport () |
Static Public Member Functions | |
| static SvXMLExportPropertyMapper * | CreateShapePropMapper (SvXMLExport &rExport) |
| returns the export property mapper for external chaining | |
Protected Member Functions | |
| SvXMLExport & | GetExport () |
| const SvXMLExport & | GetExport () const |
Private Member Functions | |
| SAL_DLLPRIVATE UniReference < SvXMLExportPropertyMapper > | GetPropertySetMapper () const |
| SAL_DLLPRIVATE void | ImpCalcShapeType (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType &eShapeType) |
| SAL_DLLPRIVATE void | ImpExportNewTrans (const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > &xPropSet, sal_Int32 nFeatures, com::sun::star::awt::Point *pRefPoint) |
| SAL_DLLPRIVATE void | ImpExportNewTrans_GetB2DHomMatrix (::basegfx::B2DHomMatrix &rMatrix, const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > &xPropSet) |
| SAL_DLLPRIVATE void | ImpExportNewTrans_DecomposeAndRefPoint (const ::basegfx::B2DHomMatrix &rMat,::basegfx::B2DTuple &rTRScale, double &fTRShear, double &fTRRotate,::basegfx::B2DTuple &rTRTranslate, com::sun::star::awt::Point *pRefPoint) |
| SAL_DLLPRIVATE void | ImpExportNewTrans_FeaturesAndWrite (::basegfx::B2DTuple &rTRScale, double fTRShear, double fTRRotate,::basegfx::B2DTuple &rTRTranslate, const sal_Int32 nFeatures) |
| SAL_DLLPRIVATE sal_Bool | ImpExportPresentationAttributes (const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > &xPropSet, const rtl::OUString &rClass) |
| SAL_DLLPRIVATE void | ImpExportText (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| SAL_DLLPRIVATE void | ImpExportEvents (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| SAL_DLLPRIVATE void | ImpExportDescription (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| SAL_DLLPRIVATE void | ImpExportGluePoints (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape) |
| SAL_DLLPRIVATE void | ImpExportGroupShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExport3DSceneShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportRectangleShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportLineShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportEllipseShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportPolygonShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportTextBoxShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportGraphicObjectShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportChartShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL, SvXMLAttributeList *pAttrList=NULL) |
| SAL_DLLPRIVATE void | ImpExportControlShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportConnectorShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportMeasureShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportOLE2Shape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL, SvXMLAttributeList *pAttrList=NULL) |
| SAL_DLLPRIVATE void | ImpExportPageShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportCaptionShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExport3DShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportFrameShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportPluginShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportAppletShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportCustomShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportMediaShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
| SAL_DLLPRIVATE void | ImpExportTableShape (const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > &xShape, XmlShapeType eShapeType, sal_Int32 nFeatures=SEF_DEFAULT, com::sun::star::awt::Point *pRefPoint=NULL) |
Private Attributes | |
| SvXMLExport & | mrExport |
| UniReference < XMLPropertyHandlerFactory > | mxSdPropHdlFactory |
| UniReference < SvXMLExportPropertyMapper > | mxPropertySetMapper |
| UniReference < XMLAnimationsExporter > | mxAnimationsExporter |
| sal_Int32 | mnNextUniqueShapeId |
| ShapesInfos | maShapesInfos |
| ShapesInfos::iterator | maCurrentShapesIter |
| sal_Bool | mbExportLayer |
| ImplXMLShapeExportInfoVector | maShapeInfos |
| ImplXMLShapeExportInfoVector::iterator | maCurrentInfo |
| rtl::OUString | msPresentationStylePrefix |
| sal_Bool | mbHandleProgressBar |
| rtl::Reference< XMLTableExport > | mxShapeTableExport |
| const rtl::OUString | msZIndex |
| const rtl::OUString | msEmptyPres |
| const rtl::OUString | msModel |
| const rtl::OUString | msStartShape |
| const rtl::OUString | msEndShape |
| const rtl::OUString | msOnClick |
| const rtl::OUString | msEventType |
| const rtl::OUString | msPresentation |
| const rtl::OUString | msMacroName |
| const rtl::OUString | msScript |
| const rtl::OUString | msLibrary |
| const rtl::OUString | msClickAction |
| const rtl::OUString | msBookmark |
| const rtl::OUString | msEffect |
| const rtl::OUString | msPlayFull |
| const rtl::OUString | msVerb |
| const rtl::OUString | msSoundURL |
| const rtl::OUString | msSpeed |
| const rtl::OUString | msStarBasic |
| rtl::OUStringBuffer | msBuffer |
Definition at line 163 of file shapeexport.hxx.
| XMLShapeExport::XMLShapeExport | ( | SvXMLExport & | rExp, | |
| SvXMLExportPropertyMapper * | pExtMapper = 0 | |||
| ) |
Definition at line 74 of file shapeexport.cxx.
References CreateShapePropMapper(), SvXMLExport::GetAutoStylePool(), SvXMLExport::GetModel(), GetPropertySetMapper(), GetShapeTableExport(), maCurrentInfo, maShapeInfos, mrExport, mxPropertySetMapper, mxSdPropHdlFactory, OUString, XML_STYLE_FAMILY_SD_GRAPHICS_ID, XML_STYLE_FAMILY_SD_GRAPHICS_NAME, XML_STYLE_FAMILY_SD_GRAPHICS_PREFIX, XML_STYLE_FAMILY_SD_PRESENTATION_ID, XML_STYLE_FAMILY_SD_PRESENTATION_NAME, and XML_STYLE_FAMILY_SD_PRESENTATION_PREFIX.
| XMLShapeExport::~XMLShapeExport | ( | ) | [virtual] |
Definition at line 135 of file shapeexport.cxx.
| SvXMLExport& XMLShapeExport::GetExport | ( | ) | [inline, protected] |
Definition at line 185 of file shapeexport.hxx.
References mrExport.
Referenced by exportAutoStyles().
| const SvXMLExport& XMLShapeExport::GetExport | ( | ) | const [inline, protected] |
| SAL_DLLPRIVATE UniReference< SvXMLExportPropertyMapper > XMLShapeExport::GetPropertySetMapper | ( | ) | const [inline, private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpCalcShapeType | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType & | eShapeType | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportNewTrans | ( | const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & | xPropSet, | |
| sal_Int32 | nFeatures, | |||
| com::sun::star::awt::Point * | pRefPoint | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportNewTrans_GetB2DHomMatrix | ( | ::basegfx::B2DHomMatrix & | rMatrix, | |
| const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & | xPropSet | |||
| ) | [private] |
| void XMLShapeExport::ImpExportNewTrans_DecomposeAndRefPoint | ( | const ::basegfx::B2DHomMatrix & | rMat, | |
| ::basegfx::B2DTuple & | rTRScale, | |||
| double & | fTRShear, | |||
| double & | fTRRotate, | |||
| ::basegfx::B2DTuple & | rTRTranslate, | |||
| com::sun::star::awt::Point * | pRefPoint | |||
| ) | [private] |
Definition at line 129 of file shapeexport2.cxx.
| void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite | ( | ::basegfx::B2DTuple & | rTRScale, | |
| double | fTRShear, | |||
| double | fTRRotate, | |||
| ::basegfx::B2DTuple & | rTRTranslate, | |||
| const sal_Int32 | nFeatures | |||
| ) | [private] |
Definition at line 142 of file shapeexport2.cxx.
References SvXMLExport::AddAttribute(), SdXMLImExTransform2D::AddRotate(), SdXMLImExTransform2D::AddSkewX(), SdXMLImExTransform2D::AddTranslate(), BOOL, SvXMLUnitConverter::convertMeasure(), FRound(), SdXMLImExTransform2D::GetExportString(), SvXMLExport::GetMM100UnitConverter(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), mrExport, SdXMLImExTransform2D::NeedsAction(), OUString, SEF_EXPORT_HEIGHT, SEF_EXPORT_WIDTH, SEF_EXPORT_X, SEF_EXPORT_Y, xmloff::token::XML_HEIGHT, xmloff::token::XML_TRANSFORM, xmloff::token::XML_WIDTH, xmloff::token::XML_X, and xmloff::token::XML_Y.
| SAL_DLLPRIVATE sal_Bool XMLShapeExport::ImpExportPresentationAttributes | ( | const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & | xPropSet, | |
| const rtl::OUString & | rClass | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportText | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportEvents | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportDescription | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportGluePoints | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportGroupShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExport3DSceneShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportRectangleShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportLineShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportEllipseShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportPolygonShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportTextBoxShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportGraphicObjectShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportChartShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL, |
|||
| SvXMLAttributeList * | pAttrList = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportControlShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportConnectorShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportMeasureShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportOLE2Shape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL, |
|||
| SvXMLAttributeList * | pAttrList = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportPageShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportCaptionShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExport3DShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportFrameShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportPluginShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportAppletShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportCustomShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportMediaShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| SAL_DLLPRIVATE void XMLShapeExport::ImpExportTableShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| XmlShapeType | eShapeType, | |||
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) | [private] |
| void XMLShapeExport::collectShapeAutoStyles | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) |
| void XMLShapeExport::exportShape | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape, | |
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL, |
|||
| SvXMLAttributeList * | pAttrList = NULL | |||
| ) |
| void XMLShapeExport::collectShapesAutoStyles | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > & | xShapes | ) |
| void XMLShapeExport::exportShapes | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > & | xShapes, | |
| sal_Int32 | nFeatures = SEF_DEFAULT, |
|||
| com::sun::star::awt::Point * | pRefPoint = NULL | |||
| ) |
| void XMLShapeExport::seekShapes | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > & | xShapes | ) | throw () |
initializes some internal structures for fast access to the given XShapes collection
This method has to be called before you use exportShape or collectShapeAutoStyles. It is automaticly called if you use collectShapesAutoStyles and exportShapes.
| void XMLShapeExport::exportAutoStyles | ( | ) |
Definition at line 928 of file shapeexport.cxx.
References SvXMLExport::GetAutoStylePool(), GetExport(), mxShapeTableExport, XML_STYLE_FAMILY_SD_GRAPHICS_ID, and XML_STYLE_FAMILY_SD_PRESENTATION_ID.
| void XMLShapeExport::setAnimationsExporter | ( | UniReference< XMLAnimationsExporter > | xAnimExport | ) | [inline] |
sets a new reference to an XMLAnimationExporter.
If this is a non NULL reference, the animation information from all shapes given to exportShape() from now on are collected.
Definition at line 294 of file shapeexport.hxx.
| UniReference< XMLAnimationsExporter > XMLShapeExport::getAnimationsExporter | ( | ) | const [inline] |
| SvXMLExportPropertyMapper * XMLShapeExport::CreateShapePropMapper | ( | SvXMLExport & | rExport | ) | [static] |
returns the export property mapper for external chaining
Definition at line 961 of file shapeexport.cxx.
References SvXMLExport::GetModel(), and SvXMLExport::GetTextParagraphExport().
Referenced by ExportGraphicDefaults(), XMLChartExportPropertyMapper::XMLChartExportPropertyMapper(), and XMLShapeExport().
| void XMLShapeExport::enableLayerExport | ( | sal_Bool | bEnable = sal_True |
) | [inline] |
Definition at line 302 of file shapeexport.hxx.
| sal_Bool XMLShapeExport::IsLayerExportEnabled | ( | ) | const [inline] |
Definition at line 303 of file shapeexport.hxx.
| void XMLShapeExport::enableHandleProgressBar | ( | sal_Bool | bEnable = sal_True |
) | [inline] |
defines if the export should increment the progress bar or not
Definition at line 307 of file shapeexport.hxx.
| sal_Bool XMLShapeExport::IsHandleProgressBarEnabled | ( | ) | const [inline] |
Definition at line 308 of file shapeexport.hxx.
| void XMLShapeExport::setPresentationStylePrefix | ( | const rtl::OUString & | rPrefix | ) | [inline] |
Definition at line 310 of file shapeexport.hxx.
| void XMLShapeExport::export3DSceneAttributes | ( | const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & | xPropSet | ) |
helper for chart that adds all attributes of a 3d scene element to the export
Definition at line 330 of file shapeexport3.cxx.
References SvXMLExport::AddAttribute(), SdXMLImExTransform3D::AddHomogenMatrix(), SvXMLUnitConverter::convertB3DVector(), SvXMLUnitConverter::convertBool(), SvXMLUnitConverter::convertColor(), SvXMLUnitConverter::convertMeasure(), SvXMLUnitConverter::convertNumber(), SdXMLImExTransform3D::GetExportString(), SvXMLExport::GetMM100UnitConverter(), xmloff::token::GetXMLToken(), mrExport, SdXMLImExTransform3D::NeedsAction(), OUString, xmloff::token::XML_AMBIENT_COLOR, xmloff::token::XML_DISTANCE, xmloff::token::XML_DRAFT, xmloff::token::XML_FLAT, xmloff::token::XML_FOCAL_LENGTH, xmloff::token::XML_GOURAUD, xmloff::token::XML_LIGHTING_MODE, xmloff::token::XML_PARALLEL, xmloff::token::XML_PERSPECTIVE, xmloff::token::XML_PHONG, xmloff::token::XML_PROJECTION, xmloff::token::XML_SHADE_MODE, xmloff::token::XML_SHADOW_SLANT, xmloff::token::XML_TRANSFORM, xmloff::token::XML_VPN, xmloff::token::XML_VRP, and xmloff::token::XML_VUP.
| void XMLShapeExport::export3DLamps | ( | const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & | xPropSet | ) |
helper for chart that exports all lamps from the propertyset
Definition at line 447 of file shapeexport3.cxx.
References SvXMLExport::AddAttribute(), SvXMLUnitConverter::convertB3DVector(), SvXMLUnitConverter::convertBool(), SvXMLUnitConverter::convertColor(), SvXMLExport::GetMM100UnitConverter(), mrExport, OUString, xmloff::token::XML_DIFFUSE_COLOR, xmloff::token::XML_DIRECTION, xmloff::token::XML_ENABLED, xmloff::token::XML_FALSE, xmloff::token::XML_LIGHT, xmloff::token::XML_SPECULAR, and xmloff::token::XML_TRUE.
| com::sun::star::uno::Reference< com::sun::star::drawing::XShape > XMLShapeExport::checkForCustomShapeReplacement | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | ) |
sj: replacing CustomShapes with standard objects that are also supported in OpenOffice.org format
| void XMLShapeExport::ExportGraphicDefaults | ( | ) |
helper to export the style for graphic defaults
Definition at line 1164 of file shapeexport.cxx.
References XMLTextParagraphExport::CreateParaDefaultExtPropMapper(), XMLTextParagraphExport::CreateParaExtPropMapper(), CreateShapePropMapper(), FALSE, UniReference< T >::get(), SvXMLExport::GetAutoStylePool(), SvXMLExport::GetModel(), mrExport, OUString, XML_STYLE_FAMILY_SD_GRAPHICS_ID, and XML_STYLE_FAMILY_SD_GRAPHICS_NAME.
| void XMLShapeExport::onExport | ( | const com::sun::star::uno::Reference< com::sun::star::drawing::XShape > & | xShape | ) | [virtual] |
is called before a shape element for the given XShape is exported
Definition at line 1199 of file shapeexport.cxx.
| const rtl::Reference< XMLTableExport > & XMLShapeExport::GetShapeTableExport | ( | ) |
Definition at line 1203 of file shapeexport.cxx.
References SvXMLExport::GetModel(), SvXMLExport::GetTextParagraphExport(), mrExport, and mxShapeTableExport.
Referenced by XMLShapeExport().
SvXMLExport& XMLShapeExport::mrExport [private] |
Definition at line 167 of file shapeexport.hxx.
Referenced by export3DLamps(), export3DSceneAttributes(), ExportGraphicDefaults(), GetShapeTableExport(), ImpExportNewTrans_FeaturesAndWrite(), and XMLShapeExport().
Definition at line 170 of file shapeexport.hxx.
sal_Int32 XMLShapeExport::mnNextUniqueShapeId [private] |
Definition at line 171 of file shapeexport.hxx.
ShapesInfos XMLShapeExport::maShapesInfos [private] |
Definition at line 172 of file shapeexport.hxx.
ShapesInfos::iterator XMLShapeExport::maCurrentShapesIter [private] |
Definition at line 173 of file shapeexport.hxx.
sal_Bool XMLShapeExport::mbExportLayer [private] |
Definition at line 174 of file shapeexport.hxx.
ImplXMLShapeExportInfoVector::iterator XMLShapeExport::maCurrentInfo [private] |
Definition at line 177 of file shapeexport.hxx.
sal_Bool XMLShapeExport::mbHandleProgressBar [private] |
Definition at line 180 of file shapeexport.hxx.
rtl::Reference< XMLTableExport > XMLShapeExport::mxShapeTableExport [private] |
Definition at line 182 of file shapeexport.hxx.
Referenced by exportAutoStyles(), and GetShapeTableExport().
const rtl::OUString XMLShapeExport::msZIndex [private] |
Definition at line 191 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msEmptyPres [private] |
Definition at line 192 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msModel [private] |
Definition at line 193 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msStartShape [private] |
Definition at line 194 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msEndShape [private] |
Definition at line 195 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msOnClick [private] |
Definition at line 196 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msEventType [private] |
Definition at line 197 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msPresentation [private] |
Definition at line 198 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msMacroName [private] |
Definition at line 199 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msScript [private] |
Definition at line 200 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msLibrary [private] |
Definition at line 201 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msClickAction [private] |
Definition at line 202 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msBookmark [private] |
Definition at line 203 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msEffect [private] |
Definition at line 204 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msPlayFull [private] |
Definition at line 205 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msVerb [private] |
Definition at line 206 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msSoundURL [private] |
Definition at line 207 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msSpeed [private] |
Definition at line 208 of file shapeexport.hxx.
const rtl::OUString XMLShapeExport::msStarBasic [private] |
Definition at line 209 of file shapeexport.hxx.
rtl::OUStringBuffer XMLShapeExport::msBuffer [private] |
Definition at line 211 of file shapeexport.hxx.
1.5.6