62#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFPARASTYLE_HXX
63#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFPARASTYLE_HXX
81#define XFPARA_FLAG_FONT 0X00000001
82#define XFPARA_FLAG_DROPCAP 0X00000002
83#define XFPARA_FLAG_BACKCOLOR 0X00000004
136 void SetPadding(
double left,
double right,
double top,
double bottom);
143 void SetMargins(
double left,
double right,
double top=-1,
double bottom=-1);
173 void SetDropCap(sal_Int16 nLength, sal_Int16 nLines,
double fDistance = 0);
Stream wrapper for sax writer.
@descr Interface for all style object.
Borders for object with borders.
@descr Page|Column break object.
void SetBreakType(enumXFBreaks breaks)
@descr Set break type, pls refer to enumXFBreaks.
enumXFStyle GetStyleFamily() override
@descr get style family.
void SetTabDistance(double len)
virtual void ToXml(IXFStream *pStrm) override
Paddings for paragraph,frame, ...
void SetBottom(double bottom)
@descr Set padding bottom.
void SetLeft(double left)
@descr Set padding left.
void SetTop(double top)
@descr Set padding top.
void SetRight(double right)
@descr Set padding right.
Style object for aragraph.
virtual void ToXml(IXFStream *strm) override
void SetPadding(double left, double right, double top, double bottom)
@descr Set the padding of the paragraph.
void SetIndent(double indent)
@descr Set the indent of the paragraph.
void SetBreaks(enumXFBreaks breaks)
descr You can only set one break property for every para style object.
void SetDropCap(sal_Int16 nLength, sal_Int16 nLines, double fDistance=0)
@descr Set drop caption of the paragraph.
std::unique_ptr< XFBGImage > m_pBGImage
void SetMargins(double left, double right, double top=-1, double bottom=-1)
@descr Set the Margins of the paragraph.
const OUString & GetMasterPage() const
enumXFAlignType m_eAlignType
void SetLineHeight(enumLHType type, double value)
@descr Set line height of the paragraph.
virtual ~XFParaStyle() override
bool GetNumberRight() const
void SetMasterPage(const OUString &master)
@descr Set layout for the paragraph.
const rtl::Reference< XFFont > & GetFont() const
@descr get the font object.
std::unique_ptr< XFBorders > m_pBorders
XFParaStyle & operator=(const XFParaStyle &other)
virtual enumXFStyle GetStyleFamily() override
@descr get style family.
void SetShadow(enumXFShadowPos pos, double offset, XFColor const &color)
@descr Set the shadow of the paragraph.
rtl::Reference< XFFont > m_pFont
virtual bool Equal(IXFStyle *pStyle) override
Affirm whether two XFParaStyle objects are equal.
void SetFont(rtl::Reference< XFFont > const &font)
@descr set the paragraph default font.
void SetBackImage(std::unique_ptr< XFBGImage > &rImage)
@descr Set background image of the paragraph.
void AddTabStyle(enumXFTab type, double len, sal_Unicode leader, sal_Unicode delimiter)
@descr Add a tab style.
void SetNumberRight(bool bFlag)
void ClearTabStyles()
@descr for para style copy operator, sometimes you may need to override tab styles.
void SetBorders(XFBorders *pBorders)
@descr The borders is complex, so you have to create one before use.
XFLineHeight m_aLineHeight
void SetAlignType(enumXFAlignType eAlign)
@descr Set alignment property of the paragraph.
void SetBackColor(XFColor const &color)
@descr Set background color of the paragraph.
@descr container object for styles.
void Reset()
@descr clear container.
implements ixfstyle interface.