LibreOffice Module oox (master) 1
|
#include <shape.hxx>
Public Member Functions | |
Shape (const char *pServiceType=nullptr, bool bDefaultHeight=true) | |
Shape (const ShapePtr &pSourceShape) | |
Shape (Shape const &)=default | |
virtual | ~Shape () |
Shape & | operator= (Shape const &)=default |
OUString & | getServiceName () |
void | setServiceName (const char *pServiceName) |
const OUString & | getDiagramDataModelID () const |
void | setDiagramDataModelID (const OUString &rDiagramDataModelID) |
PropertyMap & | getShapeProperties () |
LineProperties & | getLineProperties () |
const LineProperties & | getLineProperties () const |
FillProperties & | getFillProperties () |
const FillProperties & | getFillProperties () const |
GraphicProperties & | getGraphicProperties () |
const GraphicProperties & | getGraphicProperties () const |
CustomShapePropertiesPtr & | getCustomShapeProperties () |
OUString & | getConnectorName () |
std::vector< OUString > & | getConnectorAdjustments () |
ConnectorShapePropertiesList & | getConnectorShapeProperties () |
void | setConnectorShape (bool bConnector) |
bool | isConnectorShape () const |
Shape3DProperties & | get3DProperties () |
const Shape3DProperties & | get3DProperties () const |
table::TablePropertiesPtr const & | getTableProperties () |
EffectProperties & | getEffectProperties () const |
void | setChildPosition (css::awt::Point nPosition) |
void | setChildSize (css::awt::Size aSize) |
void | setPosition (css::awt::Point nPosition) |
const css::awt::Point & | getPosition () const |
void | setSize (css::awt::Size aSize) |
const css::awt::Size & | getSize () const |
void | setRotation (sal_Int32 nRotation) |
sal_Int32 | getRotation () const |
void | setDiagramRotation (sal_Int32 nRotation) |
void | setFlip (bool bFlipH, bool bFlipV) |
bool | getFlipH () const |
bool | getFlipV () const |
void | addChild (const ShapePtr &rChildPtr) |
std::vector< ShapePtr > & | getChildren () |
void | setName (const OUString &rName) |
const OUString & | getName () const |
void | setInternalName (const OUString &rInternalName) |
const OUString & | getInternalName () const |
void | setId (const OUString &rId) |
const OUString & | getId () const |
void | setDescription (const OUString &rDescr) |
void | setDecorative (bool const isDecorative) |
void | setHidden (bool bHidden) |
void | setHiddenMasterShape (bool bHiddenMasterShape) |
void | setLocked (bool bLocked) |
void | setSubType (sal_Int32 nSubType) |
sal_Int32 | getSubType () const |
void | setSubTypeIndex (sal_Int32 nSubTypeIndex) |
const std::optional< sal_Int32 > & | getSubTypeIndex () const |
void | setDefaults (bool bHeight) |
::oox::vml::OleObjectInfo & | setOleObjectType () |
ChartShapeInfo & | setChartType (bool bEmbedShapes) |
void | setDiagramType () |
void | setTableType () |
void | setTextBody (const TextBodyPtr &pTextBody) |
const TextBodyPtr & | getTextBody () const |
void | setMasterTextListStyle (const TextListStylePtr &pMasterTextListStyle) |
const TextListStylePtr & | getMasterTextListStyle () const |
ShapeStyleRefMap & | getShapeStyleRefs () |
const ShapeStyleRefMap & | getShapeStyleRefs () const |
const ShapeStyleRef * | getShapeStyleRef (sal_Int32 nRefType) const |
bool | hasShapeStyleRefs () const |
void | addShape (::oox::core::XmlFilterBase &rFilterBase, const Theme *pTheme, const css::uno::Reference< css::drawing::XShapes > &rxShapes, const basegfx::B2DHomMatrix &aTransformation, const FillProperties &rShapeOrParentShapeFillProps, ShapeIdMap *pShapeMap=nullptr, oox::drawingml::ShapePtr pParentGroupShape=nullptr) |
const css::uno::Reference< css::drawing::XShape > & | getXShape () const |
void | applyShapeReference (const Shape &rReferencedShape, bool bUseText=true) |
const ::std::vector< OUString > & | getExtDrawings () const |
void | addExtDrawingRelId (const OUString &rRelId) |
void | setFontRefColorForNodes (const Color &rColor) |
const Color & | getFontRefColorForNodes () const |
void | setLockedCanvas (bool bLockedCanvas) |
bool | getLockedCanvas () const |
void | setWPGChild (bool bWPG) |
bool | isWPGChild () const |
void | setWps (bool bWps) |
bool | getWps () const |
void | setTextBox (bool bTextBox) |
const css::uno::Sequence< css::beans::PropertyValue > & | getDiagramDoms () const |
void | setDiagramDoms (const css::uno::Sequence< css::beans::PropertyValue > &rDiagramDoms) |
css::uno::Sequence< css::uno::Sequence< css::uno::Any > > | resolveRelationshipsOfTypeFromOfficeDoc (core::XmlFilterBase &rFilter, const OUString &sFragment, std::u16string_view sType) |
void | setLinkedTxbxAttributes (const LinkedTxbxAttr &rhs) |
void | setTxbxHasLinkedTxtBox (const bool rhs) |
const LinkedTxbxAttr & | getLinkedTxbxAttributes () const |
bool | isLinkedTxbx () const |
void | setZOrder (sal_Int32 nZOrder) |
sal_Int32 | getZOrder () const |
void | setZOrderOff (sal_Int32 nZOrderOff) |
sal_Int32 | getZOrderOff () const |
void | setDataNodeType (sal_Int32 nDataNodeType) |
sal_Int32 | getDataNodeType () const |
void | setAspectRatio (double fAspectRatio) |
double | getAspectRatio () const |
void | setVerticalShapesCount (sal_Int32 nVerticalShapesCount) |
sal_Int32 | getVerticalShapesCount () const |
void | cloneFillProperties () |
Changes reference semantics to value semantics for fill properties. More... | |
void | keepDiagramDrawing (::oox::core::XmlFilterBase &rFilterBase, const OUString &rFragmentPath) |
void | prepareDiagramHelper (const std::shared_ptr< Diagram > &rDiagramPtr, const std::shared_ptr<::oox::drawingml::Theme > &rTheme) |
void | propagateDiagramHelper () |
void | migrateDiagramHelperToNewShape (const ShapePtr &pTarget) |
Protected Types | |
enum | FrameType { FRAMETYPE_GENERIC , FRAMETYPE_OLEOBJECT , FRAMETYPE_CHART , FRAMETYPE_DIAGRAM , FRAMETYPE_TABLE } |
Protected Member Functions | |
css::uno::Reference< css::drawing::XShape > const & | createAndInsert (::oox::core::XmlFilterBase &rFilterBase, const OUString &rServiceName, const Theme *pTheme, const css::uno::Reference< css::drawing::XShapes > &rxShapes, bool bClearText, bool bDoNotInsertEmptyTextBody, basegfx::B2DHomMatrix &aTransformation, const FillProperties &rShapeOrParentShapeFillProps, oox::drawingml::ShapePtr pParentGroupShape=nullptr) |
void | addChildren (::oox::core::XmlFilterBase &rFilterBase, Shape &rMaster, const Theme *pTheme, const css::uno::Reference< css::drawing::XShapes > &rxShapes, ShapeIdMap *pShapeMap, const basegfx::B2DHomMatrix &aTransformation) |
void | keepDiagramCompatibilityInfo () |
void | convertSmartArtToMetafile (::oox::core::XmlFilterBase const &rFilterBase) |
css::uno::Reference< css::drawing::XShape > | renderDiagramToGraphic (::oox::core::XmlFilterBase const &rFilterBase) |
OUString | finalizeServiceName (::oox::core::XmlFilterBase &rFilter, const OUString &rServiceName, const css::awt::Rectangle &rShapeRect) |
virtual void | finalizeXShape (::oox::core::XmlFilterBase &rFilter, const css::uno::Reference< css::drawing::XShapes > &rxShapes) |
void | putPropertyToGrabBag (const OUString &sPropertyName, const css::uno::Any &aPropertyValue) |
void | putPropertyToGrabBag (const css::beans::PropertyValue &pProperty) |
void | putPropertiesToGrabBag (const css::uno::Sequence< css::beans::PropertyValue > &aProperties) |
FillProperties | getActualFillProperties (const Theme *pTheme, const FillProperties *pParentShapeFillProps) const |
LineProperties | getActualLineProperties (const Theme *pTheme) const |
EffectProperties | getActualEffectProperties (const Theme *pTheme) const |
Private Types | |
typedef std::shared_ptr< ::oox::vml::OleObjectInfo > | OleObjectInfoRef |
typedef std::shared_ptr< ChartShapeInfo > | ChartShapeInfoRef |
Private Attributes | |
OleObjectInfoRef | mxOleObjectInfo |
Additional data for OLE objects. More... | |
ChartShapeInfoRef | mxChartShapeInfo |
Additional data for chart shapes. More... | |
sal_Int32 | mnRotation |
sal_Int32 | mnDiagramRotation |
bool | mbFlipH |
bool | mbFlipV |
bool | mbHidden |
bool | mbHiddenMasterShape |
bool | mbLocked |
bool | mbWPGChild |
bool | mbLockedCanvas |
Is this shape part of a locked canvas? More... | |
bool | mbWps |
Is this a wps shape? More... | |
bool | mbTextBox |
This shape has a textbox. More... | |
LinkedTxbxAttr | maLinkedTxbxAttr |
bool | mbHasLinkedTxbx |
css::uno::Sequence< css::beans::PropertyValue > | maDiagramDoms |
sal_Int32 | mnZOrder = 0 |
Z-Order. More... | |
sal_Int32 | mnZOrderOff = 0 |
Z-Order offset. More... | |
sal_Int32 | mnDataNodeType = 0 |
Type of data node for an in-diagram shape. More... | |
double | mfAspectRatio = 0 |
Aspect ratio for an in-diagram shape. More... | |
sal_Int32 | mnVerticalShapesCount = 0 |
Number of child shapes to be layouted vertically inside org chart in-diagram shape. More... | |
bool | mbConnector = false |
svx::diagram::IDiagramHelper * | mpDiagramHelper |
OUString | msDiagramDataModelID |
|
private |
|
private |
|
protected |
|
explicit |
Definition at line 128 of file shape.cxx.
References make_shared(), msServiceName, and setDefaults().
|
explicit |
Definition at line 161 of file shape.cxx.
References maPosition, and maSize.
|
default |
|
virtual |
Definition at line 206 of file shape.cxx.
References mpDiagramHelper.
|
inline |
Definition at line 167 of file shape.hxx.
References maChildren.
|
protected |
Definition at line 530 of file shape.cxx.
References getFillProperties(), maChildren, and mpMasterTextListStyle.
Referenced by addShape(), and oox::ppt::PPTShape::addShape().
|
inline |
void oox::drawingml::Shape::addShape | ( | ::oox::core::XmlFilterBase & | rFilterBase, |
const Theme * | pTheme, | ||
const css::uno::Reference< css::drawing::XShapes > & | rxShapes, | ||
const basegfx::B2DHomMatrix & | aTransformation, | ||
const FillProperties & | rShapeOrParentShapeFillProps, | ||
ShapeIdMap * | pShapeMap = nullptr , |
||
oox::drawingml::ShapePtr | pParentGroupShape = nullptr |
||
) |
Definition at line 348 of file shape.cxx.
References addChildren(), convertSmartArtToMetafile(), createAndInsert(), Exception, FRAMETYPE_DIAGRAM, SvtFilterOptions::Get(), oox::core::XmlFilterBase::getDiagramFontHeights(), getInternalName(), oox::PropertyMap::getProperty(), getShapeProperties(), getTextBody(), hasProperty(), SvtFilterOptions::IsSmartArt2Shape(), isWPGChild(), keepDiagramCompatibilityInfo(), meFrameType, msId, msServiceName, propagateDiagramHelper(), SAL_INFO, sServiceName, TOOLS_WARN_EXCEPTION, UNO_NAME_HYPERLINK, UNO_NAME_TEXT_LEFTDIST, UNO_NAME_TEXT_LOWERDIST, UNO_NAME_TEXT_RIGHTDIST, UNO_NAME_TEXT_UPPERDIST, and UNO_NAME_TEXT_VERTADJUST.
void oox::drawingml::Shape::applyShapeReference | ( | const Shape & | rReferencedShape, |
bool | bUseText = true |
||
) |
Definition at line 482 of file shape.cxx.
References getActualEffectProperties(), getActualFillProperties(), getActualLineProperties(), maPosition, maShapeProperties, maSize, mbFlipH, mbFlipV, mbHidden, mbLocked, mnRotation, mpCustomShapePropertiesPtr, mpMasterTextListStyle, mpShapeRefEffectPropPtr, mpShapeRefFillPropPtr, mpShapeRefLinePropPtr, mpTablePropertiesPtr, mpTextBody, msId, and SAL_INFO.
void oox::drawingml::Shape::cloneFillProperties | ( | ) |
Changes reference semantics to value semantics for fill properties.
Definition at line 2426 of file shape.cxx.
References mpFillPropertiesPtr.
|
protected |
Definition at line 2014 of file shape.cxx.
References Any, Exception, SdrObject::GetLogicRect(), SdrObject::getSdrObjectFromXShape(), mxShape, SdrObject::NbcSetLogicRect(), renderDiagramToGraphic(), and TOOLS_WARN_EXCEPTION.
Referenced by addShape().
|
protected |
Definition at line 826 of file shape.cxx.
References Any, aProperties, oox::drawingml::FillProperties::assignUsed(), oox::drawingml::LineProperties::assignUsed(), oox::PropertyMap::assignUsed(), oox::drawingml::TextCharacterProperties::assignUsed(), oox::drawingml::Color::clearTransformations(), ColorTransparency, comphelper::containerToSequence(), o3tl::convert(), oox::drawingml::convertEmuToHmm(), basegfx::B2DPolygon::count(), basegfx::B2DHomMatrix::decompose(), o3tl::emu, basegfx::Tuple2D< typename TYPE >::equalZero(), oox::PropertyMap::erase(), finalizeServiceName(), finalizeXShape(), FRAMETYPE_GENERIC, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), basegfx::B2DHomMatrix::get(), get3DProperties(), getActualEffectProperties(), getActualFillProperties(), getActualLineProperties(), basegfx::B2DPolygon::getB2DPoint(), oox::drawingml::Generic3DProperties::getCameraAttributes(), oox::drawingml::Color::getColor(), oox::ModelObjectHelper::getFillBitmap(), getFillProperties(), oox::drawingml::GetFontHeight(), oox::drawingml::Theme::getFontStyle(), oox::core::FilterBase::getGraphicHelper(), tools::Rectangle::GetHeight(), oox::drawingml::Generic3DProperties::getLightRigAttributes(), oox::drawingml::LineProperties::getLineCap(), oox::drawingml::LineProperties::getLineJoint(), oox::drawingml::LineProperties::getLineStyle(), oox::drawingml::Theme::getLineStyle(), oox::drawingml::LineProperties::getLineWidth(), getLinkedTxbxAttributes(), oox::core::FilterBase::getMediaDescriptor(), oox::core::FilterBase::getModel(), oox::core::FilterBase::getModelObjectHelper(), oox::PropertyMap::getProperty(), oox::PropertyMap::getPropertyName(), oox::drawingml::Color::getSchemeColorName(), SdrObject::getSdrObjectFromXShape(), oox::drawingml::Generic3DProperties::getShape3DAttributes(), getShapeProperties(), getShapeStyleRef(), getTextBody(), oox::drawingml::Color::getTransformations(), oox::drawingml::Color::getTransparency(), oox::core::XmlFilterBase::getVmlDrawing(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), oox::PropertyMap::hasProperty(), namespaces::i, oox::drawingml::LinkedTxbxAttr::id, comphelper::InitPropertySequence(), basegfx::B2DPolygon::insert(), isLinkedTxbx(), oox::drawingml::Color::isPlaceHolder(), oox::drawingml::lcl_copyCharPropsToShape(), length, oox::drawingml::EffectProperties::m_Effects, m_isDecorative, oox::drawingml::Generic3DProperties::maCameraRotation, maConnectorAdjustmentList, maDefaultShapeProperties, oox::drawingml::FillProperties::maFillColor, oox::drawingml::TextCharacterProperties::maFillProperties, oox::drawingml::EffectProperties::maGlow, oox::drawingml::FillProperties::maGradientProps, oox::drawingml::GradientFillProperties::maGradientStops, comphelper::makePropertyValue(), oox::drawingml::LineProperties::maLineFill, maPosition, oox::drawingml::EffectProperties::maShadow, maShapeProperties, maSize, oox::drawingml::EffectProperties::maSoftEdge, mbFlipH, mbFlipV, mbHidden, mbHiddenMasterShape, mbLocked, mbLockedCanvas, mbTextBox, mbWps, meFrameType, o3tl::mm100, mnDiagramRotation, oox::drawingml::RotationProperties::mnRevolution, mnRotation, mnSubType, oox::drawingml::FillProperties::moFillType, oox::drawingml::EffectGlowProperties::moGlowColor, oox::drawingml::EffectGlowProperties::moGlowRad, oox::drawingml::LineProperties::moLineWidth, oox::drawingml::EffectSoftEdgeProperties::moRad, oox::drawingml::EffectShadowProperties::moShadowDir, mpCustomShapePropertiesPtr, mpGraphicPropertiesPtr, mpMasterTextListStyle, mpTablePropertiesPtr, mpTextBody, msConnectorName, msDescription, msId, msName, msServiceName, mxOleObjectInfo, mxShape, name, nBorder, nLength, NormAngle36000(), nType, PROP_BackColor, PROP_BackColorTransparency, PROP_BackGraphic, PROP_BottomBorder, PROP_CharColor, PROP_CharHeight, utl::MediaDescriptor::PROP_DOCUMENTSERVICE, PROP_FillBitmapName, PROP_FillColor, PROP_FillTransparence, PROP_GraphicCrop, PROP_HoriOrientPosition, PROP_LeftBorder, PROP_LineColor, PROP_ParaAdjust, PROP_RightBorder, PROP_RotateAngle, PROP_Shadow, PROP_ShadowColor, PROP_ShadowFormat, PROP_ShadowXDistance, PROP_ShadowYDistance, PROP_TextAutoGrowHeight, PROP_TextContourFrame, PROP_TopBorder, PROP_VertOrientPosition, oox::drawingml::EffectProperties::pushToPropMap(), oox::drawingml::LineProperties::pushToPropMap(), oox::drawingml::FillProperties::pushToPropMap(), FontworkHelpers::putCustomShapeIntoTextPathMode(), putPropertiesToGrabBag(), putPropertyToGrabBag(), basegfx::B2DHomMatrix::rotate(), SAL_INFO, SAL_WARN, o3tl::saturating_add(), basegfx::B2DHomMatrix::scale(), sDocumentService, oox::drawingml::LinkedTxbxAttr::seq, oox::PropertySet::setAnyProperty(), oox::drawingml::ShapePropertyMap::setAnyProperty(), oox::PropertySet::setProperties(), oox::PropertyMap::setProperty(), oox::drawingml::ShapePropertyMap::setProperty(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), SO3_SM_CLASSID, basegfx::B2DPolygon::transform(), basegfx::B2DHomMatrix::translate(), and u.
Referenced by addShape(), and oox::ppt::PPTShape::addShape().
|
protected |
Definition at line 2122 of file shape.cxx.
References FRAMETYPE_OLEOBJECT, oox::core::FilterBase::getGraphicHelper(), oox::core::FilterBase::getOleObjectHelper(), oox::core::XmlFilterBase::getVmlDrawing(), oox::GraphicHelper::importEmbeddedGraphic(), oox::ole::OleObjectHelper::importOleObject(), WmfExternal::mapMode, maShapeProperties, meFrameType, mxOleObjectInfo, oox::PropertyMap::setProperty(), WmfExternal::xExt, and WmfExternal::yExt.
Referenced by createAndInsert().
|
protectedvirtual |
Referenced by createAndInsert().
|
inline |
Definition at line 145 of file shape.hxx.
Referenced by createAndInsert(), and oox::drawingml::ShapePropertiesContext::onCreateContext().
|
inline |
|
protected |
Definition at line 2361 of file shape.cxx.
References oox::drawingml::EffectProperties::assignUsed(), getEffectProperties(), oox::drawingml::Theme::getEffectStyle(), getShapeStyleRef(), and mpShapeRefEffectPropPtr.
Referenced by applyShapeReference(), and createAndInsert().
|
protected |
Definition at line 2308 of file shape.cxx.
References oox::drawingml::FillProperties::assignUsed(), getFillProperties(), oox::drawingml::Theme::getFillStyle(), getShapeStyleRef(), oox::drawingml::FillProperties::moFillType, and mpShapeRefFillPropPtr.
Referenced by applyShapeReference(), and createAndInsert().
|
protected |
Definition at line 2337 of file shape.cxx.
References oox::drawingml::LineProperties::assignUsed(), getLineProperties(), oox::drawingml::Theme::getLineStyle(), getShapeStyleRef(), oox::drawingml::LineProperties::maLineFill, oox::drawingml::FillProperties::moFillType, and mpShapeRefLinePropPtr.
Referenced by applyShapeReference(), and createAndInsert().
|
inline |
|
inline |
Definition at line 168 of file shape.hxx.
References maChildren.
Referenced by oox::ppt::PPTShape::addShape(), oox::ppt::SlidePersist::createXShapes(), oox::drawingml::DiagramData::restoreDataFromShapeToModelAfterDiagramImport(), oox::drawingml::DiagramData::restoreStyleDataFromShapeToModel(), oox::drawingml::DiagramData::secureDataFromShapeToModelAfterDiagramImport(), and oox::drawingml::DiagramData::secureStyleDataFromShapeToModel().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 137 of file shape.hxx.
Referenced by oox::drawingml::ShapePropertiesContext::onCreateContext(), and oox::drawingml::LayoutNode::setupShape().
|
inline |
|
inline |
Definition at line 123 of file shape.hxx.
Referenced by oox::drawingml::DiagramData::restoreStyleDataFromShapeToModel(), and oox::drawingml::DiagramData::secureStyleDataFromShapeToModel().
|
inline |
|
inline |
Definition at line 150 of file shape.hxx.
Referenced by getActualEffectProperties(), and oox::drawingml::ShapePropertiesContext::onCreateContext().
|
inline |
|
inline |
Definition at line 131 of file shape.hxx.
Referenced by addChildren(), oox::ppt::PPTShape::addShape(), createAndInsert(), getActualFillProperties(), oox::drawingml::ShapePropertiesContext::onCreateContext(), oox::drawingml::chart::PlotAreaModel::PlotAreaModel(), and oox::drawingml::LayoutNode::setupShape().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 175 of file shape.hxx.
Referenced by oox::ppt::SlidePersist::createXShapes().
|
inline |
Definition at line 173 of file shape.hxx.
Referenced by addShape().
|
inline |
Definition at line 128 of file shape.hxx.
Referenced by oox::drawingml::chart::AxisConverter::convertFromModel(), getActualLineProperties(), oox::drawingml::ShapePropertiesContext::onCreateContext(), and oox::drawingml::LayoutNode::setupShape().
|
inline |
|
inline |
Definition at line 238 of file shape.hxx.
Referenced by createAndInsert().
|
inline |
|
inline |
Definition at line 197 of file shape.hxx.
Referenced by oox::drawingml::spDefContext::onCreateContext(), and oox::drawingml::LayoutNode::setupShape().
|
inline |
|
inline |
Definition at line 156 of file shape.hxx.
References maPosition.
|
inline |
Definition at line 162 of file shape.hxx.
Referenced by oox::drawingml::Transform2DContext::onCreateContext().
|
inline |
Definition at line 120 of file shape.hxx.
Referenced by oox::drawingml::ShapePropertiesContext::onCreateContext().
|
inline |
Definition at line 126 of file shape.hxx.
Referenced by addShape(), oox::ppt::PPTShape::addShape(), createAndInsert(), oox::ppt::PPTShapePropertiesContext::onCreateContext(), and oox::drawingml::LayoutNode::setupShape().
const ShapeStyleRef * oox::drawingml::Shape::getShapeStyleRef | ( | sal_Int32 | nRefType | ) | const |
Definition at line 342 of file shape.cxx.
References maShapeStyleRefs.
Referenced by createAndInsert(), getActualEffectProperties(), getActualFillProperties(), and getActualLineProperties().
|
inline |
Definition at line 199 of file shape.hxx.
Referenced by oox::drawingml::ShapeStyleContext::onCreateContext().
|
inline |
|
inline |
Definition at line 159 of file shape.hxx.
References maSize.
Referenced by oox::drawingml::Transform2DContext::onCreateContext(), and prepareDiagramHelper().
|
inline |
Definition at line 182 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape().
|
inline |
Definition at line 184 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), oox::ppt::PPTGraphicShapeContext::onCreateContext(), and oox::ppt::PPTShapeContext::onCreateContext().
table::TablePropertiesPtr const & oox::drawingml::Shape::getTableProperties | ( | ) |
Definition at line 278 of file shape.cxx.
References mpTablePropertiesPtr.
|
inline |
Definition at line 195 of file shape.hxx.
Referenced by addShape(), oox::ppt::PPTShape::addShape(), createAndInsert(), oox::ppt::PPTShape::IsPlaceHolderCandidate(), oox::drawingml::Transform2DContext::onCreateContext(), oox::drawingml::DiagramData::secureDataFromShapeToModelAfterDiagramImport(), oox::drawingml::LayoutNode::setupShape(), and oox::drawingml::Transform2DContext::Transform2DContext().
|
inline |
|
inline |
Definition at line 215 of file shape.hxx.
References mxShape.
Referenced by oox::drawingml::DiagramData::restoreStyleDataFromShapeToModel(), and oox::drawingml::DiagramData::secureStyleDataFromShapeToModel().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 143 of file shape.hxx.
Referenced by oox::ppt::SlidePersist::createXShapes(), and oox::drawingml::ShapePropertiesContext::onCreateContext().
|
inline |
Definition at line 239 of file shape.hxx.
Referenced by createAndInsert().
|
inline |
Definition at line 227 of file shape.hxx.
Referenced by addShape().
|
protected |
Definition at line 1983 of file shape.cxx.
References Any, comphelper::concatSequences(), Exception, maDiagramDoms, mxShape, TOOLS_WARN_EXCEPTION, and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.
Referenced by addShape(), and oox::ppt::PPTShape::addShape().
void oox::drawingml::Shape::keepDiagramDrawing | ( | ::oox::core::XmlFilterBase & | rFilterBase, |
const OUString & | rFragmentPath | ||
) |
Definition at line 1966 of file shape.cxx.
References oox::core::XmlFilterBase::importFragment(), length, maDiagramDoms, resolveRelationshipsOfTypeFromOfficeDoc(), and u.
void oox::drawingml::Shape::migrateDiagramHelperToNewShape | ( | const ShapePtr & | pTarget | ) |
Definition at line 251 of file shape.cxx.
References mpDiagramHelper.
void oox::drawingml::Shape::prepareDiagramHelper | ( | const std::shared_ptr< Diagram > & | rDiagramPtr, |
const std::shared_ptr<::oox::drawingml::Theme > & | rTheme | ||
) |
Definition at line 213 of file shape.cxx.
References FRAMETYPE_DIAGRAM, getSize(), meFrameType, and mpDiagramHelper.
void oox::drawingml::Shape::propagateDiagramHelper | ( | ) |
Definition at line 227 of file shape.cxx.
References FRAMETYPE_DIAGRAM, SdrObject::getSdrObjectFromXShape(), meFrameType, mpDiagramHelper, and mxShape.
Referenced by addShape(), and oox::ppt::PPTShape::addShape().
|
protected |
Definition at line 2280 of file shape.cxx.
References Any, aProperties, comphelper::concatSequences(), mxShape, and UNO_NAME_MISC_OBJ_INTEROPGRABBAG.
Referenced by createAndInsert().
|
protected |
|
protected |
Referenced by createAndInsert().
|
protected |
Definition at line 2044 of file shape.cxx.
References Any, ERRCODE_NONE, Exception, oox::core::FilterBase::getComponentContext(), Application::GetDefaultDevice(), oox::core::FilterBase::getModel(), Graphic::GetXGraphic(), GRFILTER_FORMAT_NOTFOUND, GraphicFilter::ImportGraphic(), maDiagramDoms, comphelper::makePropertyValue(), mxShape, SAL_WARN, SvStream::Seek(), STREAM_SEEK_TO_BEGIN, TOOLS_WARN_EXCEPTION, u, Size::Width(), and xStream.
Referenced by convertSmartArtToMetafile().
uno::Sequence< uno::Sequence< uno::Any > > oox::drawingml::Shape::resolveRelationshipsOfTypeFromOfficeDoc | ( | core::XmlFilterBase & | rFilter, |
const OUString & | sFragment, | ||
std::u16string_view | sType | ||
) |
Definition at line 2384 of file shape.cxx.
References oox::core::FilterBase::importBinaryData(), oox::core::XmlFilterBase::importRelations(), oox::core::FilterBase::openInputStream(), and sType.
Referenced by keepDiagramDrawing().
|
inline |
ChartShapeInfo & oox::drawingml::Shape::setChartType | ( | bool | bEmbedShapes | ) |
Definition at line 308 of file shape.cxx.
References FRAMETYPE_CHART, FRAMETYPE_GENERIC, mbWps, meFrameType, msServiceName, and mxChartShapeInfo.
|
inline |
Definition at line 152 of file shape.hxx.
Referenced by oox::drawingml::Transform2DContext::onCreateContext().
|
inline |
Definition at line 153 of file shape.hxx.
Referenced by oox::drawingml::Transform2DContext::onCreateContext().
|
inline |
|
inline |
|
inline |
void oox::drawingml::Shape::setDefaults | ( | bool | bHeight | ) |
Definition at line 285 of file shape.cxx.
References maDefaultShapeProperties, PROP_CharHeight, PROP_ParaAdjust, PROP_TextAutoGrowHeight, PROP_TextLeftDistance, PROP_TextLowerDistance, PROP_TextRightDistance, PROP_TextUpperDistance, PROP_TextVerticalAdjust, PROP_TextWordWrap, and oox::PropertyMap::setProperty().
Referenced by Shape().
|
inline |
|
inline |
|
inline |
|
inline |
void oox::drawingml::Shape::setDiagramType | ( | ) |
Definition at line 320 of file shape.cxx.
References FRAMETYPE_DIAGRAM, FRAMETYPE_GENERIC, meFrameType, mnSubType, and msServiceName.
|
inline |
Definition at line 164 of file shape.hxx.
Referenced by oox::drawingml::Transform2DContext::Transform2DContext().
|
inline |
|
inline |
|
inline |
Definition at line 179 of file shape.hxx.
Referenced by oox::ppt::SlidePersist::hideShapesAsMasterShapes().
|
inline |
|
inline |
|
inline |
|
inline |
void oox::drawingml::Shape::setLockedCanvas | ( | bool | bLockedCanvas | ) |
Definition at line 462 of file shape.cxx.
References mbLockedCanvas.
void oox::drawingml::Shape::setMasterTextListStyle | ( | const TextListStylePtr & | pMasterTextListStyle | ) |
Definition at line 2115 of file shape.cxx.
References mpMasterTextListStyle, msId, and SAL_INFO.
Referenced by oox::ppt::PPTShape::addShape().
|
inline |
oox::vml::OleObjectInfo & oox::drawingml::Shape::setOleObjectType | ( | ) |
Definition at line 300 of file shape.cxx.
References FRAMETYPE_GENERIC, FRAMETYPE_OLEOBJECT, meFrameType, and mxOleObjectInfo.
|
inline |
Definition at line 155 of file shape.hxx.
References maPosition.
Referenced by oox::ppt::PPTShape::addShape(), and oox::drawingml::Transform2DContext::onCreateContext().
|
inline |
Definition at line 161 of file shape.hxx.
Referenced by oox::drawingml::Transform2DContext::Transform2DContext().
void oox::drawingml::Shape::setServiceName | ( | const char * | pServiceName | ) |
Definition at line 336 of file shape.cxx.
References msServiceName.
|
inline |
Definition at line 158 of file shape.hxx.
References maSize.
Referenced by oox::ppt::PPTShape::addShape(), and oox::drawingml::Transform2DContext::onCreateContext().
|
inline |
|
inline |
void oox::drawingml::Shape::setTableType | ( | ) |
Definition at line 328 of file shape.cxx.
References FRAMETYPE_GENERIC, FRAMETYPE_TABLE, meFrameType, mnSubType, and msServiceName.
void oox::drawingml::Shape::setTextBody | ( | const TextBodyPtr & | pTextBody | ) |
Definition at line 2110 of file shape.cxx.
References mpTextBody.
Referenced by oox::drawingml::spDefContext::onCreateContext(), and oox::drawingml::DiagramData::restoreDataFromModelToShapeAfterReCreation().
void oox::drawingml::Shape::setTextBox | ( | bool | bTextBox | ) |
|
inline |
|
inline |
void oox::drawingml::Shape::setWPGChild | ( | bool | bWPG | ) |
Definition at line 467 of file shape.cxx.
References mbWPGChild.
void oox::drawingml::Shape::setWps | ( | bool | bWps | ) |
|
inline |
|
inline |
|
protected |
Definition at line 360 of file shape.hxx.
Referenced by createAndInsert().
|
protected |
Definition at line 331 of file shape.hxx.
Referenced by addChildren().
|
protected |
|
protected |
Definition at line 335 of file shape.hxx.
Referenced by createAndInsert().
|
protected |
|
protected |
Definition at line 349 of file shape.hxx.
Referenced by createAndInsert(), and setDefaults().
|
private |
Definition at line 397 of file shape.hxx.
Referenced by keepDiagramCompatibilityInfo(), keepDiagramDrawing(), and renderDiagramToGraphic().
|
protected |
|
protected |
|
private |
|
protected |
Definition at line 367 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), applyShapeReference(), and createAndInsert().
|
protected |
Definition at line 348 of file shape.hxx.
Referenced by applyShapeReference(), createAndInsert(), and finalizeServiceName().
|
protected |
Definition at line 364 of file shape.hxx.
Referenced by getShapeStyleRef().
|
protected |
Definition at line 366 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), applyShapeReference(), and createAndInsert().
|
private |
Definition at line 383 of file shape.hxx.
Referenced by applyShapeReference(), and createAndInsert().
|
private |
Definition at line 384 of file shape.hxx.
Referenced by applyShapeReference(), and createAndInsert().
|
private |
Definition at line 385 of file shape.hxx.
Referenced by applyShapeReference(), and createAndInsert().
|
private |
Definition at line 386 of file shape.hxx.
Referenced by createAndInsert().
|
private |
Definition at line 389 of file shape.hxx.
Referenced by applyShapeReference(), and createAndInsert().
|
private |
Is this shape part of a locked canvas?
Definition at line 391 of file shape.hxx.
Referenced by createAndInsert(), and setLockedCanvas().
|
private |
This shape has a textbox.
Definition at line 393 of file shape.hxx.
Referenced by createAndInsert(), and setTextBox().
|
private |
Definition at line 390 of file shape.hxx.
Referenced by setWPGChild().
|
private |
Is this a wps shape?
Definition at line 392 of file shape.hxx.
Referenced by createAndInsert(), setChartType(), and setWps().
|
protected |
Type for graphic frame shapes.
Definition at line 371 of file shape.hxx.
Referenced by addShape(), oox::ppt::PPTShape::addShape(), createAndInsert(), finalizeServiceName(), prepareDiagramHelper(), propagateDiagramHelper(), setChartType(), setDiagramType(), setOleObjectType(), and setTableType().
|
private |
|
private |
|
private |
Definition at line 382 of file shape.hxx.
Referenced by createAndInsert().
|
private |
Definition at line 381 of file shape.hxx.
Referenced by applyShapeReference(), and createAndInsert().
|
protected |
Definition at line 361 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), createAndInsert(), setDiagramType(), and setTableType().
|
private |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
Definition at line 343 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), applyShapeReference(), createAndInsert(), and oox::ppt::PPTShape::IsPlaceHolderCandidate().
|
private |
Definition at line 419 of file shape.hxx.
Referenced by migrateDiagramHelperToNewShape(), prepareDiagramHelper(), propagateDiagramHelper(), and ~Shape().
|
protected |
|
protected |
Definition at line 340 of file shape.hxx.
Referenced by cloneFillProperties().
|
protected |
Definition at line 342 of file shape.hxx.
Referenced by createAndInsert().
|
protected |
|
protected |
Definition at line 350 of file shape.hxx.
Referenced by addChildren(), oox::ppt::PPTShape::addShape(), applyShapeReference(), createAndInsert(), and setMasterTextListStyle().
|
protected |
Definition at line 347 of file shape.hxx.
Referenced by applyShapeReference(), and getActualEffectProperties().
|
protected |
Definition at line 341 of file shape.hxx.
Referenced by applyShapeReference(), and getActualFillProperties().
|
protected |
Definition at line 339 of file shape.hxx.
Referenced by applyShapeReference(), and getActualLineProperties().
|
protected |
Definition at line 344 of file shape.hxx.
Referenced by applyShapeReference(), createAndInsert(), and getTableProperties().
|
protected |
Definition at line 337 of file shape.hxx.
Referenced by applyShapeReference(), createAndInsert(), and setTextBody().
|
protected |
Definition at line 354 of file shape.hxx.
Referenced by createAndInsert().
|
protected |
Definition at line 359 of file shape.hxx.
Referenced by createAndInsert().
|
private |
|
protected |
Definition at line 358 of file shape.hxx.
Referenced by addShape(), oox::ppt::PPTShape::addShape(), applyShapeReference(), createAndInsert(), and setMasterTextListStyle().
|
protected |
Definition at line 356 of file shape.hxx.
Referenced by createAndInsert().
|
protected |
Definition at line 355 of file shape.hxx.
Referenced by addShape(), oox::ppt::PPTShape::addShape(), createAndInsert(), setChartType(), setDiagramType(), setServiceName(), setTableType(), and Shape().
|
private |
Additional data for chart shapes.
Definition at line 379 of file shape.hxx.
Referenced by setChartType().
|
private |
Additional data for OLE objects.
Definition at line 378 of file shape.hxx.
Referenced by createAndInsert(), finalizeServiceName(), and setOleObjectType().
|
protected |
Definition at line 351 of file shape.hxx.
Referenced by oox::ppt::PPTShape::addShape(), convertSmartArtToMetafile(), createAndInsert(), keepDiagramCompatibilityInfo(), propagateDiagramHelper(), putPropertiesToGrabBag(), and renderDiagramToGraphic().