summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/TablePositionHandler.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-01-25 12:26:03 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-01-25 12:32:30 +0100
commitf72947d5f651216f1ee004bee7f271c9e21c22dc (patch)
tree5477a486361f39af24542491669bb17c5a43044e /writerfilter/source/dmapper/TablePositionHandler.hxx
parent6de362e954ba2767d2970223add0173c8909483f (diff)
writerfilter: whitespace fixes in TablePositionHandler
Change-Id: I0d4a624ee75e701966a2694642d71483c6ec572f
Diffstat (limited to 'writerfilter/source/dmapper/TablePositionHandler.hxx')
-rw-r--r--writerfilter/source/dmapper/TablePositionHandler.hxx80
1 files changed, 41 insertions, 39 deletions
diff --git a/writerfilter/source/dmapper/TablePositionHandler.hxx b/writerfilter/source/dmapper/TablePositionHandler.hxx
index a264dff03882..bfd636e81fed 100644
--- a/writerfilter/source/dmapper/TablePositionHandler.hxx
+++ b/writerfilter/source/dmapper/TablePositionHandler.hxx
@@ -14,45 +14,47 @@
#include <boost/shared_ptr.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
-namespace writerfilter {
- namespace dmapper {
-
- /// Handler for floating table positioning
- class WRITERFILTER_DLLPRIVATE TablePositionHandler
- : public LoggedProperties
- {
- OUString m_aVertAnchor;
- OUString m_aYSpec;
- OUString m_aHorzAnchor;
- OUString m_aXSpec;
- sal_Int32 m_nY;
- sal_Int32 m_nX;
- sal_Int32 m_nLeftFromText;
- sal_Int32 m_nRightFromText;
- sal_Int32 m_nTopFromText;
- sal_Int32 m_nBottomFromText;
-
- // Properties
- virtual void lcl_attribute(Id Name, Value & val);
- virtual void lcl_sprm(Sprm & sprm);
-
- public:
- TablePositionHandler();
- virtual ~TablePositionHandler();
-
- /** Compute the UNO properties for the frame containing the table based
- on the received tokens.
-
- Note that the properties will need to be adjusted with the table
- properties before actually using them.
- */
- com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getTablePosition() const;
-
- bool operator== (const TablePositionHandler& rHandler) const;
- };
-
- typedef boost::shared_ptr<TablePositionHandler> TablePositionHandlerPtr;
- } // namespace dmapper
+namespace writerfilter
+{
+namespace dmapper
+{
+
+/// Handler for floating table positioning
+class WRITERFILTER_DLLPRIVATE TablePositionHandler
+ : public LoggedProperties
+{
+ OUString m_aVertAnchor;
+ OUString m_aYSpec;
+ OUString m_aHorzAnchor;
+ OUString m_aXSpec;
+ sal_Int32 m_nY;
+ sal_Int32 m_nX;
+ sal_Int32 m_nLeftFromText;
+ sal_Int32 m_nRightFromText;
+ sal_Int32 m_nTopFromText;
+ sal_Int32 m_nBottomFromText;
+
+ // Properties
+ virtual void lcl_attribute(Id Name, Value& val);
+ virtual void lcl_sprm(Sprm& sprm);
+
+public:
+ TablePositionHandler();
+ virtual ~TablePositionHandler();
+
+ /** Compute the UNO properties for the frame containing the table based
+ on the received tokens.
+
+ Note that the properties will need to be adjusted with the table
+ properties before actually using them.
+ */
+ com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getTablePosition() const;
+
+ bool operator== (const TablePositionHandler& rHandler) const;
+};
+
+typedef boost::shared_ptr<TablePositionHandler> TablePositionHandlerPtr;
+} // namespace dmapper
} // namespace writerfilter
#endif