26#include <com/sun/star/drawing/Direction3D.hpp>
43 : m_pDrawModelWrapper( pDrawModelWrapper )
49 m_pDrawModelWrapper = rOther.m_pDrawModelWrapper;
50 m_pFontList = std::move(rOther.m_pFontList);
117 drawing::Direction3D aSymbolSize(220, 220, 0);
126 catch(
const uno::Exception& )
138 if(nStandardSymbol<0)
145 pVDev->SetMapMode(
MapMode(MapUnit::Map100thMM));
147 std::unique_ptr<SdrModel> pModel(
150 pModel->GetItemPool().FreezeIdRanges();
152 pPage->SetSize(
Size(1000,1000));
153 pModel->InsertPage( pPage.get(), 0 );
159 pObj = pObj->CloneSdrObject(*pModel);
161 pPage->NbcInsertObject(pObj.get());
162 aView.
MarkObj(pObj.get(),pPageView);
163 if( pSymbolShapeProperties )
164 pObj->SetMergedItemSet(*pSymbolShapeProperties);
169 Size aSize = pObj->GetSnapRect().GetSize();
174 pObj=pPage->RemoveObject(0);
192 , pRefDev ? pDefaultOut :
nullptr) );
static OutputDevice * GetDefaultDevice()
void SetPrefMapMode(const MapMode &rPrefMapMode)
void SetPrefSize(const Size &rPrefSize)
GDIMetaFile GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked=false) const
bool MarkObj(const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false)
SdrPageView * ShowSdrPage(SdrPage *pPage) override
SdrObject * GetObj(size_t nNum) const
size_t GetObjCount() const
virtual SdrObjList * GetSubList() const
static rtl::Reference< SvxShapeGroup > create2DSymbolList(const rtl::Reference< SvxDrawPage > &xTarget, const css::drawing::Direction3D &rSize)
XDashListRef GetDashList() const
XColorListRef GetColorList() const
XGradientListRef GetGradientList() const
XPatternListRef GetPatternList() const
XBitmapListRef GetBitmapList() const
XLineEndListRef GetLineEndList() const
XHatchListRef GetHatchList() const
const rtl::Reference< SvxDrawPage > & getHiddenDrawPage()
OutputDevice * getReferenceDevice() const
static SdrObject * getSdrObject(const css::uno::Reference< css::drawing::XShape > &xShape)
XGradientListRef GetGradientList() const
XPatternListRef GetPatternList() const
XLineEndListRef GetLineEndList() const
DrawModelWrapper * m_pDrawModelWrapper
XBitmapListRef GetBitmapList() const
ViewElementListProvider(DrawModelWrapper *pDrawModelWrapper)
std::unique_ptr< FontList > m_pFontList
XColorListRef GetColorTable() const
FontList * getFontList() const
~ViewElementListProvider()
SdrObjList * GetSymbolList() const
XDashListRef GetDashList() const
XHatchListRef GetHatchList() const
Graphic GetSymbolGraphic(sal_Int32 nStandardSymbol, const SfxItemSet *pSymbolShapeProperties) const
#define TOOLS_WARN_EXCEPTION(area, stream)
Reference< XInterface > xTarget
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)