diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-18 11:10:32 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-18 11:10:32 +0000 |
commit | bd4b1fb9f42fb21848421ec3e831ff6d4f38bb03 (patch) | |
tree | afc88e429718399dec80b2f207ec9a35e8892f80 /writerfilter/inc | |
parent | #i88226# Needs headers delivered by module 'canvas'. (diff) | |
download | core-bd4b1fb9f42fb21848421ec3e831ff6d4f38bb03.tar.gz core-bd4b1fb9f42fb21848421ec3e831ff6d4f38bb03.zip |
INTEGRATION: CWS xmlfilter04 (1.13.14); FILE MERGED
2008/03/20 10:32:22 hbrinkm 1.13.14.5: resync cleanup
2008/03/19 14:33:16 hbrinkm 1.13.14.4: RESYNC: (1.13-1.14); FILE MERGED
2008/03/06 08:09:08 hbrinkm 1.13.14.3: removed getInputStream, new: getStorageStream, getTarget
2008/02/26 08:36:38 hbrinkm 1.13.14.2: additionally use type of footnote/endnote to specify which footnote/endnote to use
2008/02/21 12:33:22 hbrinkm 1.13.14.1: joined changes from xmlfilter03
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/ooxml/OOXMLDocument.hxx | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/writerfilter/inc/ooxml/OOXMLDocument.hxx b/writerfilter/inc/ooxml/OOXMLDocument.hxx index b486a99c5480..b9359e8a49f4 100644 --- a/writerfilter/inc/ooxml/OOXMLDocument.hxx +++ b/writerfilter/inc/ooxml/OOXMLDocument.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OOXMLDocument.hxx,v $ - * $Revision: 1.15 $ + * $Revision: 1.16 $ * * This file is part of OpenOffice.org. * @@ -105,13 +105,10 @@ public: */ virtual uno::Reference<xml::sax::XFastParser> getFastParser() = 0; - /** - Returns input stream for this stream. - */ - virtual uno::Reference<io::XInputStream> getInputStream() = 0; - virtual uno::Reference<io::XInputStream> getDocumentStream() = 0; + virtual uno::Reference<io::XInputStream> getStorageStream() = 0; + /** Returns component context for this stream. */ @@ -126,6 +123,8 @@ public: */ virtual ::rtl::OUString getTargetForId(const ::rtl::OUString & rId) = 0; + virtual const ::rtl::OUString & getTarget() const = 0; + virtual uno::Reference<xml::sax::XFastTokenHandler> getFastTokenHandler(uno::Reference<uno::XComponentContext> rContext) = 0; @@ -158,19 +157,28 @@ public: /** Resolves a footnote to a stream handler. + A footnote is resolved if either the note type or + note id matches. + @param rStream stream handler to resolve to + @param rNoteType type of footnote to resolve @param rNoteId id of the footnote to resolve */ virtual void resolveFootnote(Stream & rStream, + const Id & rNoteType, const rtl::OUString & rNoteId) = 0; - /** Resolves an endnote to a stream handler. + An endnote is resolved if either the note type or + note id matches. + @param rStream stream handler to resolve to + @param rNoteType type of footnote to resolve @param rNoteId id of the endnote to resolve */ virtual void resolveEndnote(Stream & rStream, + const Id & rNoteType, const rtl::OUString & rNoteId) = 0; /** @@ -236,10 +244,14 @@ public: virtual void setShapes(uno::Reference<drawing::XShapes> xShapes) = 0; virtual uno::Reference<drawing::XShapes> getShapes() = 0; virtual uno::Reference<io::XInputStream> getInputStream() = 0; + virtual uno::Reference<io::XInputStream> getStorageStream() = 0; virtual uno::Reference<io::XInputStream> getInputStreamForId (const ::rtl::OUString & rId) = 0; virtual void setXNoteId(const rtl::OUString & rId) = 0; virtual const ::rtl::OUString & getXNoteId() const = 0; + virtual void setXNoteType(const Id & nId) = 0; + virtual const Id & getXNoteType() const = 0; + virtual const ::rtl::OUString & getTarget() const = 0; }; |