From 267c6f2ac71f92999e969232431ba04678e7437e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 07:54:39 +0200 Subject: Adding upstream version 4:24.2.0. Signed-off-by: Daniel Baumann --- include/test/text/baseindex.hxx | 30 ++++++++++++++++++ include/test/text/baseindexmark.hxx | 31 ++++++++++++++++++ include/test/text/documentindexmark.hxx | 31 ++++++++++++++++++ include/test/text/footnote.hxx | 27 ++++++++++++++++ include/test/text/numberingrules.hxx | 31 ++++++++++++++++++ include/test/text/textcontent.hxx | 51 ++++++++++++++++++++++++++++++ include/test/text/textdocumentindex.hxx | 30 ++++++++++++++++++ include/test/text/textdocumentsettings.hxx | 29 +++++++++++++++++ include/test/text/textprintersettings.hxx | 30 ++++++++++++++++++ include/test/text/textsettings.hxx | 30 ++++++++++++++++++ include/test/text/xautotextcontainer.hxx | 44 ++++++++++++++++++++++++++ include/test/text/xdocumentindex.hxx | 36 +++++++++++++++++++++ include/test/text/xfootnote.hxx | 33 +++++++++++++++++++ include/test/text/xsimpletext.hxx | 36 +++++++++++++++++++++ include/test/text/xtext.hxx | 33 +++++++++++++++++++ include/test/text/xtextcontent.hxx | 39 +++++++++++++++++++++++ include/test/text/xtextfield.hxx | 37 ++++++++++++++++++++++ include/test/text/xtextrange.hxx | 38 ++++++++++++++++++++++ include/test/text/xtextrangecompare.hxx | 34 ++++++++++++++++++++ 19 files changed, 650 insertions(+) create mode 100644 include/test/text/baseindex.hxx create mode 100644 include/test/text/baseindexmark.hxx create mode 100644 include/test/text/documentindexmark.hxx create mode 100644 include/test/text/footnote.hxx create mode 100644 include/test/text/numberingrules.hxx create mode 100644 include/test/text/textcontent.hxx create mode 100644 include/test/text/textdocumentindex.hxx create mode 100644 include/test/text/textdocumentsettings.hxx create mode 100644 include/test/text/textprintersettings.hxx create mode 100644 include/test/text/textsettings.hxx create mode 100644 include/test/text/xautotextcontainer.hxx create mode 100644 include/test/text/xdocumentindex.hxx create mode 100644 include/test/text/xfootnote.hxx create mode 100644 include/test/text/xsimpletext.hxx create mode 100644 include/test/text/xtext.hxx create mode 100644 include/test/text/xtextcontent.hxx create mode 100644 include/test/text/xtextfield.hxx create mode 100644 include/test/text/xtextrange.hxx create mode 100644 include/test/text/xtextrangecompare.hxx (limited to 'include/test/text') diff --git a/include/test/text/baseindex.hxx b/include/test/text/baseindex.hxx new file mode 100644 index 0000000000..7a523ed55e --- /dev/null +++ b/include/test/text/baseindex.hxx @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_BASEINDEXTEST_HXX +#define INCLUDED_TEST_TEXT_BASEINDEXTEST_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST BaseIndex +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~BaseIndex(); + void testBaseIndexProperties(); +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/baseindexmark.hxx b/include/test/text/baseindexmark.hxx new file mode 100644 index 0000000000..e6835a6d11 --- /dev/null +++ b/include/test/text/baseindexmark.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST BaseIndexMark +{ +public: + virtual css::uno::Reference init() = 0; + + void testBaseIndexMarkProperties(); + +protected: + ~BaseIndexMark() {} +}; +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/documentindexmark.hxx b/include/test/text/documentindexmark.hxx new file mode 100644 index 0000000000..228668c3b0 --- /dev/null +++ b/include/test/text/documentindexmark.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST DocumentIndexMark +{ +public: + virtual css::uno::Reference init() = 0; + + void testDocumentIndexMarkProperties(); + +protected: + ~DocumentIndexMark() {} +}; +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/footnote.hxx b/include/test/text/footnote.hxx new file mode 100644 index 0000000000..9970ee43cc --- /dev/null +++ b/include/test/text/footnote.hxx @@ -0,0 +1,27 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST Footnote +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~Footnote(); + void testFootnoteProperties(); +}; +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/numberingrules.hxx b/include/test/text/numberingrules.hxx new file mode 100644 index 0000000000..a6db84bd05 --- /dev/null +++ b/include/test/text/numberingrules.hxx @@ -0,0 +1,31 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST NumberingRules +{ +public: + virtual css::uno::Reference init() = 0; + + void testNumberingRulesProperties(); + +protected: + ~NumberingRules() {} +}; +} + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/textcontent.hxx b/include/test/text/textcontent.hxx new file mode 100644 index 0000000000..e6333d60e4 --- /dev/null +++ b/include/test/text/textcontent.hxx @@ -0,0 +1,51 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include + +#include +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TextContent +{ +public: + TextContent(const css::text::TextContentAnchorType aExpectedTCAT, + const css::text::TextContentAnchorType aNewTCAT, + const css::text::WrapTextMode aExpectedWTM, const css::text::WrapTextMode aNewWTM) + : m_aExpectedTCAT(aExpectedTCAT) + , m_aNewTCAT(aNewTCAT) + , m_aExpectedWTM(aExpectedWTM) + , m_aNewWTM(aNewWTM) + { + } + + virtual css::uno::Reference init() = 0; + + void testTextContentProperties(); + +protected: + ~TextContent() {} + +private: + css::text::TextContentAnchorType const m_aExpectedTCAT; + css::text::TextContentAnchorType const m_aNewTCAT; + css::text::WrapTextMode const m_aExpectedWTM; + css::text::WrapTextMode const m_aNewWTM; +}; + +} // namespace apitest + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/textdocumentindex.hxx b/include/test/text/textdocumentindex.hxx new file mode 100644 index 0000000000..92e827cfeb --- /dev/null +++ b/include/test/text/textdocumentindex.hxx @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_DOCUMENTINDEXTEST_HXX +#define INCLUDED_TEST_TEXT_DOCUMENTINDEXTEST_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TextDocumentIndex +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~TextDocumentIndex(); + void testDocumentIndexProperties(); +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/textdocumentsettings.hxx b/include/test/text/textdocumentsettings.hxx new file mode 100644 index 0000000000..e7a28a2f15 --- /dev/null +++ b/include/test/text/textdocumentsettings.hxx @@ -0,0 +1,29 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_TEXTDOCUMENTSETTINGS_HXX +#define INCLUDED_TEST_TEXT_TEXTDOCUMENTSETTINGS_HXX + +#include +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TextDocumentSettings +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~TextDocumentSettings(); + void testDocumentSettingsProperties(); +}; +} // end namespace apitest + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/textprintersettings.hxx b/include/test/text/textprintersettings.hxx new file mode 100644 index 0000000000..2ceac34b9b --- /dev/null +++ b/include/test/text/textprintersettings.hxx @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_TEXTPRINTERSETTINGS_HXX +#define INCLUDED_TEST_TEXT_TEXTPRINTERSETTINGS_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TextPrinterSettings +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~TextPrinterSettings(); + void testPrinterSettingsProperties(); +}; +} // end namespace apitest + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/textsettings.hxx b/include/test/text/textsettings.hxx new file mode 100644 index 0000000000..9566f21dca --- /dev/null +++ b/include/test/text/textsettings.hxx @@ -0,0 +1,30 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_TEXTSETTINGS_HXX +#define INCLUDED_TEST_TEXT_TEXTSETTINGS_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST TextSettings +{ +public: + virtual css::uno::Reference init() = 0; + virtual ~TextSettings(); + void testSettingsProperties(); +}; +} // end namespace apitest + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/xautotextcontainer.hxx b/include/test/text/xautotextcontainer.hxx new file mode 100644 index 0000000000..cfc20f04c6 --- /dev/null +++ b/include/test/text/xautotextcontainer.hxx @@ -0,0 +1,44 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include +#include + +#include + +#include +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XAutoTextContainer +{ +public: + XAutoTextContainer(OUString aNameToRemove) + : m_aName(std::move(aNameToRemove)) + { + } + + virtual css::uno::Reference init() = 0; + + void testInsertNewByName(); + void testRemoveByName(); + +protected: + ~XAutoTextContainer() {} + +private: + OUString m_aName; +}; + +} // namespace apitest + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/xdocumentindex.hxx b/include/test/text/xdocumentindex.hxx new file mode 100644 index 0000000000..4efdaeeec6 --- /dev/null +++ b/include/test/text/xdocumentindex.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEST_XDOCUMENTINDEX_HXX +#define INCLUDED_TEST_TEST_XDOCUMENTINDEX_HXX + +#include + +#include + +namespace apitest +{ +/** + * Testing com.sun.star.text.XDocumentIndex + * + * @see com.sun.star.text.XDocumentIndex + */ +class OOO_DLLPUBLIC_TEST XDocumentIndex +{ +public: + virtual css::uno::Reference init() = 0; + virtual css::uno::Reference getTextDocument() = 0; + virtual ~XDocumentIndex(); + void testUpdate(); +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/xfootnote.hxx b/include/test/text/xfootnote.hxx new file mode 100644 index 0000000000..a6f29b8084 --- /dev/null +++ b/include/test/text/xfootnote.hxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XFootnote +{ +public: + virtual css::uno::Reference init() = 0; + + void testGetSetLabel(); + +protected: + ~XFootnote() {} +}; + +} // namespace apitest + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/xsimpletext.hxx b/include/test/text/xsimpletext.hxx new file mode 100644 index 0000000000..ec371ea210 --- /dev/null +++ b/include/test/text/xsimpletext.hxx @@ -0,0 +1,36 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_XSIMPLETEXT_HXX +#define INCLUDED_TEST_TEXT_XSIMPLETEXT_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XSimpleText +{ +public: + virtual css::uno::Reference init() = 0; + + void testCreateTextCursor(); + void testCreateTextCursorByRange(); + void testInsertString(); + void testInsertControlCharacter(); + +protected: + ~XSimpleText() {} +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/xtext.hxx b/include/test/text/xtext.hxx new file mode 100644 index 0000000000..537cfa21da --- /dev/null +++ b/include/test/text/xtext.hxx @@ -0,0 +1,33 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_XTEXT_HXX +#define INCLUDED_TEST_TEXT_XTEXT_HXX + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XText +{ +public: + virtual ~XText(); + + virtual css::uno::Reference init() = 0; + virtual css::uno::Reference getTextContent() = 0; + + void testInsertRemoveTextContent(); +}; +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/xtextcontent.hxx b/include/test/text/xtextcontent.hxx new file mode 100644 index 0000000000..f238520625 --- /dev/null +++ b/include/test/text/xtextcontent.hxx @@ -0,0 +1,39 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX +#define INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX + +#include +#include +#include + +#include + +namespace apitest { + +class OOO_DLLPUBLIC_TEST XTextContent +{ +public: + virtual ~XTextContent() {} + + virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference< css::text::XTextRange > getTextRange() = 0; + virtual css::uno::Reference< css::text::XTextContent > getTextContent() = 0; + virtual bool isAttachSupported() = 0; + + void testGetAnchor(); + void testAttach(); +}; + +} + +#endif // INCLUDED_TEST_TEXT_XTEXTCONTENT_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/test/text/xtextfield.hxx b/include/test/text/xtextfield.hxx new file mode 100644 index 0000000000..6d717b1ead --- /dev/null +++ b/include/test/text/xtextfield.hxx @@ -0,0 +1,37 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_XTEXTFIELD_HXX +#define INCLUDED_TEST_TEXT_XTEXTFIELD_HXX + +#include + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XTextField +{ +public: + virtual css::uno::Reference init() = 0; + + void testGetPresentation(); + void testGetPresentationEmptyString(); + +protected: + ~XTextField() {} +}; + +} // namespace apitest + +#endif // INCLUDED_TEST_TEXT_XTEXTFIELD_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/xtextrange.hxx b/include/test/text/xtextrange.hxx new file mode 100644 index 0000000000..a986e7faed --- /dev/null +++ b/include/test/text/xtextrange.hxx @@ -0,0 +1,38 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#ifndef INCLUDED_TEST_TEXT_XTEXTRANGE_HXX +#define INCLUDED_TEST_TEXT_XTEXTRANGE_HXX + +#include +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XTextRange +{ +public: + virtual css::uno::Reference init() = 0; + + void testGetEnd(); + void testGetSetString(); + void testGetStart(); + void testGetText(); + +protected: + ~XTextRange() {} +}; + +} // namespace apitest + +#endif // INCLUDED_TEST_TEXT_XTEXTRANGE_HXX + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/test/text/xtextrangecompare.hxx b/include/test/text/xtextrangecompare.hxx new file mode 100644 index 0000000000..60f4ff67b1 --- /dev/null +++ b/include/test/text/xtextrangecompare.hxx @@ -0,0 +1,34 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +#pragma once + +#include + +#include + +#include + +namespace apitest +{ +class OOO_DLLPUBLIC_TEST XTextRangeCompare +{ +public: + virtual css::uno::Reference init() = 0; + + void testCompareRegionStarts(); + void testCompareRegionEnds(); + +protected: + ~XTextRangeCompare() {} +}; + +} // namespace apitest + +/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit v1.2.3