LibreOffice Module svx (master) 1
|
#include <svdtext.hxx>
Public Member Functions | |
SdrText (SdrTextObj &rObject) | |
virtual | ~SdrText () override |
void | ForceOutlinerParaObject (OutlinerMode nOutlMode) |
virtual void | SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
OutlinerParaObject * | GetOutlinerParaObject () |
const OutlinerParaObject * | GetOutlinerParaObject () const |
void | CheckPortionInfo (const SdrOutliner &rOutliner) |
void | ReformatText () |
const SfxItemSet & | GetItemSet () const |
SdrTextObj & | GetObject () const |
std::optional< OutlinerParaObject > | RemoveOutlinerParaObject () |
returns the current OutlinerParaObject and removes it from this instance More... | |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Protected Member Functions | |
virtual const SfxItemSet & | GetObjectItemSet () |
virtual SfxStyleSheet * | GetStyleSheet () const |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Private Attributes | |
std::optional< OutlinerParaObject > | mpOutlinerParaObject |
SdrTextObj & | mrObject |
bool | mbPortionInfoChecked |
Additional Inherited Members | |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 42 of file svdtext.hxx.
|
explicit |
Definition at line 30 of file svdtext.cxx.
References mrObject.
|
overridevirtual |
Definition at line 37 of file svdtext.cxx.
void SdrText::CheckPortionInfo | ( | const SdrOutliner & | rOutliner | ) |
Definition at line 41 of file svdtext.cxx.
References Outliner::CreateParaObject(), SdrModel::GetHitTestOutliner(), SdrObject::getSdrModelFromSdrObject(), mbPortionInfoChecked, mpOutlinerParaObject, mrObject, and Outliner::ShouldCreateBigTextObject().
Referenced by SdrTextObj::TakeTextRect(), and SdrObjCustomShape::TakeTextRect().
void SdrText::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 125 of file svdtext.cxx.
References OutlinerParaObject::dumpAsXml(), and mpOutlinerParaObject.
void SdrText::ForceOutlinerParaObject | ( | OutlinerMode | nOutlMode | ) |
Definition at line 96 of file svdtext.cxx.
References Outliner::GetCalcFieldValueHdl(), SdrModel::GetDrawOutliner(), SdrObject::getSdrModelFromSdrObject(), GetStyleSheet(), mpOutlinerParaObject, mrObject, SdrMakeOutliner(), and SetOutlinerParaObject().
Referenced by SdrTextObj::ForceOutlinerParaObject().
const SfxItemSet & SdrText::GetItemSet | ( | ) | const |
Definition at line 67 of file svdtext.cxx.
References GetObjectItemSet().
Referenced by SdrTextObj::impDecomposeAutoFitTextPrimitive(), SdrTextObj::impDecomposeChainedTextPrimitive(), and drawinglayer::attribute::ImpSdrTextAttribute::ImpSdrTextAttribute().
|
inline |
Definition at line 63 of file svdtext.hxx.
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::createNewSdrTextAttribute(), drawinglayer::primitive2d::createTextPrimitive(), drawinglayer::primitive2d::SdrTextPrimitive2D::get2DDecomposition(), drawinglayer::attribute::SdrTextAttribute::getBlinkTextTiming(), drawinglayer::attribute::SdrTextAttribute::getScrollTextTiming(), and drawinglayer::attribute::ImpSdrTextAttribute::ImpSdrTextAttribute().
|
protectedvirtual |
Definition at line 115 of file svdtext.cxx.
References SdrObject::GetObjectItemSet(), and mrObject.
Referenced by GetItemSet().
OutlinerParaObject * SdrText::GetOutlinerParaObject | ( | ) |
Definition at line 78 of file svdtext.cxx.
References mpOutlinerParaObject.
Referenced by SdrUndoObjSetText::AfterSetText(), SdrObjEditView::ApplyFormatPaintBrushToText(), drawinglayer::primitive2d::createNewSdrTextAttribute(), SdrTextObj::FitFrameToTextSize(), SdrTextObj::ForceOutlinerParaObject(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrTextObj::GetOutlinerParaObject(), SdrTextObj::GetTextSize(), SdrTextObj::impDecomposeAutoFitTextPrimitive(), SdrTextObj::impDecomposeChainedTextPrimitive(), sdr::properties::TextProperties::ItemChange(), sdr::properties::TextProperties::ItemSetChanged(), SdrTextObj::NbcReformatText(), SdrTextObj::NbcSetOutlinerParaObjectForText(), sdr::properties::TextProperties::Notify(), SdrTextObj::RemoveOutlinerCharacterAttribs(), SdrTextObj::SdrTextObj(), SdrUndoObjSetText::SdrUndoObjSetText(), sdr::properties::TextProperties::SetStyleSheet(), and SdrTextObj::TakeTextRect().
const OutlinerParaObject * SdrText::GetOutlinerParaObject | ( | ) | const |
Definition at line 83 of file svdtext.cxx.
References mpOutlinerParaObject.
|
protectedvirtual |
Definition at line 120 of file svdtext.cxx.
References SdrObject::GetStyleSheet(), and mrObject.
Referenced by ForceOutlinerParaObject().
void SdrText::ReformatText | ( | ) |
Definition at line 61 of file svdtext.cxx.
References OutlinerParaObject::ClearPortionInfo(), mbPortionInfoChecked, and mpOutlinerParaObject.
Referenced by SdrTextObj::NbcReformatText().
std::optional< OutlinerParaObject > SdrText::RemoveOutlinerParaObject | ( | ) |
returns the current OutlinerParaObject and removes it from this instance
Definition at line 89 of file svdtext.cxx.
References mbPortionInfoChecked, and mpOutlinerParaObject.
|
virtual |
Definition at line 72 of file svdtext.cxx.
References mbPortionInfoChecked, and mpOutlinerParaObject.
Referenced by SdrTextObj::EndTextEdit(), ForceOutlinerParaObject(), SdrTextObj::NbcSetOutlinerParaObjectForText(), and SdrTextObj::SdrTextObj().
|
private |
Definition at line 77 of file svdtext.hxx.
Referenced by CheckPortionInfo(), ReformatText(), RemoveOutlinerParaObject(), and SetOutlinerParaObject().
|
private |
Definition at line 75 of file svdtext.hxx.
Referenced by CheckPortionInfo(), dumpAsXml(), ForceOutlinerParaObject(), GetOutlinerParaObject(), ReformatText(), RemoveOutlinerParaObject(), and SetOutlinerParaObject().
|
private |
Definition at line 76 of file svdtext.hxx.
Referenced by CheckPortionInfo(), ForceOutlinerParaObject(), GetObjectItemSet(), GetStyleSheet(), and SdrText().