60#ifndef INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFDATESTYLE_HXX
61#define INCLUDED_LOTUSWORDPRO_INC_XFILTER_XFDATESTYLE_HXX
89 void AddYear(
bool bLongFmt =
true);
91 void AddMonth(
bool bLongFmt =
true,
bool bTexture =
false);
99 void AddHour(
bool bLongFmt =
true);
107 void AddText(
const OUString& part);
121 std::unique_ptr<XFDatePart> part(
new XFDatePart());
123 part->SetLongFmt(bLongFmt);
129 std::unique_ptr<XFDatePart> part(
new XFDatePart());
131 part->SetLongFmt(bLongFmt);
132 part->SetTexture(bTexture);
138 std::unique_ptr<XFDatePart> part(
new XFDatePart());
140 part->SetLongFmt(bLongFmt);
146 std::unique_ptr<XFDatePart> part(
new XFDatePart());
148 part->SetLongFmt(bLongFmt);
154 std::unique_ptr<XFDatePart> part(
new XFDatePart());
156 part->SetLongFmt(
false);
162 std::unique_ptr<XFDatePart> part(
new XFDatePart());
170 std::unique_ptr<XFDatePart> part(
new XFDatePart());
172 part->SetLongFmt(bLongFmt);
178 std::unique_ptr<XFDatePart> part(
new XFDatePart());
180 part->SetLongFmt(bLongFmt);
186 std::unique_ptr<XFDatePart> part(
new XFDatePart());
188 part->SetLongFmt(bLongFmt);
189 part->SetDecimalPos(0);
195 std::unique_ptr<XFDatePart> part(
new XFDatePart());
Stream wrapper for sax writer.
void SetTexture(bool bTexture)
virtual void ToXml(IXFStream *pStrm) override
void AddMinute(bool bLongFmt=true)
void AddSecond(bool bLongFmt=true)
virtual enumXFStyle GetStyleFamily() override
@descr get style family.
XFStyleContainer m_aParts
void AddText(const OUString &part)
void AddWeekDay(bool bLongFmt=true)
void AddHour(bool bLongFmt=true)
void AddYear(bool bLongFmt=true)
virtual ~XFDateStyle() override
void AddMonthDay(bool bLongFmt=true)
virtual void ToXml(IXFStream *pStrm) override
void AddMonth(bool bLongFmt=true, bool bTexture=false)
@descr container object for styles.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
@descr Add style to container.
implements ixfstyle interface.