LibreOffice Module sd (master) 1
|
#include <textapi.hxx>
Public Member Functions | |
virtual | ~TextApiObject () noexcept override |
void | dispose () |
std::optional< OutlinerParaObject > | CreateText () |
void | SetText (OutlinerParaObject const &rText) |
OUString | GetText () const |
Public Member Functions inherited from SvxUnoText | |
SvxUnoText (const SvxItemPropertySet *_pSet) noexcept | |
SvxUnoText (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) noexcept | |
SvxUnoText (const SvxUnoText &rText) noexcept | |
virtual | ~SvxUnoText () noexcept override |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from SvxUnoTextBase | |
css::uno::Reference< css::text::XTextCursor > | createTextCursorBySelection (const ESelection &rSel) |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursor () override |
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL | createTextCursorByRange (const css::uno::Reference< css::text::XTextRange > &aTextPosition) override |
virtual void SAL_CALL | insertString (const css::uno::Reference< css::text::XTextRange > &xRange, const OUString &aString, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertControlCharacter (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nControlCharacter, sal_Bool bAbsorb) override |
virtual void SAL_CALL | insertTextContent (const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::text::XTextContent > &xContent, sal_Bool bAbsorb) override |
virtual void SAL_CALL | removeTextContent (const css::uno::Reference< css::text::XTextContent > &xContent) override |
virtual OUString SAL_CALL | getString () override |
virtual void SAL_CALL | setString (const OUString &aString) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getText () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getStart () override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | getEnd () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | moveTextRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Int16 nParagraphs) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraph (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | finishParagraphInsert (const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &xInsertPosition) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | appendTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties) override |
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL | insertTextPortion (const OUString &Text, const css::uno::Sequence< css::beans::PropertyValue > &CharacterAndParagraphProperties, const css::uno::Reference< css::text::XTextRange > &rTextRange) override |
virtual void SAL_CALL | copyText (const css::uno::Reference< css::text::XTextCopy > &xSource) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Static Public Member Functions | |
static rtl::Reference< TextApiObject > | create (SdDrawDocument *pDoc) |
static TextApiObject * | getImplementation (const css::uno::Reference< css::text::XText > &) |
Static Public Member Functions inherited from SvxUnoText | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () noexcept |
Static Public Member Functions inherited from SvxUnoTextBase | |
static css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames_Static () |
Private Member Functions | |
TextApiObject (std::unique_ptr< TextAPIEditSource > pEditSource) | |
Private Attributes | |
std::unique_ptr< TextAPIEditSource > | mpSource |
Additional Inherited Members | |
Protected Member Functions inherited from SvxUnoTextBase | |
SvxUnoTextBase (const SvxItemPropertySet *_pSet) | |
SvxUnoTextBase (const SvxEditSource *pSource, const SvxItemPropertySet *_pSet, css::uno::Reference< css::text::XText > const &xParent) | |
SvxUnoTextBase (const SvxUnoTextBase &rText) | |
virtual | ~SvxUnoTextBase () noexcept override |
Definition at line 32 of file textapi.hxx.
|
overridevirtualnoexcept |
Definition at line 141 of file textapi.cxx.
References dispose().
|
private |
Definition at line 135 of file textapi.cxx.
References get(), and Reference.
Referenced by create().
|
static |
Definition at line 146 of file textapi.cxx.
References TextApiObject().
std::optional< OutlinerParaObject > sd::TextApiObject::CreateText | ( | ) |
Definition at line 162 of file textapi.cxx.
References mpSource.
Referenced by sd::AnnotationWindow::setAnnotation().
void sd::TextApiObject::dispose | ( | void | ) |
css::uno::RuntimeException |
Definition at line 152 of file textapi.cxx.
References mpSource.
Referenced by ~TextApiObject().
|
static |
Definition at line 182 of file textapi.cxx.
Referenced by sd::getTextApiObject().
OUString sd::TextApiObject::GetText | ( | ) | const |
Definition at line 177 of file textapi.cxx.
References mpSource.
Referenced by sd::AnnotationManagerImpl::ExecuteReplyToAnnotation().
void sd::TextApiObject::SetText | ( | OutlinerParaObject const & | rText | ) |
Definition at line 167 of file textapi.cxx.
References SdrModel::AddUndo(), EE_PARA_MAX_COUNT, SdrModel::IsUndoEnabled(), and mpSource.
Referenced by sd::AnnotationManagerImpl::ExecuteReplyToAnnotation(), and sd::AnnotationWindow::SaveToDocument().
|
private |
Definition at line 49 of file textapi.hxx.
Referenced by CreateText(), dispose(), GetText(), and SetText().