Kaydet (Commit) 7f6d0660 authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: whitespace fixes in RTFDocument

Change-Id: I7cd294b42fa402e4da254fe6a2239c9d9293588b
üst a1dd382e
...@@ -16,38 +16,39 @@ ...@@ -16,38 +16,39 @@
#include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/task/XStatusIndicator.hpp> #include <com/sun/star/task/XStatusIndicator.hpp>
namespace writerfilter { namespace writerfilter
namespace rtftok { {
/// The RTFDocument opens and resolves the RTF document. namespace rtftok
class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocument {
: public writerfilter::Reference<Stream> /// The RTFDocument opens and resolves the RTF document.
{ class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocument
public: : public writerfilter::Reference<Stream>
/// Pointer to this stream. {
typedef ::boost::shared_ptr<RTFDocument> Pointer_t; public:
/// Pointer to this stream.
virtual ~RTFDocument() { } typedef boost::shared_ptr<RTFDocument> Pointer_t;
/// Resolves this document to a stream handler. virtual ~RTFDocument() { }
virtual void resolve(Stream & rHandler) = 0;
/// Resolves this document to a stream handler.
/// Returns string representation of the type of this reference. (Debugging purpose only.) virtual void resolve(Stream& rHandler) = 0;
virtual ::std::string getType() const = 0;
}; /// Returns string representation of the type of this reference. (Debugging purpose only.)
virtual ::std::string getType() const = 0;
/// Interface to create an RTFDocument instance. };
class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory
{ /// Interface to create an RTFDocument instance.
public: class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory
static RTFDocument::Pointer_t {
createDocument( public:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext, static RTFDocument::Pointer_t
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > const & xInputStream, createDocument(css::uno::Reference<css::uno::XComponentContext> const& xContext,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > const & xDstDoc, css::uno::Reference<css::io::XInputStream> const& xInputStream,
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > const & xFrame, css::uno::Reference<css::lang::XComponent> const& xDstDoc,
::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > const & xStatusIndicator); css::uno::Reference<css::frame::XFrame> const& xFrame,
}; css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator);
} // namespace rtftok };
} // namespace rtftok
} // namespace writerfilter } // namespace writerfilter
#endif // _RTFDOCUMENT_HXX_ #endif // _RTFDOCUMENT_HXX_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment