LibreOffice Module svx (master) 1
|
#include <sdrtextprimitive2d.hxx>
Public Member Functions | |
SdrTextPrimitive2D (const SdrText *pSdrText, OutlinerParaObject aOutlinerParaObjectPtr) | |
const SdrText * | getSdrText () const |
const OutlinerParaObject & | getOutlinerParaObject () const |
virtual bool | operator== (const BasePrimitive2D &rPrimitive) const override |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override |
virtual rtl::Reference< SdrTextPrimitive2D > | createTransformedClone (const basegfx::B2DHomMatrix &rTransform) const =0 |
Public Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
BufferedDecompositionPrimitive2D () | |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const override |
void | setTransparenceForShadow (sal_uInt16 nTransparenceForShadow) |
sal_uInt16 | getTransparenceForShadow () const |
Public Member Functions inherited from drawinglayer::primitive2d::BasePrimitive2D | |
BasePrimitive2D () | |
virtual | ~BasePrimitive2D () override |
virtual bool | operator== (const BasePrimitive2D &rPrimitive) const |
bool | operator!= (const BasePrimitive2D &rPrimitive) const |
virtual basegfx::B2DRange | getB2DRange (const geometry::ViewInformation2D &rViewInformation) const |
virtual sal_uInt32 | getPrimitive2DID () const=0 |
virtual void | get2DDecomposition (Primitive2DDecompositionVisitor &rVisitor, const geometry::ViewInformation2D &rViewInformation) const |
Primitive2DContainer | getDecomposition (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
css::geometry::RealRectangle2D | getRange (const css::uno::Sequence< css::beans::PropertyValue > &rViewParameters) |
virtual sal_Int64 | estimateUsage () |
Static Protected Member Functions | |
static void | encapsulateWithTextHierarchyBlockPrimitive2D (Primitive2DContainer &rContainer, Primitive2DContainer &&aCandidate) |
Private Attributes | |
::unotools::WeakReference< SdrText > | mxSdrText |
const OutlinerParaObject | maOutlinerParaObject |
css::uno::Reference< css::drawing::XDrawPage > | mxLastVisualizingPage |
sal_Int16 | mnLastPageNumber |
sal_Int16 | mnLastPageCount |
Color | maLastTextBackgroundColor |
bool | mbContainsPageField: 1 |
bool | mbContainsPageCountField: 1 |
bool | mbContainsOtherFields: 1 |
Additional Inherited Members | |
Protected Member Functions inherited from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D | |
const Primitive2DContainer & | getBuffered2DDecomposition () const |
void | setBuffered2DDecomposition (Primitive2DContainer &&rNew) |
virtual void | create2DDecomposition (Primitive2DContainer &rContainer, const geometry::ViewInformation2D &rViewInformation) const=0 |
Definition at line 42 of file sdrtextprimitive2d.hxx.
drawinglayer::primitive2d::SdrTextPrimitive2D::SdrTextPrimitive2D | ( | const SdrText * | pSdrText, |
OutlinerParaObject | aOutlinerParaObjectPtr | ||
) |
Definition at line 97 of file sdrtextprimitive2d.cxx.
References SvxAuthorField::CLASS_ID, SvxDateTimeField::CLASS_ID, SvxFieldData::CLASS_ID, SvxFooterField::CLASS_ID, SvxHeaderField::CLASS_ID, SvxPagesField::CLASS_ID, OutlinerParaObject::GetTextObject(), EditTextObject::HasField(), maOutlinerParaObject, mbContainsOtherFields, mbContainsPageCountField, and mbContainsPageField.
|
pure virtual |
|
staticprotected |
Definition at line 92 of file sdrtextprimitive2d.cxx.
Referenced by drawinglayer::primitive2d::SdrContourTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::create2DDecomposition(), and drawinglayer::primitive2d::SdrChainedTextPrimitive2D::create2DDecomposition().
|
overridevirtual |
Reimplemented from drawinglayer::primitive2d::BufferedDecompositionPrimitive2D.
Definition at line 138 of file sdrtextprimitive2d.cxx.
References drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::get2DDecomposition(), Outliner::GetBackgroundColor(), drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::getBuffered2DDecomposition(), SdrModel::GetDrawOutliner(), SdrText::GetObject(), getPageCount(), SdrObject::getSdrModelFromSdrObject(), getSdrText(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), maLastTextBackgroundColor, mbContainsOtherFields, mbContainsPageCountField, mbContainsPageField, mnLastPageCount, mnLastPageNumber, mxLastVisualizingPage, and drawinglayer::primitive2d::BufferedDecompositionPrimitive2D::setBuffered2DDecomposition().
|
inline |
Definition at line 88 of file sdrtextprimitive2d.hxx.
References maOutlinerParaObject.
Referenced by drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrContourTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrChainedTextPrimitive2D::createTransformedClone(), SdrTextObj::impDecomposeBlockTextPrimitive(), SdrTextObj::impDecomposeContourTextPrimitive(), SdrTextObj::impDecomposePathTextPrimitive(), SdrTextObj::impDecomposeStretchTextPrimitive(), and operator==().
const SdrText * drawinglayer::primitive2d::SdrTextPrimitive2D::getSdrText | ( | ) | const |
Definition at line 118 of file sdrtextprimitive2d.cxx.
References unotools::WeakReference< class interface_type >::get(), and mxSdrText.
Referenced by drawinglayer::primitive2d::SdrContourTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrChainedTextPrimitive2D::create2DDecomposition(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrContourTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::createTransformedClone(), drawinglayer::primitive2d::SdrChainedTextPrimitive2D::createTransformedClone(), get2DDecomposition(), SdrTextObj::impDecomposeAutoFitTextPrimitive(), and SdrTextObj::impDecomposeChainedTextPrimitive().
|
overridevirtual |
Reimplemented from drawinglayer::primitive2d::BasePrimitive2D.
Reimplemented in drawinglayer::primitive2d::SdrContourTextPrimitive2D, drawinglayer::primitive2d::SdrPathTextPrimitive2D, drawinglayer::primitive2d::SdrBlockTextPrimitive2D, drawinglayer::primitive2d::SdrStretchTextPrimitive2D, drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D, and drawinglayer::primitive2d::SdrChainedTextPrimitive2D.
Definition at line 120 of file sdrtextprimitive2d.cxx.
References getOutlinerParaObject(), and OutlinerParaObject::isWrongListEqual().
|
private |
Definition at line 70 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition().
|
private |
Definition at line 52 of file sdrtextprimitive2d.hxx.
Referenced by getOutlinerParaObject(), and SdrTextPrimitive2D().
|
private |
Definition at line 75 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition(), and SdrTextPrimitive2D().
|
private |
Definition at line 74 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition(), and SdrTextPrimitive2D().
|
private |
Definition at line 73 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition(), and SdrTextPrimitive2D().
|
private |
Definition at line 66 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition().
|
private |
Definition at line 62 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition().
|
private |
Definition at line 58 of file sdrtextprimitive2d.hxx.
Referenced by get2DDecomposition().
|
private |
Definition at line 47 of file sdrtextprimitive2d.hxx.
Referenced by getSdrText().