LibreOffice Module sc (master) 1
|
#include <XMLTableShapeImportHelper.hxx>
Public Member Functions | |
XMLTableShapeImportHelper (ScXMLImport &rImp) | |
virtual | ~XMLTableShapeImportHelper () override |
virtual void | finishShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes) override |
void | SetCell (const ScAddress &rAddress) |
void | SetOnTable (const bool bTempOnTable) |
void | SetAnnotation (ScXMLAnnotationContext *pAnnotation) |
ScXMLAnnotationContext * | GetAnnotationContext () const |
Public Member Functions inherited from XMLShapeImportHelper | |
XMLShapeImportHelper (SvXMLImport &rImporter, const css::uno::Reference< css::frame::XModel > &rModel, SvXMLImportPropertyMapper *pExtMapper=nullptr) | |
virtual | ~XMLShapeImportHelper () override |
SvXMLStylesContext * | GetStylesContext () const |
void | SetStylesContext (SvXMLStylesContext *pNew) |
SvXMLStylesContext * | GetAutoStylesContext () const |
void | SetAutoStylesContext (SvXMLStylesContext *pNew) |
SvXMLImportPropertyMapper * | GetPropertySetMapper () const |
SvXMLImportPropertyMapper * | GetPresPagePropsMapper () const |
virtual void | addShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes) |
virtual void | finishShape (css::uno::Reference< css::drawing::XShape > &rShape, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > &rShapes) |
void | addShapeEvents (SdXMLEventContextData &rData) |
void | pushGroupForPostProcessing (css::uno::Reference< css::drawing::XShapes > &rShapes) |
void | popGroupAndPostProcess () |
void | shapeWithZIndexAdded (css::uno::Reference< css::drawing::XShape > const &rShape, sal_Int32 nZIndex) |
void | shapeRemoved (const css::uno::Reference< css::drawing::XShape > &rShape) |
void | addShapeConnection (css::uno::Reference< css::drawing::XShape > const &rConnectorShape, bool bStart, const OUString &rDestShapeId, sal_Int32 nDestGlueId) |
void | addGluePointMapping (css::uno::Reference< css::drawing::XShape > const &xShape, sal_Int32 nSourceId, sal_Int32 nDestinnationId) |
void | moveGluePointMapping (const css::uno::Reference< css::drawing::XShape > &xShape, const sal_Int32 n) |
sal_Int32 | getGluePointId (const css::uno::Reference< css::drawing::XShape > &xShape, sal_Int32 nSourceId) |
void | startPage (css::uno::Reference< css::drawing::XShapes > const &rShapes) |
void | endPage (css::uno::Reference< css::drawing::XShapes > const &rShapes) |
void | restoreConnections () |
void | enableHandleProgressBar () |
bool | IsHandleProgressBarEnabled () const |
bool | IsPresentationShapesSupported () const |
XMLSdPropHdlFactory * | GetSdPropHdlFactory () const |
const rtl::Reference< XMLTableImport > & | GetShapeTableImport () |
Static Public Member Functions | |
static void | SetLayer (const css::uno::Reference< css::drawing::XShape > &rShape, SdrLayerID nLayerID, std::u16string_view sType) |
Static Public Member Functions inherited from XMLShapeImportHelper | |
static SvXMLShapeContext * | CreateGroupChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes, bool bTemporaryShape=false) |
static SvXMLShapeContext * | CreateFrameChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xFrameAttrList) |
static css::uno::Reference< css::xml::sax::XFastContextHandler > | CreateFrameChildContext (SvXMLImportContext *pThisContext, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) |
static SvXMLShapeContext * | Create3DSceneChildContext (SvXMLImport &rImport, sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList, css::uno::Reference< css::drawing::XShapes > const &rShapes) |
static SvXMLImportPropertyMapper * | CreateShapePropMapper (const css::uno::Reference< css::frame::XModel > &rModel, SvXMLImport &rImport) |
Private Attributes | |
ScAddress | aStartCell |
ScXMLAnnotationContext * | pAnnotationContext |
bool | bOnTable |
Additional Inherited Members | |
Protected Attributes inherited from XMLShapeImportHelper | |
SvXMLImport & | mrImporter |
Definition at line 29 of file XMLTableShapeImportHelper.hxx.
|
explicit |
Definition at line 40 of file XMLTableShapeImportHelper.cxx.
|
overridevirtual |
Definition at line 47 of file XMLTableShapeImportHelper.cxx.
|
overridevirtual |
Reimplemented from XMLShapeImportHelper.
Definition at line 74 of file XMLTableShapeImportHelper.cxx.
References ScMyTables::AddOLE(), aStartCell, ScSheetSaveData::BlockSheet(), bOnTable, sax_fastparser::castToFastAttributeList(), formula::FormulaGrammar::CONV_OOO, DRAW, XMLShapeImportHelper::finishShape(), ScRangeStringConverter::GetAddressFromString(), ScMyTables::GetCurrentSheet(), ScMyTables::GetCurrentXShapes(), ScDrawLayer::GetObjData(), SdrObject::getSdrObjectFromXShape(), Point::getX(), Point::getY(), ScMyTables::IsOLE(), IsXMLToken(), lcl_getTopLevelParent(), ScDrawObjData::maEnd, ScDrawObjData::maEndOffset, ScDrawObjData::maStart, ScDrawObjData::maStartOffset, ScDrawObjData::mbResizeWithCell, XMLShapeImportHelper::mrImporter, pAnnotationContext, SC_LAYER_BACK(), SDRLAYER_NOTFOUND(), ScDrawLayer::SetCellAnchored(), SetLayer(), ScDrawLayer::SetPageAnchored(), ScXMLAnnotationContext::SetShape(), Point::setX(), Point::setY(), TABLE, XML_ELEMENT, XML_END_CELL_ADDRESS, XML_END_X, XML_END_Y, XML_NOTIFY_ON_UPDATE_OF_RANGES, XML_STYLE_NAME, XML_TABLE_BACKGROUND, XML_TEXT_STYLE_NAME, and XML_TRUE.
|
inline |
Definition at line 49 of file XMLTableShapeImportHelper.hxx.
References pAnnotationContext.
Referenced by ScCellTextStyleContext::FillPropertySet().
|
inline |
Definition at line 47 of file XMLTableShapeImportHelper.hxx.
References pAnnotationContext.
Referenced by ScXMLAnnotationContext::endFastElement(), and ScXMLAnnotationContext::ScXMLAnnotationContext().
|
inline |
Definition at line 45 of file XMLTableShapeImportHelper.hxx.
References aStartCell.
Referenced by ScXMLTableRowCellContext::createFastChildContext().
|
static |
Definition at line 51 of file XMLTableShapeImportHelper.cxx.
References o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SC_LAYER_CONTROLS(), SC_LAYERID, SDRLAYER_NOTFOUND(), sType, and u.
Referenced by finishShape().
|
inline |
Definition at line 46 of file XMLTableShapeImportHelper.hxx.
References bOnTable.
Referenced by ScXMLTableRowCellContext::createFastChildContext(), and ScXMLTableShapesContext::createFastChildContext().
|
private |
Definition at line 31 of file XMLTableShapeImportHelper.hxx.
Referenced by finishShape(), and SetCell().
|
private |
Definition at line 33 of file XMLTableShapeImportHelper.hxx.
Referenced by finishShape(), and SetOnTable().
|
private |
Definition at line 32 of file XMLTableShapeImportHelper.hxx.
Referenced by finishShape(), GetAnnotationContext(), and SetAnnotation().