43class SharedStringPool;
93 typedef std::vector<std::unique_ptr<XParaPortion> >
ListType;
104 XParaPortionList(
OutputDevice* pRefDev, sal_uInt32 nPW,
double fFontScaleX,
double fFontScaleY,
double fSpacingScaleX,
double fSpacingScaleY);
130 std::unique_ptr<WrongList>
144 void SetText(
const OUString& rStr );
215 virtual std::unique_ptr<EditTextObject>
Clone()
const override;
230 virtual OUString
GetText(sal_Int32 nParagraph)
const override;
236 virtual void GetCharAttribs( sal_Int32 nPara, std::vector<EECharAttrib>& rLst )
const override;
240 virtual void GetAllSections( std::vector<editeng::Section>& rAttrs )
const override;
246 virtual bool HasField( sal_Int32 nType = css::text::textfield::Type::UNSPECIFIED )
const override;
268 virtual void Dump()
const override;
ContentInfo(SfxItemPool &rPool)
void NormalizeString(svl::SharedStringPool &rPool)
SfxItemSet & GetParaAttribs()
bool Equals(const ContentInfo &rCompare, bool bComparePool) const
ContentInfo & operator=(const ContentInfo &)=delete
const svl::SharedString & GetSharedString() const
SfxStyleFamily GetFamily() const
const SfxItemSet & GetParaAttribs() const
SfxItemSetFixed< EE_PARA_START, EE_CHAR_END > aParaAttribs
std::unique_ptr< WrongList > mpWrongs
std::vector< XEditAttribute > & GetCharAttribs()
void SetStyle(const OUString &rStyle)
const WrongList * GetWrongList() const
const std::vector< XEditAttribute > & GetCharAttribs() const
ContentInfo(const ContentInfo &)=delete
void SetFamily(const SfxStyleFamily &rFamily)
std::vector< XEditAttribute > maCharAttribs
void SetText(const OUString &rStr)
void SetWrongList(WrongList *p)
void dumpAsXml(xmlTextWriterPtr pWriter) const
const OUString & GetStyle() const
bool isWrongListEqual(const ContentInfo &rCompare) const
bool ImpChangeStyleSheets(std::u16string_view rOldName, SfxStyleFamily eOldFamily, const OUString &rNewName, SfxStyleFamily eNewFamily)
virtual bool isWrongListEqual(const EditTextObject &rCompare) const override
void SetPortionInfo(std::unique_ptr< XParaPortionList > pP)
virtual bool IsTopToBottom() const override
virtual bool RemoveCharAttribs(sal_uInt16 nWhich) override
std::unique_ptr< XParaPortionList > mpPortionInfo
EditTextObjectImpl & operator=(const EditTextObjectImpl &)=delete
virtual OUString GetText(sal_Int32 nParagraph) const override
virtual void ChangeStyleSheetName(SfxStyleFamily eFamily, std::u16string_view rOldName, const OUString &rNewName) override
virtual ~EditTextObjectImpl() override
virtual void NormalizeString(svl::SharedStringPool &rPool) override
Set paragraph strings to the shared string pool.
MapUnit GetMetric() const
virtual const SvxFieldItem * GetField() const override
virtual bool GetVertical() const override
virtual TextRotation GetRotation() const override
virtual std::vector< svl::SharedString > GetSharedStrings() const override
std::vector< std::unique_ptr< ContentInfo > > ContentInfosType
SvtScriptType meScriptType
virtual void GetStyleSheet(sal_Int32 nPara, OUString &rName, SfxStyleFamily &eFamily) const override
virtual const SfxItemPool * GetPool() const override
virtual bool IsEffectivelyVertical() const override
EditTextObjectImpl(SfxItemPool *pPool, MapUnit eDefaultMetric, bool bVertical, TextRotation eRotation, SvtScriptType eScriptType)
virtual const SvxFieldData * GetFieldData(sal_Int32 nPara, size_t nPos, sal_Int32 nType) const override
virtual bool operator==(const EditTextObject &rCompare) const override
ContentInfosType maContents
virtual sal_Int32 GetParagraphCount() const override
virtual void ClearPortionInfo() override
ContentInfo * CreateAndInsertContent()
virtual std::unique_ptr< EditTextObject > Clone() const override
virtual bool HasField(sal_Int32 nType=css::text::textfield::Type::UNSPECIFIED) const override
virtual void SetVertical(bool bVert) override
rtl::Reference< SfxItemPool > mpPool
virtual void GetAllSections(std::vector< editeng::Section > &rAttrs) const override
Get all text sections in this content.
void DestroyAttrib(const XEditAttribute &rAttr)
virtual bool ChangeStyleSheets(std::u16string_view rOldName, SfxStyleFamily eOldFamily, const OUString &rNewName, SfxStyleFamily eNewFamily) override
virtual void SetStyleSheet(sal_Int32 nPara, const OUString &rName, const SfxStyleFamily &eFamily) override
virtual const SfxItemSet & GetParaAttribs(sal_Int32 nPara) const override
virtual void SetUserType(OutlinerMode n) override
const ContentInfosType & GetContents() const
virtual SvtScriptType GetScriptType() const override
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
XEditAttribute CreateAttrib(const SfxPoolItem &rItem, sal_Int32 nStart, sal_Int32 nEnd)
virtual bool IsFieldObject() const override
bool Equals(const EditTextObjectImpl &rCompare, bool bComparePool) const
virtual void SetRotation(TextRotation nRotation) override
virtual void GetCharAttribs(sal_Int32 nPara, std::vector< EECharAttrib > &rLst) const override
virtual bool HasOnlineSpellErrors() const override
virtual OutlinerMode GetUserType() const override
ContentInfosType & GetContents()
XParaPortionList * GetPortionInfo() const
virtual editeng::FieldUpdater GetFieldUpdater() override
This item stores a field (SvxFieldData).
Keeps track of misspelled ranges in paragraph.
const SfxPoolItem * pItem
const SfxPoolItem * GetItem() const
XEditAttribute(const SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
sal_Int32 GetStart() const
void SetItem(const SfxPoolItem &rNew)
bool operator==(const XEditAttribute &rCompare) const
VclPtr< OutputDevice > pRefDevPtr
double getSpacingScaleY() const
double getFontScaleY() const
sal_uInt32 GetPaperWidth() const
bool RefDevIsVirtual() const
void push_back(XParaPortion *p)
XParaPortionList(OutputDevice *pRefDev, sal_uInt32 nPW, double fFontScaleX, double fFontScaleY, double fSpacingScaleX, double fSpacingScaleY)
OutputDevice * GetRefDevPtr() const
const MapMode & GetRefMapMode() const
const XParaPortion & operator[](size_t i) const
double getSpacingScaleX() const
double getFontScaleX() const
std::vector< std::unique_ptr< XParaPortion > > ListType
Wrapper for EditTextObject to handle updating of fields without exposing the internals of EditTextObj...
EditTextObjectImpl & toImpl(EditTextObject &rObj)
struct _xmlTextWriter * xmlTextWriterPtr
TextPortionList aTextPortions
sal_uInt16 nFirstLineOffset