summaryrefslogtreecommitdiff
path: root/sw/inc/unotbl.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-04 23:47:47 +0100
committerMichael Stahl <mstahl@redhat.com>2016-02-05 14:42:38 +0100
commit042b36467e3e358268a483464d7e3af5689d045d (patch)
tree8759a1f7b7ab3524da42eb043281f3a1ccc86cc1 /sw/inc/unotbl.hxx
parent7e349c0eee15fa0f9d8d71a3c9e311d2da62e670 (diff)
sw: move rest of SwXCellRange implementation details into pImpl
Change-Id: Id2002e535fa1a0c04aadd96e70ed2683bd5eb603
Diffstat (limited to 'sw/inc/unotbl.hxx')
-rw-r--r--sw/inc/unotbl.hxx23
1 files changed, 5 insertions, 18 deletions
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index ef5c42b9dad6..8ebe688a3b22 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -40,7 +40,6 @@
#include <TextCursorHelper.hxx>
#include <unotext.hxx>
#include <frmfmt.hxx>
-#include <tuple>
#include <unocrsr.hxx>
class SwTable;
@@ -452,15 +451,6 @@ private:
class Impl;
::sw::UnoImplPtr<Impl> m_pImpl;
- SwRangeDescriptor aRgDesc;
- const SfxItemPropertySet* m_pPropSet;
-
- bool m_bFirstRowAsLabel;
- bool m_bFirstColumnAsLabel;
- std::tuple<sal_uInt32, sal_uInt32, sal_uInt32, sal_uInt32> getLabelCoordinates(bool bRow);
- css::uno::Sequence<OUString> getLabelDescriptions(bool bRow);
- void setLabelDescriptions(const css::uno::Sequence<OUString>& rDesc, bool bRow);
-
SwXCellRange(sw::UnoCursorPointer pCursor, SwFrameFormat& rFrameFormat, SwRangeDescriptor& rDesc);
virtual ~SwXCellRange();
@@ -469,12 +459,13 @@ public:
sw::UnoCursorPointer pCursor, SwFrameFormat& rFrameFormat,
SwRangeDescriptor& rDesc);
- void SetLabels(bool bFirstRowAsLabel, bool bFirstColumnAsLabel)
- { m_bFirstRowAsLabel = bFirstRowAsLabel, m_bFirstColumnAsLabel = bFirstColumnAsLabel; }
- std::vector< css::uno::Reference< css::table::XCell > > GetCells();
+ static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
+ void SetLabels(bool bFirstRowAsLabel, bool bFirstColumnAsLabel);
- static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
+ std::vector<css::uno::Reference<css::table::XCell>> GetCells();
+
+ const SwUnoCursor* GetTableCursor() const;
//XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
@@ -535,10 +526,6 @@ public:
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
- sal_uInt16 getRowCount();
- sal_uInt16 getColumnCount();
-
- const SwUnoCursor* GetTableCursor() const;
};
class SwXTableRows final : public cppu::WeakImplHelper