Kaydet (Commit) b31de9cd authored tarafından Michael Stahl's avatar Michael Stahl

sw: move all SwXTextTable implementation details to pImpl

... and drop some obviously unnecessary SolarMutexGuards.

Change-Id: Ie61198a264d52d1ebf7bd7c7de12a83845f4beb1
üst 47a41507
......@@ -302,13 +302,6 @@ class SwXTextTable : public cppu::WeakImplHelper
private:
class Impl;
::sw::UnoImplPtr<Impl> m_pImpl;
css::uno::WeakReference< css::table::XTableRows > m_xRows;
css::uno::WeakReference< css::table::XTableColumns > m_xColumns;
const SfxItemPropertySet* m_pPropSet;
bool m_bFirstRowAsLabel;
bool m_bFirstColumnAsLabel;
SwXTextTable();
SwXTextTable(SwFrameFormat& rFrameFormat);
......@@ -320,6 +313,8 @@ public:
SW_DLLPUBLIC static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId();
SW_DLLPUBLIC static void GetCellPosition(const OUString& rCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
SW_DLLPUBLIC SwFrameFormat* GetFrameFormat();
//XUnoTunnel
......@@ -413,16 +408,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;
void attachToRange(const css::uno::Reference< css::text::XTextRange > & xTextRange)throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception );
sal_uInt16 getRowCount();
sal_uInt16 getColumnCount();
static css::uno::Reference< css::table::XCellRange > GetRangeByName(SwFrameFormat* pFormat, SwTable* pTable,
const OUString& sTLName, const OUString& sBRName,
SwRangeDescriptor& rDesc);
SW_DLLPUBLIC static void GetCellPosition(const OUString& rCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
};
class SwXCellRange : public cppu::WeakImplHelper
......
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