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 {
/// The RTFDocument opens and resolves the RTF document.
class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocument
: public writerfilter::Reference<Stream> : public writerfilter::Reference<Stream>
{ {
public: public:
/// Pointer to this stream. /// Pointer to this stream.
typedef ::boost::shared_ptr<RTFDocument> Pointer_t; typedef boost::shared_ptr<RTFDocument> Pointer_t;
virtual ~RTFDocument() { } virtual ~RTFDocument() { }
/// Resolves this document to a stream handler. /// Resolves this document to a stream handler.
virtual void resolve(Stream & rHandler) = 0; virtual void resolve(Stream& rHandler) = 0;
/// Returns string representation of the type of this reference. (Debugging purpose only.) /// Returns string representation of the type of this reference. (Debugging purpose only.)
virtual ::std::string getType() const = 0; virtual ::std::string getType() const = 0;
}; };
/// Interface to create an RTFDocument instance. /// Interface to create an RTFDocument instance.
class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory class WRITERFILTER_RTFTOK_DLLPUBLIC RTFDocumentFactory
{ {
public: public:
static RTFDocument::Pointer_t static RTFDocument::Pointer_t
createDocument( createDocument(css::uno::Reference<css::uno::XComponentContext> const& xContext,
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext, css::uno::Reference<css::io::XInputStream> const& xInputStream,
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > const & xInputStream, css::uno::Reference<css::lang::XComponent> const& xDstDoc,
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > const & xDstDoc, css::uno::Reference<css::frame::XFrame> const& xFrame,
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > const & xFrame, css::uno::Reference<css::task::XStatusIndicator> const& xStatusIndicator);
::com::sun::star::uno::Reference< ::com::sun::star::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