68 , m_fMinLabelWidth(0.499)
69 , m_fMinLabelDistance(0)
110 pStrm->
EndElement(
"text:list-level-style-number" );
150 pStrm->
EndElement(
"text:list-level-style-bullet" );
159 for(
int i=0;
i<10;
i++ )
172 for(
int i=0;
i<10;
i++ )
196 assert(level>=1&&level<=10);
213 double minLabelWidth,
214 double minLabelDistance,
218 assert(level>=1&&level<=10);
235 OUString
const & bullet,
236 const OUString& fontname,
237 const OUString& prefix,
238 const OUString& suffix
241 assert(level>=1&&level<=10);
244 pLevel->SetPrefix(
prefix);
245 pLevel->SetSuffix(suffix);
246 pLevel->SetBulletChar(bullet);
247 pLevel->SetFontName(fontname);
250 pLevel->SetMinLabelWidth(0.499);
251 pLevel->SetIndent(0.501*level);
252 pLevel->SetLevel(level);
258 assert(level>=1&&level<=10);
261 pLevel->SetNumFmt(fmt);
262 pLevel->SetStartValue(
start);
265 pLevel->SetMinLabelWidth(0.499);
266 pLevel->SetIndent(0.501*level);
267 pLevel->SetLevel(level);
284 pLevel->ToXml(pStrm);
Attribute list interface for sax writer.
virtual void Clear()=0
@descr: Clear all the attributes in the attribute list.
virtual void AddAttribute(const OUString &name, const OUString &value)=0
@descr: Add an attribute to the attribute list.
Stream wrapper for sax writer.
virtual IXFAttrList * GetAttrList()=0
@descr return the Attribute list interface.
virtual void StartElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::startElement()
virtual void EndElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::endElement()
virtual void ToXml(IXFStream *pStrm) override
void SetDisplayLevel(sal_Int16 nDisplayLevel)
virtual void ToXml(IXFStream *pStrm)
void SetIndent(double indent)
void SetLevel(sal_Int16 level)
void SetMinLabelDistance(double distance)
sal_Int16 m_nDisplayLevel
void SetMinLabelWidth(double labelWidth)
void SetListlevelType(enumXFListLevel type)
void SetAlignType(enumXFAlignType align)
double m_fMinLabelDistance
void SetListNumber(sal_Int32 level, XFNumFmt const &numFmt, sal_Int16 nStartValue)
void SetListBullet(sal_Int32 level, OUString const &bullet_char, const OUString &fontname, const OUString &prefix, const OUString &suffix)
virtual void ToXml(IXFStream *pStrm) override
std::unique_ptr< XFListLevel > m_pListLevels[10]
void SetDisplayLevel(sal_Int32 level, sal_Int16 nShowLevel)
virtual ~XFListStyle() override
void SetListPosition(sal_Int32 level, double indent, double minLabelWidth, double minLabelDistance, enumXFAlignType align=enumXFAlignStart)
virtual void ToXml(IXFStream *pStrm) override
void SetFormat(const OUString &format)
void ToXml(IXFStream *pStrm)
void SetSuffix(const OUString &suffix)
implements ixfstyle interface.
virtual OUString GetStyleName() override
@descr get style name.
virtual OUString GetParentStyleName() override
@descr set parent style name.
OUString GetAlignName(enumXFAlignType align)