LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SvxUnoDrawingModel Class Reference

#include <unomodel.hxx>

Inheritance diagram for SvxUnoDrawingModel:
[legend]
Collaboration diagram for SvxUnoDrawingModel:
[legend]

Public Member Functions

 SvxUnoDrawingModel (SdrModel *pDoc) throw ()
 
virtual ~SvxUnoDrawingModel () override throw ()
 
SdrModelGetDoc () const
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual void SAL_CALL lockControllers () override
 
virtual void SAL_CALL unlockControllers () override
 
virtual sal_Bool SAL_CALL hasControllersLocked () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::ucb::XAnyCompare > SAL_CALL createAnyCompareByName (const OUString &PropertyName) override
 
- Public Member Functions inherited from SfxBaseModel
 SfxBaseModel (SfxObjectShell *pObjectShell)
 
virtual ~SfxBaseModel () override
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer () override
 
virtual void SAL_CALL createLibrary (const OUString &LibName, const OUString &Password, const OUString &ExternalSourceURL, const OUString &LinkTargetURL) override
 
virtual void SAL_CALL addModule (const OUString &LibraryName, const OUString &ModuleName, const OUString &Language, const OUString &Source) override
 
virtual void SAL_CALL addDialog (const OUString &LibraryName, const OUString &DialogName, const css::uno::Sequence< sal_Int8 > &Data) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &xParent) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::document::XDocumentProperties > SAL_CALL getDocumentProperties () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &aEvent) override
 
virtual sal_Bool SAL_CALL attachResource (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual OUString SAL_CALL getURL () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs () override
 
virtual void SAL_CALL connectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual void SAL_CALL disconnectController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController () override
 
virtual void SAL_CALL setCurrentController (const css::uno::Reference< css::frame::XController > &xController) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL getControllers () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableViewControllerNames () override
 
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createDefaultViewController (const css::uno::Reference< css::frame::XFrame > &Frame) override
 
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createViewController (const OUString &ViewName, const css::uno::Sequence< css::beans::PropertyValue > &Arguments, const css::uno::Reference< css::frame::XFrame > &Frame) override
 
virtual void SAL_CALL setArgs (const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual sal_Bool SAL_CALL disableSetModified () override
 
virtual sal_Bool SAL_CALL enableSetModified () override
 
virtual sal_Bool SAL_CALL isSetModifiedEnabled () override
 
virtual sal_Bool SAL_CALL isModified () override
 
virtual void SAL_CALL setModified (sal_Bool bModified) override
 
virtual void SAL_CALL addModifyListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &xListener) override
 
virtual void SAL_CALL close (sal_Bool bDeliverOwnership) override
 
virtual void SAL_CALL addCloseListener (const css::uno::Reference< css::util::XCloseListener > &xListener) override
 
virtual void SAL_CALL removeCloseListener (const css::uno::Reference< css::util::XCloseListener > &xListener) override
 
virtual void SAL_CALL addPrintJobListener (const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
 
virtual void SAL_CALL removePrintJobListener (const css::uno::Reference< css::view::XPrintJobListener > &xListener) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter () override
 
virtual void SAL_CALL setPrinter (const css::uno::Sequence< css::beans::PropertyValue > &seqPrinter) override
 
virtual void SAL_CALL print (const css::uno::Sequence< css::beans::PropertyValue > &seqOptions) override
 
virtual void SAL_CALL storeSelf (const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual sal_Bool SAL_CALL hasLocation () override
 
virtual OUString SAL_CALL getLocation () override
 
virtual sal_Bool SAL_CALL isReadonly () override
 
virtual void SAL_CALL store () override
 
virtual void SAL_CALL storeAsURL (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual void SAL_CALL storeToURL (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
SAL_DLLPRIVATE void impl_store (const OUString &sURL, const css::uno::Sequence< css::beans::PropertyValue > &seqArguments, bool bSaveTo)
 
virtual void SAL_CALL initNew () override
 
virtual void SAL_CALL load (const css::uno::Sequence< css::beans::PropertyValue > &seqArguments) override
 
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentSubStorage (const OUString &aStorageName, sal_Int32 nMode) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getDocumentSubStoragesNames () override
 
virtual void SAL_CALL loadFromStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescriptor) override
 
virtual void SAL_CALL storeToStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescriptor) override
 
virtual void SAL_CALL switchToStorage (const css::uno::Reference< css::embed::XStorage > &xStorage) override
 
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage () override
 
virtual void SAL_CALL addStorageChangeListener (const css::uno::Reference< css::document::XStorageChangeListener > &xListener) override
 
virtual void SAL_CALL removeStorageChangeListener (const css::uno::Reference< css::document::XStorageChangeListener > &xListener) override
 
virtual void SAL_CALL setVisualAreaSize (sal_Int64 nAspect, const css::awt::Size &aSize) override
 
virtual css::awt::Size SAL_CALL getVisualAreaSize (sal_Int64 nAspect) override
 
virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation (::sal_Int64 nAspect) override
 
virtual sal_Int32 SAL_CALL getMapUnit (sal_Int64 nAspect) override
 
virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider () override
 
virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager () override
 
virtual css::uno::Any SAL_CALL getTransferData (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors () override
 
virtual sal_Bool SAL_CALL isDataFlavorSupported (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents () override
 
virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries () override
 
virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries () override
 
virtual sal_Bool SAL_CALL getAllowMacroExecution () override
 
virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::document::XEventListener > &xListener) override
 
virtual void SAL_CALL addShapeEventListener (const css::uno::Reference< css::drawing::XShape > &xShape, const css::uno::Reference< css::document::XShapeEventListener > &xListener) override
 
virtual void SAL_CALL removeShapeEventListener (const css::uno::Reference< css::drawing::XShape > &xShape, const css::uno::Reference< css::document::XShapeEventListener > &xListener) override
 
virtual void SAL_CALL addDocumentEventListener (const css::uno::Reference< css::document::XDocumentEventListener > &Listener) override
 
virtual void SAL_CALL removeDocumentEventListener (const css::uno::Reference< css::document::XDocumentEventListener > &Listener) override
 
virtual void SAL_CALL notifyDocumentEvent (const OUString &EventName, const css::uno::Reference< css::frame::XController2 > &ViewController, const css::uno::Any &Supplement) override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual void SAL_CALL setIdentifier (const OUString &sIdentifier) override
 
virtual OUString SAL_CALL getIdentifier () override
 
virtual OUString SAL_CALL getTitle () override
 
virtual void SAL_CALL setTitle (const OUString &sTitle) override
 
virtual void SAL_CALL addTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual void SAL_CALL removeTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual ::sal_Int32 SAL_CALL leaseNumber (const css::uno::Reference< css::uno::XInterface > &xComponent) override
 
virtual void SAL_CALL releaseNumber (::sal_Int32 nNumber) override
 
virtual void SAL_CALL releaseNumberForComponent (const css::uno::Reference< css::uno::XInterface > &xComponent) override
 
virtual OUString SAL_CALL getUntitledPrefix () override
 
virtual sal_Bool SAL_CALL wasModifiedSinceLastSave () override
 
virtual void SAL_CALL storeToRecoveryFile (const OUString &i_TargetLocation, const css::uno::Sequence< css::beans::PropertyValue > &i_MediaDescriptor) override
 
virtual void SAL_CALL recoverFromFile (const OUString &i_SourceLocation, const OUString &i_SalvagedFile, const css::uno::Sequence< css::beans::PropertyValue > &i_MediaDescriptor) override
 
virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager () override
 
virtual OUString SAL_CALL getStringValue () override
 
virtual OUString SAL_CALL getNamespace () override
 
virtual OUString SAL_CALL getLocalName () override
 
virtual css::uno::Reference< css::rdf::XRepository > SAL_CALL getRDFRepository () override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByMetadataReference (const css::beans::StringPair &i_rReference) override
 
virtual css::uno::Reference< css::rdf::XMetadatable > SAL_CALL getElementByURI (const css::uno::Reference< css::rdf::XURI > &i_xURI) override
 
virtual css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType (const css::uno::Reference< css::rdf::XURI > &i_xType) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL addMetadataFile (const OUString &i_rFileName, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual css::uno::Reference< css::rdf::XURI > SAL_CALL importMetadataFile (::sal_Int16 i_Format, const css::uno::Reference< css::io::XInputStream > &i_xInStream, const OUString &i_rFileName, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Sequence< css::uno::Reference< css::rdf::XURI > > &i_rTypes) override
 
virtual void SAL_CALL removeMetadataFile (const css::uno::Reference< css::rdf::XURI > &i_xGraphName) override
 
virtual void SAL_CALL addContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL removeContentOrStylesFile (const OUString &i_rFileName) override
 
virtual void SAL_CALL loadMetadataFromStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage, const css::uno::Reference< css::rdf::XURI > &i_xBaseURI, const css::uno::Reference< css::task::XInteractionHandler > &i_xHandler) override
 
virtual void SAL_CALL storeMetadataToStorage (const css::uno::Reference< css::embed::XStorage > &i_xStorage) override
 
virtual void SAL_CALL loadMetadataFromMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 
virtual void SAL_CALL storeMetadataToMedium (const css::uno::Sequence< css::beans::PropertyValue > &i_rMedium) override
 
virtual css::uno::Sequence< css::document::CmisProperty > SAL_CALL getCmisProperties () override
 
virtual void SAL_CALL setCmisProperties (const css::uno::Sequence< css::document::CmisProperty > &_cmisproperties) override
 
virtual void SAL_CALL updateCmisProperties (const css::uno::Sequence< css::document::CmisProperty > &_cmisproperties) override
 
virtual css::uno::Sequence< css::document::CmisVersion > SAL_CALL getAllVersions () override
 
virtual void SAL_CALL checkOut () override
 
virtual void SAL_CALL cancelCheckOut () override
 
virtual void SAL_CALL checkIn (sal_Bool bIsMajor, const OUString &rMessage) override
 
virtual sal_Bool SAL_CALL isVersionable () override
 
virtual sal_Bool SAL_CALL canCheckOut () override
 
virtual sal_Bool SAL_CALL canCancelCheckOut () override
 
virtual sal_Bool SAL_CALL canCheckIn () override
 
bool getBoolPropertyValue (const OUString &rName)
 
void Notify (SfxBroadcaster &aBC, const SfxHint &aHint) override
 
void changing ()
 
SfxObjectShellGetObjectShell () const
 
SAL_DLLPRIVATE bool impl_isDisposed () const
 
bool IsInitialized () const
 
void MethodEntryCheck (const bool i_mustBeInitialized) const
 
css::uno::Reference< css::container::XIndexAccess > SAL_CALL getViewData () override
 
void SAL_CALL setViewData (const css::uno::Reference< css::container::XIndexAccess > &aData) override
 
void notifyEvent (const css::document::EventObject &aEvent) const
 
bool hasEventListeners () const
 
- Public Member Functions inherited from SvxFmMSFactory
 SvxFmMSFactory ()
 
virtual ~SvxFmMSFactory ()
 
- Public Member Functions inherited from SvxUnoDrawMSFactory
 SvxUnoDrawMSFactory () throw ()
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 

Protected Member Functions

virtual SdrModelgetSdrModelFromUnoModel () const override
 abstract SdrModel provider More...
 
- Protected Member Functions inherited from SfxBaseModel
OUString const & getRuntimeUID () const
 
bool hasValidSignatures () const
 
void getGrabBagItem (css::uno::Any &rVal) const
 
void setGrabBagItem (const css::uno::Any &rVal)
 
- Protected Member Functions inherited from SvxUnoDrawMSFactory
 ~SvxUnoDrawMSFactory ()
 

Private Attributes

SdrModelmpDoc
 
css::uno::WeakReference< css::drawing::XDrawPages > mxDrawPagesAccess
 
css::uno::Reference< css::uno::XInterface > mxDashTable
 
css::uno::Reference< css::uno::XInterface > mxGradientTable
 
css::uno::Reference< css::uno::XInterface > mxHatchTable
 
css::uno::Reference< css::uno::XInterface > mxBitmapTable
 
css::uno::Reference< css::uno::XInterface > mxTransGradientTable
 
css::uno::Reference< css::uno::XInterface > mxMarkerTable
 
css::uno::Sequence< css::uno::Type > maTypeSequence
 

Friends

class SvxUnoDrawPagesAccess
 

Additional Inherited Members

- Static Public Member Functions inherited from SvxUnoDrawMSFactory
static css::uno::Reference< css::uno::XInterface > createTextField (const OUString &aServiceSpecifier)
 
static bool createEvent (const SdrModel *pDoc, const SdrHint *pSdrHint, css::document::EventObject &aEvent)
 fills the given EventObject from the given SdrHint. More...
 

Detailed Description

Definition at line 35 of file unomodel.hxx.

Constructor & Destructor Documentation

SvxUnoDrawingModel::SvxUnoDrawingModel ( SdrModel pDoc)
throw (
)

Definition at line 231 of file unomod.cxx.

References mpDoc.

SvxUnoDrawingModel::~SvxUnoDrawingModel ( )
throw (
)
overridevirtual

Definition at line 249 of file unomod.cxx.

Member Function Documentation

void SAL_CALL SvxUnoDrawingModel::acquire ( )
throw (
)
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 267 of file unomod.cxx.

References SfxBaseModel::acquire().

uno::Reference< css::ucb::XAnyCompare > SAL_CALL SvxUnoDrawingModel::createAnyCompareByName ( const OUString &  PropertyName)
overridevirtual

Definition at line 540 of file unomod.cxx.

References SvxCreateNumRuleCompare().

uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance ( const OUString &  aServiceSpecifier)
overridevirtual
uno::Sequence< OUString > SAL_CALL SvxUnoDrawingModel::getAvailableServiceNames ( )
overridevirtual

Reimplemented from SvxFmMSFactory.

Definition at line 487 of file unomod.cxx.

References comphelper::concatSequences(), DBG_ASSERT, SvxFmMSFactory::getAvailableServiceNames(), and i.

SdrModel* SvxUnoDrawingModel::GetDoc ( ) const
inline
uno::Reference< drawing::XDrawPages > SAL_CALL SvxUnoDrawingModel::getDrawPages ( )
overridevirtual

Definition at line 317 of file unomod.cxx.

References mxDrawPagesAccess, and SvxUnoDrawPagesAccess.

uno::Sequence< sal_Int8 > SAL_CALL SvxUnoDrawingModel::getImplementationId ( )
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 292 of file unomod.cxx.

OUString SAL_CALL SvxUnoDrawingModel::getImplementationName ( )
overridevirtual

Definition at line 524 of file unomod.cxx.

SdrModel & SvxUnoDrawingModel::getSdrModelFromUnoModel ( ) const
overrideprotectedvirtual

abstract SdrModel provider

Implements SvxUnoDrawMSFactory.

Definition at line 225 of file unomod.cxx.

References mpDoc.

uno::Sequence< OUString > SAL_CALL SvxUnoDrawingModel::getSupportedServiceNames ( )
overridevirtual

Definition at line 534 of file unomod.cxx.

uno::Sequence< uno::Type > SAL_CALL SvxUnoDrawingModel::getTypes ( )
overridevirtual
sal_Bool SAL_CALL SvxUnoDrawingModel::hasControllersLocked ( )
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 311 of file unomod.cxx.

References SdrModel::isLocked(), and mpDoc.

void SAL_CALL SvxUnoDrawingModel::lockControllers ( )
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 297 of file unomod.cxx.

References mpDoc, and SdrModel::setLock().

uno::Any SAL_CALL SvxUnoDrawingModel::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 253 of file unomod.cxx.

References QUERYINT, and SfxBaseModel::queryInterface().

void SAL_CALL SvxUnoDrawingModel::release ( )
throw (
)
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 272 of file unomod.cxx.

References SfxBaseModel::release().

sal_Bool SAL_CALL SvxUnoDrawingModel::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 529 of file unomod.cxx.

References cppu::supportsService().

void SAL_CALL SvxUnoDrawingModel::unlockControllers ( )
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 303 of file unomod.cxx.

References SdrModel::isLocked(), mpDoc, and SdrModel::setLock().

Friends And Related Function Documentation

friend class SvxUnoDrawPagesAccess
friend

Definition at line 42 of file unomodel.hxx.

Referenced by getDrawPages().

Member Data Documentation

css::uno::Sequence< css::uno::Type > SvxUnoDrawingModel::maTypeSequence
private

Definition at line 56 of file unomodel.hxx.

Referenced by getTypes().

SdrModel* SvxUnoDrawingModel::mpDoc
private
css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxBitmapTable
private

Definition at line 52 of file unomodel.hxx.

Referenced by createInstance().

css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxDashTable
private

Definition at line 49 of file unomodel.hxx.

Referenced by createInstance().

css::uno::WeakReference< css::drawing::XDrawPages > SvxUnoDrawingModel::mxDrawPagesAccess
private

Definition at line 47 of file unomodel.hxx.

Referenced by getDrawPages().

css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxGradientTable
private

Definition at line 50 of file unomodel.hxx.

Referenced by createInstance().

css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxHatchTable
private

Definition at line 51 of file unomodel.hxx.

Referenced by createInstance().

css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxMarkerTable
private

Definition at line 54 of file unomodel.hxx.

Referenced by createInstance().

css::uno::Reference< css::uno::XInterface > SvxUnoDrawingModel::mxTransGradientTable
private

Definition at line 53 of file unomodel.hxx.

Referenced by createInstance().


The documentation for this class was generated from the following files: