LibreOffice Module sd (master) 1
|
#include <Annotation.hxx>
Public Member Functions | |
Annotation (const css::uno::Reference< css::uno::XComponentContext > &context, SdPage *pPage) | |
Annotation (const Annotation &)=delete | |
Annotation & | operator= (const Annotation &)=delete |
SdPage * | GetPage () const |
SdrModel * | GetModel () |
sal_uInt32 | GetId () const |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &type) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual css::uno::Any SAL_CALL | getAnchor () override |
virtual css::geometry::RealPoint2D SAL_CALL | getPosition () override |
virtual void SAL_CALL | setPosition (const css::geometry::RealPoint2D &the_value) override |
virtual css::geometry::RealSize2D SAL_CALL | getSize () override |
virtual void SAL_CALL | setSize (const css::geometry::RealSize2D &_size) override |
virtual OUString SAL_CALL | getAuthor () override |
virtual void SAL_CALL | setAuthor (const OUString &the_value) override |
virtual OUString SAL_CALL | getInitials () override |
virtual void SAL_CALL | setInitials (const OUString &the_value) override |
virtual css::util::DateTime SAL_CALL | getDateTime () override |
virtual void SAL_CALL | setDateTime (const css::util::DateTime &the_value) override |
virtual css::uno::Reference< css::text::XText > SAL_CALL | getTextRange () override |
void | createChangeUndo () |
void | createCustomAnnotationMarker () |
CustomAnnotationMarker & | getCustomAnnotationMarker () |
bool | hasCustomAnnotationMarker () const |
void | setIsFreeText (bool value) |
bool | isFreeText () const |
Static Public Attributes | |
static sal_uInt32 | m_nLastId = 1 |
Private Member Functions | |
virtual void SAL_CALL | disposing () override |
Private Attributes | |
sal_uInt32 | m_nId |
SdPage * | mpPage |
css::geometry::RealPoint2D | m_Position |
css::geometry::RealSize2D | m_Size |
OUString | m_Author |
OUString | m_Initials |
css::util::DateTime | m_DateTime |
rtl::Reference< TextApiObject > | m_TextRange |
std::unique_ptr< CustomAnnotationMarker > | m_pCustomAnnotationMarker |
bool | m_bIsFreeText |
Private Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Additional Inherited Members | |
Protected Types inherited from cppu::PropertySetMixinImpl | |
enum | Implements |
Protected Member Functions inherited from cppu::PropertySetMixin< css::office::XAnnotation > | |
PropertySetMixin (css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional) | |
~PropertySetMixin () | |
Protected Member Functions inherited from cppu::PropertySetMixinImpl | |
void | prepareSet (rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners) |
void | dispose () |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &type) SAL_OVERRIDE |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValue (rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (rtl::OUString const &propertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 handle) SAL_OVERRIDE |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getPropertyValues () SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE |
Protected Attributes inherited from cppu::PropertySetMixinImpl | |
IMPLEMENTS_PROPERTY_SET | |
IMPLEMENTS_FAST_PROPERTY_SET | |
IMPLEMENTS_PROPERTY_ACCESS | |
Definition at line 76 of file Annotation.hxx.
|
explicit |
|
delete |
|
inlineoverridevirtualnoexcept |
Definition at line 93 of file Annotation.hxx.
|
overridevirtual |
Definition at line 165 of file Annotation.cxx.
References cppu::PropertySetMixinImpl::addPropertyChangeListener().
|
overridevirtual |
Definition at line 175 of file Annotation.cxx.
References cppu::PropertySetMixinImpl::addVetoableChangeListener().
void sd::Annotation::createChangeUndo | ( | ) |
Definition at line 279 of file Annotation.cxx.
References SdrModel::AddUndo(), SdrModel::IsUndoEnabled(), NotifyDocumentEvent(), and SdrModel::SetChanged().
Referenced by sd::CreateChangeUndo().
|
inline |
Definition at line 121 of file Annotation.hxx.
References m_pCustomAnnotationMarker.
Referenced by SdPdfFilter::Import().
|
overrideprivatevirtual |
Definition at line 134 of file Annotation.cxx.
References mpPage.
|
overridevirtual |
Definition at line 185 of file Annotation.cxx.
|
overridevirtual |
Definition at line 231 of file Annotation.cxx.
References m_aMutex.
|
inline |
Definition at line 126 of file Annotation.hxx.
References m_pCustomAnnotationMarker.
|
overridevirtual |
Definition at line 263 of file Annotation.cxx.
References m_aMutex.
|
inline |
Definition at line 89 of file Annotation.hxx.
References m_nId.
Referenced by sd::getAnnotationId().
|
overridevirtual |
Definition at line 247 of file Annotation.cxx.
References m_aMutex.
|
inline |
Definition at line 88 of file Annotation.hxx.
References SdrPage::getSdrModelFromSdrPage(), and mpPage.
|
inline |
Definition at line 87 of file Annotation.hxx.
References mpPage.
Referenced by sd::getAnnotationPage().
|
overridevirtual |
Definition at line 198 of file Annotation.cxx.
References m_aMutex.
|
overridevirtual |
Reimplemented from cppu::PropertySetMixinImpl.
Definition at line 150 of file Annotation.cxx.
|
overridevirtual |
Definition at line 160 of file Annotation.cxx.
|
overridevirtual |
Definition at line 215 of file Annotation.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 296 of file Annotation.cxx.
|
inline |
Definition at line 131 of file Annotation.hxx.
References m_pCustomAnnotationMarker.
|
inline |
Definition at line 138 of file Annotation.hxx.
References m_bIsFreeText.
|
delete |
|
overridevirtual |
Reimplemented from cppu::PropertySetMixinImpl.
Definition at line 144 of file Annotation.cxx.
References type.
|
inlineoverridevirtualnoexcept |
Definition at line 94 of file Annotation.hxx.
|
overridevirtual |
Definition at line 170 of file Annotation.cxx.
References cppu::PropertySetMixinImpl::removePropertyChangeListener().
|
overridevirtual |
Definition at line 180 of file Annotation.cxx.
References cppu::PropertySetMixinImpl::removeVetoableChangeListener().
|
overridevirtual |
Definition at line 237 of file Annotation.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 269 of file Annotation.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 253 of file Annotation.cxx.
References m_aMutex.
|
inline |
Definition at line 136 of file Annotation.hxx.
References m_bIsFreeText, and value.
Referenced by SdPdfFilter::Import().
|
overridevirtual |
Definition at line 204 of file Annotation.cxx.
References m_aMutex.
|
overridevirtual |
Definition at line 155 of file Annotation.cxx.
References cppu::PropertySetMixinImpl::setPropertyValue().
|
overridevirtual |
Definition at line 221 of file Annotation.cxx.
References m_aMutex.
|
private |
Definition at line 153 of file Annotation.hxx.
|
private |
Definition at line 159 of file Annotation.hxx.
Referenced by isFreeText(), and setIsFreeText().
|
private |
Definition at line 155 of file Annotation.hxx.
|
private |
Definition at line 154 of file Annotation.hxx.
|
private |
Definition at line 149 of file Annotation.hxx.
Referenced by GetId().
|
static |
Definition at line 85 of file Annotation.hxx.
|
private |
Definition at line 158 of file Annotation.hxx.
Referenced by createCustomAnnotationMarker(), getCustomAnnotationMarker(), and hasCustomAnnotationMarker().
|
private |
Definition at line 151 of file Annotation.hxx.
|
private |
Definition at line 152 of file Annotation.hxx.
|
private |
Definition at line 156 of file Annotation.hxx.
|
private |
Definition at line 150 of file Annotation.hxx.
Referenced by GetModel(), and GetPage().