19#ifndef INCLUDED_EDITENG_LRSPITEM_HXX
20#define INCLUDED_EDITENG_LRSPITEM_HXX
55 sal_uInt16 m_nPropLeftMargin = 100;
59 void SetLeft(
const tools::Long nL,
const sal_uInt16 nProp = 100);
79 OUString &rText,
const IntlWrapper&)
const override;
86 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
96 sal_uInt16 m_nPropLeftMargin = 100;
105 void SetTextLeft(
const tools::Long nL,
const sal_uInt16 nProp = 100);
121 OUString &rText,
const IntlWrapper&)
const override;
128 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
136 short m_nFirstLineOffset = 0;
137 sal_uInt16 m_nPropFirstLineOffset = 100;
139 bool m_bAutoFirst =
false;
145 void SetTextFirstLineOffset(
const short nF,
const sal_uInt16 nProp = 100);
148 { m_nPropFirstLineOffset = nProp; }
150 {
return m_nPropFirstLineOffset; }
152 { m_nFirstLineOffset =
nValue; }
167 OUString &rText,
const IntlWrapper&)
const override;
174 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
182 sal_uInt16 m_nPropRightMargin = 100;
186 void SetRight(
const tools::Long nR,
const sal_uInt16 nProp = 100);
206 OUString &rText,
const IntlWrapper&)
const override;
213 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
239 OUString &rText,
const IntlWrapper&)
const override;
246 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
271 OUString &rText,
const IntlWrapper&)
const override;
278 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
304 const sal_uInt16 nId );
311 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
316 OUString &rText,
const IntlWrapper& )
const override;
323 void SetLeft (
const tools::Long nL,
const sal_uInt16 nProp = 100);
324 void SetRight(
const tools::Long nR,
const sal_uInt16 nProp = 100);
342 void SetTextLeft(
const tools::Long nL,
const sal_uInt16 nProp = 100);
345 void SetTextFirstLineOffset(
const short nF,
const sal_uInt16 nProp = 100);
348 { nPropFirstLineOffset = nProp; }
350 {
return nPropFirstLineOffset; }
359 virtual boost::property_tree::ptree
dumpAsJSON()
const override;
virtual void ScaleMetrics(tools::Long lMult, tools::Long lDiv)
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
virtual bool operator==(const SfxPoolItem &) const=0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
virtual boost::property_tree::ptree dumpAsJSON() const
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
virtual bool HasMetrics() const
first line indent that may be applied to paragraphs
SvxFirstLineIndentItem(SvxFirstLineIndentItem const &)=default
void SetPropTextFirstLineOffset(const sal_uInt16 nProp)
void SetTextFirstLineOffsetValue(const short nValue)
sal_uInt16 GetPropTextFirstLineOffset() const
void SetAutoFirst(const bool bNew)
short GetTextFirstLineOffset() const
gutter margin - for page styles
void SetGutterMargin(const tools::Long nGutterMargin)
tools::Long GetGutterMargin() const
SvxGutterLeftMarginItem(SvxGutterLeftMarginItem const &)=default
gutter margin - for page styles
SvxGutterRightMarginItem(SvxGutterRightMarginItem const &)=default
tools::Long GetRightGutterMargin() const
void SetGutterMargin(const tools::Long nGutterMargin)
void SetLeftValue(const tools::Long nL)
void SetPropTextFirstLineOffset(const sal_uInt16 nProp)
tools::Long GetRightGutterMargin() const
bool bExplicitZeroMarginValLeft
short nFirstLineOffset
First-line indent always relative to GetTextLeft()
void SetExplicitZeroMarginValRight(const bool eR)
sal_uInt16 GetPropLeft() const
sal_uInt16 GetPropRight() const
bool IsExplicitZeroMarginValRight() const
void SetTextFirstLineOffsetValue(const short nValue)
bool IsExplicitZeroMarginValLeft() const
sal_uInt16 nPropFirstLineOffset
short GetTextFirstLineOffset() const
tools::Long GetRight() const
void SetRightGutterMargin(const tools::Long nRightGutterMargin)
void SetExplicitZeroMarginValLeft(const bool eL)
tools::Long GetGutterMargin() const
tools::Long GetLeft() const
void SetRightValue(const tools::Long nR)
tools::Long m_nGutterMargin
The amount of extra space added to the left margin.
bool bExplicitZeroMarginValRight
SvxLRSpaceItem(SvxLRSpaceItem const &)=default
void SetAutoFirst(const bool bNew)
sal_uInt16 GetPropTextFirstLineOffset() const
tools::Long m_nRightGutterMargin
The amount of extra space added to the right margin, on mirrored pages.
GetLeft() - for everything that's not applied to a paragraph.
sal_uInt16 GetPropLeft() const
tools::Long GetLeft() const
SvxLeftMarginItem(SvxLeftMarginItem const &)=default
tools::Long GetRight() const
SvxRightMarginItem(SvxRightMarginItem const &)=default
sal_uInt16 GetPropRight() const
GetTextLeft() - for everything that's applied to a paragraph.
SvxTextLeftMarginItem(SvxTextLeftMarginItem const &)=default
sal_uInt16 GetPropLeft() const
#define EDITENG_DLLPUBLIC
struct _xmlTextWriter * xmlTextWriterPtr
sal_Int32 nFirstLineOffset
tools::Long const nRightMargin
tools::Long const nLeftMargin