diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2001-01-10 20:01:48 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2001-01-10 20:01:48 +0000 |
commit | 52d244dee88b111631680d8cd4c8b922f9640c15 (patch) | |
tree | 6b692eff2f2bec68fc1de8f0b894da3d5e48ff37 /sw/source/filter/xml/xmltexti.hxx | |
parent | 277e2262d245dc40722593d9f0002ddc31a8d21c (diff) |
- added: redline import
Diffstat (limited to 'sw/source/filter/xml/xmltexti.hxx')
-rw-r--r-- | sw/source/filter/xml/xmltexti.hxx | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltexti.hxx b/sw/source/filter/xml/xmltexti.hxx index b3448e3b9958..1cf127328ac1 100644 --- a/sw/source/filter/xml/xmltexti.hxx +++ b/sw/source/filter/xml/xmltexti.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xmltexti.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mib $ $Date: 2001-01-03 11:40:56 $ + * last change: $Author: dvo $ $Date: 2001-01-10 21:01:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,8 +66,13 @@ #include <xmloff/txtimp.hxx> #endif +class XMLRedlineImportHelper; + + class SwXMLTextImportHelper : public XMLTextImportHelper { + XMLRedlineImportHelper *pRedlineHelper; + protected: virtual SvXMLImportContext *CreateTableChildContext( SvXMLImport& rImport, @@ -89,6 +94,27 @@ public: const ::rtl::OUString& rClassId ); virtual sal_Bool IsInHeaderFooter() const; + + + // redlining helper methods + // (override to provide the real implementation) + virtual void RedlineAdd( + const ::rtl::OUString& rType, /// redline type (insert, del,... ) + const ::rtl::OUString& rId, /// use to identify this redline + const ::rtl::OUString& rAuthor, /// name of the author + const ::rtl::OUString& rComment, /// redline comment + const ::com::sun::star::util::DateTime& rDateTime); /// date+time + virtual ::com::sun::star::uno::Reference< + ::com::sun::star::text::XTextCursor> RedlineCreateText( + ::com::sun::star::uno::Reference< /// needed to get the document + ::com::sun::star::text::XTextCursor> xOldCursor, + const ::rtl::OUString& rId); /// ID used to RedlineAdd() call + virtual void RedlineSetCursor( + const ::rtl::OUString& rId, /// ID used to RedlineAdd() call + sal_Bool bStart, /// start or end Cursor + ::com::sun::star::uno::Reference< + ::com::sun::star::text::XTextRange> & rRange); + }; #endif // _XMLTEXTI_HXX |