68 : m_pDocStream(pInputStream)
93 SAL_WARN(
"lwp",
"Only Lotus Word Pro 97 (version 11) and later is supported.");
154 if (pDocData !=
nullptr)
188 pAttrList->
AddAttribute(
"xmlns:office",
"http://openoffice.org/2000/office");
189 pAttrList->
AddAttribute(
"xmlns:style",
"http://openoffice.org/2000/style");
190 pAttrList->
AddAttribute(
"xmlns:text",
"http://openoffice.org/2000/text");
191 pAttrList->
AddAttribute(
"xmlns:table",
"http://openoffice.org/2000/table");
192 pAttrList->
AddAttribute(
"xmlns:draw",
"http://openoffice.org/2000/drawing");
194 pAttrList->
AddAttribute(
"xmlns:fo",
"http://www.w3.org/1999/XSL/Format");
195 pAttrList->
AddAttribute(
"xmlns:xlink",
"http://www.w3.org/1999/xlink");
196 pAttrList->
AddAttribute(
"xmlns:number",
"http://openoffice.org/2000/datastyle");
197 pAttrList->
AddAttribute(
"xmlns:svg",
"http://www.w3.org/2000/svg");
198 pAttrList->
AddAttribute(
"xmlns:chart",
"http://openoffice.org/2000/chart");
200 pAttrList->
AddAttribute(
"xmlns:dr3d",
"http://openoffice.org/2000/dr3d");
201 pAttrList->
AddAttribute(
"xmlns:math",
"http://www.w3.org/1998/Math/MathML");
202 pAttrList->
AddAttribute(
"xmlns:form",
"http://openoffice.org/2000/form");
203 pAttrList->
AddAttribute(
"xmlns:script",
"http://openoffice.org/2000/script");
204 pAttrList->
AddAttribute(
"xmlns:dc",
"http://purl.org/dc/elements/1.1/");
206 pAttrList->
AddAttribute(
"xmlns:meta",
"http://openoffice.org/2000/meta");
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 void StartDocument()=0
@descr Called when start write.Usually you can output document type info and xml encoding info.
virtual IXFAttrList * GetAttrList()=0
@descr return the Attribute list interface.
virtual void StartElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::startElement()
virtual void EndDocument()=0
@descr called when end output.
virtual void EndElement(const OUString &oustr)=0
@descr Wrap XDocumentHandler::endElement()
void WriteDocHeader()
@descr Write xml document header
bool Read()
@descr The entrance of Word Pro 9 import filter.
LwpFileHeader m_LwpFileHdr
LwpObjectFactory * m_pObjMgr
bool ReadFileHeader()
@descr Read the LWP7 object.
void WriteDocEnd()
@descr Write xml document end
void ReadIndex()
@descr Read the index objects at the end of the WordProData stream
Lwp9Reader(LwpSvStream *InputStream, IXFStream *pStream)
LwpSvStream * m_pDocStream
bool ParseDocument()
@descr Parse all document content
void ConvertAllChange(IXFStream *pStream)
void Parse(IXFStream *pOutputStream) override
@descr default parse function
Document object, represent document and division.
LwpObjectID & GetDocData()
void Parse(IXFStream *pOutputStream) override
@descr Parse obj to IXFStream
XFStyleManager * GetXFStyleManager()
LwpChangeMgr * GetLwpChangeMgr()
static void DeleteInstance()
static LwpGlobalMgr * GetInstance(LwpSvStream *pSvStream=nullptr)
LwpObjectFactory * GetLwpObjFactory()
void ReadIndex(LwpSvStream *pStrm)
@descr read the index manager
rtl::Reference< LwpObject > obj(VO_TYPE tag=VO_INVALID) const
@descr get object from object factory per the object id
encapsulate XInputStream to provide SvStream like interfaces
bool CheckSeek(sal_Int64 pos)
static const sal_uInt32 LWP_STREAM_BASE
sal_Int64 Seek(sal_Int64 pos)
@descr Seek to pos
sal_Int64 Tell()
@descr Get the current position in stream
Style manager for the filter.
void ToXml(IXFStream *strm)
GtkMediaStream * m_pStream
#define SAL_WARN(area, stream)
void RegisteArrowStyles()
@descr Register arrow styles that are not directly support by SODC.