33#include <drawview.hxx>
69 bool bForceNoFillStyle =
false;
71 bForceNoFillStyle =
true;
72 if ( bForceNoFillStyle )
128 pObj->SetLogicRect( aRectangle );
136 bool bAttributesAppliedFromGallery =
false;
143 for ( std::vector<OUString>::size_type
i = 0;
i <
aObjList.size();
i++ )
170 aDest.Set( rSource );
175 bAttributesAppliedFromGallery =
true;
183 if ( !bAttributesAppliedFromGallery )
const OUString & GetValue() const
void SetAttributes(SdrObject *pObj)
virtual void Deactivate() override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
virtual void Activate() override
virtual ~FuConstCustomShape() override
virtual rtl::Reference< SdrObject > CreateDefaultObject(const sal_uInt16 nID, const tools::Rectangle &rRectangle) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
FuConstCustomShape(ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
virtual bool doConstructOrthogonal() const override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
void SetMouseButtonCode(sal_uInt16 nNew)
static void ImpForceQuadratic(tools::Rectangle &rRect)
virtual void Deactivate()
ScTabViewShell & rViewShell
VclPtr< vcl::Window > pWindow
static sal_uInt32 GetSdrObjCount(std::u16string_view rThemeName)
static bool FillObjListTitle(const sal_uInt32 nThemeId, std::vector< OUString > &rList)
static bool GetSdrObj(std::u16string_view rThemeName, sal_uInt32 nSdrModelPos, SdrModel *pModel, BitmapEx *pThumb=nullptr)
sal_uInt16 GetButtons() const
const Point & GetPosPixel() const
void SetActivePointer(PointerStyle nPointer)
bool BegCreateObj(const Point &rPnt, OutputDevice *pOut=nullptr, short nMinMov=-3)
bool EndCreateObj(SdrCreateCmd eCmd)
SdrInventor GetCurrentObjInventor() const
SdrObjKind GetCurrentObjIdentifier() const
virtual bool IsAction() const override
void SetCurrentObj(SdrObjKind nIdent, SdrInventor nInvent=SdrInventor::Default)
SdrObject * GetCreateObj() const
const SfxItemPool & GetItemPool() const
const SdrPage * GetPage(sal_uInt16 nPgNum) const
static bool doConstructOrthogonal(std::u16string_view rName)
static rtl::Reference< SdrObject > MakeNewObject(SdrModel &rSdrModel, SdrInventor nInventor, SdrObjKind nObjIdentifier, const tools::Rectangle *pSnapRect=nullptr)
SdrObject * GetObj(size_t nNum) const
virtual Degree100 GetRotateAngle() const
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
SdrModel & getSdrModelFromSdrObject() const
virtual const tools::Rectangle & GetSnapRect() const
const SfxItemSet & GetMergedItemSet() const
void SetMergedItem(const SfxPoolItem &rItem)
virtual void NbcRotate(const Point &rRef, Degree100 nAngle, double sn, double cs)=0
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
sal_uInt16 GetSlot() const
const SfxItemSet * GetArgs() const
constexpr TypedWhichId< SvxAdjustItem > EE_PARA_JUST(EE_PARA_START+16)
constexpr sal_uInt16 EE_ITEMS_END(EE_FEATURE_END)
constexpr sal_uInt16 EE_ITEMS_START(OWN_ATTR_VALUE_END+1)
std::deque< AttachedObject_Impl > aObjList
#define GALLERY_THEME_POWERPOINT
bool equalsIgnoreAsciiCase(std::u16string_view s1, std::u16string_view s2)
SdrOnOffItem makeSdrTextAutoGrowHeightItem(bool bAuto)
constexpr sal_uInt16 SDRATTR_START(XATTR_START)
constexpr sal_uInt16 SDRATTR_CUSTOMSHAPE_LAST(SDRATTR_CUSTOMSHAPE_GEOMETRY)
constexpr sal_uInt16 SDRATTR_MISC_LAST(SDRATTR_TEXT_CLIPVERTOVERFLOW)
constexpr sal_uInt16 SDRATTR_MISC_FIRST(SDRATTR_CAPTION_LAST+1)
constexpr sal_uInt16 SDRATTR_GRAF_FIRST(SDRATTR_NOTPERSIST_LAST+1)
constexpr sal_uInt16 SDRATTR_SHADOW_LAST(SDRATTR_SHADOWALIGNMENT)
constexpr TypedWhichId< SvxWritingModeItem > SDRATTR_TEXTDIRECTION(SDRATTR_NOTPERSIST_FIRST+34)