23#include <libxml/xmlwriter.h>
50 nStart(nS), nEnd(nE), bFeature(false), bEdge(false)
68 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"EditCharAttrib"));
69 (void)xmlTextWriterWriteFormatAttribute(
70 pWriter, BAD_CAST(
"nStart"),
"%" SAL_PRIdINT32,
nStart);
71 (void)xmlTextWriterWriteFormatAttribute(
72 pWriter, BAD_CAST(
"nEnd"),
"%" SAL_PRIdINT32,
nEnd);
74 (void)xmlTextWriterEndElement(pWriter);
352 aFieldValue( rAttr.aFieldValue )
bool IsTransparent() const
EditCharAttribBackgroundColor(const SvxColorItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribCaseMap(const SvxCaseMapItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribColor(const SvxColorItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribEmphasisMark(const SvxEmphasisMarkItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribEscapement(const SvxEscapementItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribField(const SvxFieldItem &rAttr, sal_Int32 nPos)
virtual ~EditCharAttribField() override
bool operator==(const EditCharAttribField &rAttr) const
std::optional< Color > mxFldColor
std::optional< FontLineStyle > mxFldLineStyle
std::optional< Color > mxTxtColor
void SetFieldValue(const OUString &rVal)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribFontHeight(const SvxFontHeightItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribFontWidth(const SvxCharScaleWidthItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribFont(const SvxFontItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribGrabBag(const SfxGrabBagItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribItalic(const SvxPostureItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribKerning(const SvxKerningItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribLanguage(const SvxLanguageItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribLineBreak(const SfxVoidItem &rAttr, sal_Int32 nPos)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribOutline(const SvxContourItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribOverline(const SvxOverlineItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribPairKerning(const SvxAutoKernItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribRelief(const SvxCharReliefItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribShadow(const SvxShadowedItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribStrikeout(const SvxCrossedOutItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribTab(const SfxVoidItem &rAttr, sal_Int32 nPos)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribUnderline(const SvxUnderlineItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
EditCharAttribWeight(const SvxWeightItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
EditCharAttribWordLineMode(const SvxWordLineModeItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev) override
void dumpAsXml(xmlTextWriterPtr pWriter) const
const SfxPoolItem * GetItem() const
EditCharAttrib(const SfxPoolItem &rAttr, sal_Int32 nStart, sal_Int32 nEnd)
virtual ~EditCharAttrib()
virtual void SetFont(SvxFont &rFont, OutputDevice *pOutDev)
const SfxPoolItem * pItem
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
constexpr tools::Long Width() const
SvxColorItem item describes a color.
This item stores a field (SvxFieldData).
This item describes a Font.
FontFamily GetFamily() const
FontPitch GetPitch() const
rtl_TextEncoding GetCharSet() const
const OUString & GetFamilyName() const
void SetPropr(const sal_uInt8 nNewPropr)
void SetNonAutoEscapement(short nNewEsc, const OutputDevice *pOutDev=nullptr)
void SetCaseMap(const SvxCaseMap eNew)
void SetFontSize(const Size &)
void SetOutline(bool bOutline)
void SetWordLineMode(bool bWordLine)
void SetPitch(FontPitch ePitch)
void SetTransparent(bool bTransparent)
void SetFillColor(const Color &)
void SetColor(const Color &)
void SetItalic(FontItalic)
void SetWeight(FontWeight)
void SetFamily(FontFamily)
void SetUnderline(FontLineStyle)
void SetCharSet(rtl_TextEncoding)
const Size & GetFontSize() const
void SetKerning(FontKerning nKerning)
void SetFixKerning(const short nSpacing)
void SetOverline(FontLineStyle)
void SetFamilyName(const OUString &rFamilyName)
void SetLanguage(LanguageType)
void SetShadow(bool bShadow)
void SetRelief(FontRelief)
void SetEmphasisMark(FontEmphasisMark)
void SetStrikeout(FontStrikeout)
constexpr sal_uInt16 EE_FEATURE_END(EE_FEATURE_FIELD+0)
constexpr TypedWhichId< SvxContourItem > EE_CHAR_OUTLINE(EE_CHAR_START+8)
constexpr TypedWhichId< SvxKerningItem > EE_CHAR_KERNING(EE_CHAR_START+12)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO_CJK(EE_CHAR_START+17)
constexpr TypedWhichId< SvxUnderlineItem > EE_CHAR_UNDERLINE(EE_CHAR_START+5)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT(EE_CHAR_START+2)
constexpr TypedWhichId< SvxAutoKernItem > EE_CHAR_PAIRKERNING(EE_CHAR_START+11)
constexpr TypedWhichId< SvxShadowedItem > EE_CHAR_SHADOW(EE_CHAR_START+9)
constexpr TypedWhichId< SvxOverlineItem > EE_CHAR_OVERLINE(EE_CHAR_START+29)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE_CTL(EE_CHAR_START+16)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT(EE_CHAR_START+4)
constexpr sal_uInt16 EE_ITEMS_END(EE_FEATURE_END)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_COLOR(EE_CHAR_START+0)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT_CTL(EE_CHAR_START+22)
constexpr TypedWhichId< SvxCrossedOutItem > EE_CHAR_STRIKEOUT(EE_CHAR_START+6)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC(EE_CHAR_START+7)
constexpr TypedWhichId< SfxGrabBagItem > EE_CHAR_GRABBAG(EE_CHAR_START+31)
constexpr TypedWhichId< SvxEmphasisMarkItem > EE_CHAR_EMPHASISMARK(EE_CHAR_START+25)
constexpr TypedWhichId< SvxEscapementItem > EE_CHAR_ESCAPEMENT(EE_CHAR_START+10)
constexpr sal_uInt16 EE_FEATURE_START(EE_CHAR_END+1)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT_CTL(EE_CHAR_START+20)
constexpr TypedWhichId< SvxWeightItem > EE_CHAR_WEIGHT_CJK(EE_CHAR_START+21)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE_CJK(EE_CHAR_START+15)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC_CJK(EE_CHAR_START+23)
constexpr TypedWhichId< SvxCaseMapItem > EE_CHAR_CASEMAP(EE_CHAR_START+30)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO_CTL(EE_CHAR_START+18)
constexpr TypedWhichId< SvxColorItem > EE_CHAR_BKGCOLOR(EE_CHAR_START+32)
constexpr TypedWhichId< SvxPostureItem > EE_CHAR_ITALIC_CTL(EE_CHAR_START+24)
constexpr TypedWhichId< SvxCharScaleWidthItem > EE_CHAR_FONTWIDTH(EE_CHAR_START+3)
constexpr TypedWhichId< SvxLanguageItem > EE_CHAR_LANGUAGE(EE_CHAR_START+14)
constexpr sal_uInt16 EE_ITEMS_START(OWN_ATTR_VALUE_END+1)
constexpr TypedWhichId< SvxWordLineModeItem > EE_CHAR_WLM(EE_CHAR_START+13)
constexpr TypedWhichId< SvxCharReliefItem > EE_CHAR_RELIEF(EE_CHAR_START+26)
constexpr TypedWhichId< SvxFontHeightItem > EE_CHAR_FONTHEIGHT_CJK(EE_CHAR_START+19)
constexpr TypedWhichId< SvxFontItem > EE_CHAR_FONTINFO(EE_CHAR_START+1)
struct _xmlTextWriter * xmlTextWriterPtr
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
sal_Int16 GetCaseMap(sal_Int32 nToken)