75 :
LwpFrib(pPara), m_bNoUnicode(bNoUnicode)
83 rtl_TextEncoding rEncode;
86 rEncode = RTL_TEXTENCODING_ISO_8859_1;
175 std::unique_ptr<XFDateStyle> pDateStyle(
new XFDateStyle);
177 pDateStyle->AddMonth();
178 pDateStyle->AddText(
"/");
179 pDateStyle->AddMonthDay();
180 pDateStyle->AddText(
"/");
181 pDateStyle->AddYear();
182 pDateStyle->AddText(
",");
183 pDateStyle->AddHour();
184 pDateStyle->AddText(
":");
185 pDateStyle->AddMinute();
186 pDateStyle->AddText(
":");
187 pDateStyle->AddSecond();
194 std::unique_ptr<XFTimeStyle> pTimeStyle(
new XFTimeStyle);
195 pTimeStyle->SetTruncate(
false);
196 pTimeStyle->AddMinute();
212 static_cast<XFFileName*
>(pContent)->SetType(
"FileName");
218 static_cast<XFFileName*
>(pContent)->SetType(
"Path");
323 pSpan->
Add(pContent);
327 pXFPara->
Add(pContent);
337 rtl_TextEncoding rEncode;
420 pXFPara->
Add(pAfter);
virtual OUString GetStyleName()=0
@descr: return the style name.
void Read(LwpObjectStream *pStrm)
@descr read atomholder from object stream the default encoding used in Word Pro is 1252
const OUString & str() const
static rtl_TextEncoding GetTextCharEncoding()
static LwpCharSetMgr * GetInstance()
void XFConvert(XFContentContainer *pXFPara)
: convert the doc info field
void RegisterStyle(LwpFoundry *pFoundry) override
: register style for doc field (text style,date style)
void RegisterDefaultTimeStyle()
: register default time style for doc field
LwpFribDocVar(LwpPara *pPara)
: default constructor of LwpFribDocVar
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
: Reading mothed of document variable frib.
virtual ~LwpFribDocVar() override
: destructor of LwpFribDocVar
void RegisterTotalTimeStyle()
LwpAtomHolder m_aAfterText
sal_uInt16 m_nStartOnPage
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
: Read page number
void XFConvert(XFContentContainer *pXFPara)
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
: Reading mothed of paranumber frib.
const OUString & GetText() const
void XFConvert(XFContentContainer *pXFPara, LwpStory *pStory)
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
LwpFribText(LwpPara *pPara, bool bNoUnicode)
void Read(LwpObjectStream *pObjStrm, sal_uInt16 len) override
: Read unicode
void XFConvert(XFContentContainer *pXFPara, LwpStory *pStory)
const OUString & GetText() const
const OUString & GetStyleName() const
void ConvertHyperLink(XFContentContainer *pXFPara, const LwpHyperlinkMgr *pHyperlink, const OUString &text)
virtual void RegisterStyle(LwpFoundry *pFoundry)
std::unique_ptr< ModifierInfo > m_pModifiers
void ConvertChars(XFContentContainer *pXFPara, const OUString &text)
XFStyleManager * GetXFStyleManager()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
bool GetHyperlinkFlag() const
stream class for LwpObject body data provide stream like interface to read object data
sal_uInt16 QuickReaduInt16(bool *pFailure=nullptr)
@descr Quick read sal_uInt32
void SeekRel(sal_uInt16 pos)
@descr SeekRel pos in object stream/buffer
LwpHyperlinkMgr * GetHyperlinkMgr()
virtual void Add(XFContent *pContent)
@descr Add content.
@descr Base class for all content object.
virtual void SetStyleName(const OUString &style)
: All content except XFTextContent can have a style.
void SetNumFmt(const OUString &fmt)
Style manager for the filter.
IXFStyleRet AddStyle(std::unique_ptr< IXFStyle > pStyle)
void Add(XFContent *pContent)