LibreOffice Module sc (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScModelObj Class Reference

#include <docuno.hxx>

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

Public Member Functions

 ScModelObj (ScDocShell *pDocSh)
 
virtual ~ScModelObj () override
 
ScDocumentGetDocument () const
 
SfxObjectShellGetEmbeddedObject () const
 
void UpdateAllRowHeights ()
 
void BeforeXMLLoading ()
 
void AfterXMLLoading ()
 
ScSheetSaveDataGetSheetSaveData ()
 
ScFormatSaveDataGetFormatSaveData ()
 
void RepaintRange (const ScRange &rRange)
 
void RepaintRange (const ScRangeList &rRange)
 
bool HasChangesListeners () const
 
void NotifyChanges (const OUString &rOperation, const ScRangeList &rRanges, const css::uno::Sequence< css::beans::PropertyValue > &rProperties)
 
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 void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Reference< css::sheet::XSpreadsheets > SAL_CALL getSheets () override
 XSpreadsheetDocument. More...
 
virtual ::css::uno::Reference< css::chart2::data::XDataProvider > SAL_CALL createDataProvider () override
 XDataProviderAccess. More...
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getStyleFamilies () override
 XStyleFamiliesSupplier. More...
 
virtual sal_Int32 SAL_CALL getRendererCount (const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 XRenderable. More...
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getRenderer (sal_Int32 nRenderer, const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual void SAL_CALL render (sal_Int32 nRenderer, const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &xOptions) override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getLinks () override
 XLinkTargetSupplier. More...
 
virtual sal_Bool SAL_CALL isActionLocked () override
 XActionLockable. More...
 
virtual void SAL_CALL addActionLock () override
 
virtual void SAL_CALL removeActionLock () override
 
virtual void SAL_CALL setActionLocks (sal_Int16 nLock) override
 
virtual sal_Int16 SAL_CALL resetActionLocks () override
 
virtual void SAL_CALL lockControllers () override
 
virtual void SAL_CALL unlockControllers () override
 
virtual void SAL_CALL calculate () override
 XCalculatable. More...
 
virtual void SAL_CALL calculateAll () override
 
virtual sal_Bool SAL_CALL isAutomaticCalculationEnabled () override
 
virtual void SAL_CALL enableAutomaticCalculation (sal_Bool bEnabled) override
 
virtual void SAL_CALL protect (const OUString &aPassword) override
 XProtectable. More...
 
virtual void SAL_CALL unprotect (const OUString &aPassword) override
 
virtual sal_Bool SAL_CALL isProtected () override
 
virtual css::uno::Reference< css::drawing::XDrawPages > SAL_CALL getDrawPages () override
 XDrawPagesSupplier. More...
 
virtual css::sheet::GoalResult SAL_CALL seekGoal (const css::table::CellAddress &aFormulaPosition, const css::table::CellAddress &aVariablePosition, const OUString &aGoalValue) override
 XGoalSeek. More...
 
virtual css::uno::Reference< css::sheet::XConsolidationDescriptor > SAL_CALL createConsolidationDescriptor (sal_Bool bEmpty) override
 XConsolidatable. More...
 
virtual void SAL_CALL consolidate (const css::uno::Reference< css::sheet::XConsolidationDescriptor > &xDescriptor) override
 
virtual void SAL_CALL refreshArrows () override
 XDocumentAuditing. More...
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getViewData () override
 XViewDataSupplier. More...
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 XPropertySet. More...
 
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::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 XMultiServiceFactory. More...
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
virtual OUString SAL_CALL getImplementationName () override
 XServiceInfo. More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 XUnoTunnel. More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 XTypeProvider. More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL addChangesListener (const css::uno::Reference< css::util::XChangesListener > &aListener) override
 XChangesNotifier. More...
 
virtual void SAL_CALL removeChangesListener (const css::uno::Reference< css::util::XChangesListener > &aListener) override
 
virtual sal_Bool SAL_CALL isOpenCLEnabled () override
 
virtual void SAL_CALL enableOpenCL (sal_Bool bEnable) override
 
virtual void SAL_CALL enableAutomaticDeviceSelection (sal_Bool bForce) override
 
virtual void SAL_CALL disableAutomaticDeviceSelection () override
 
virtual void SAL_CALL selectOpenCLDevice (sal_Int32 platform, sal_Int32 device) override
 
virtual sal_Int32 SAL_CALL getPlatformID () override
 
virtual sal_Int32 SAL_CALL getDeviceID () override
 
virtual css::uno::Sequence< css::sheet::opencl::OpenCLPlatform > SAL_CALL getOpenCLPlatforms () override
 
virtual void SAL_CALL enableOpcodeSubsetTest () override
 
virtual void SAL_CALL disableOpcodeSubsetTest () override
 
virtual sal_Bool SAL_CALL isOpcodeSubsetTested () override
 
virtual void SAL_CALL setFormulaCellNumberLimit (sal_Int32 number) override
 
virtual sal_Int32 SAL_CALL getFormulaCellNumberLimit () override
 
virtual void paintTile (VirtualDevice &rDevice, int nOutputWidth, int nOutputHeight, int nTilePosX, int nTilePosY, tools::Long nTileWidth, tools::Long nTileHeight) override
 
virtual Size getDocumentSize () final override
 
virtual Size getDataArea (long nPart) override
 
virtual void setPart (int nPart, bool bAllowChangeFocus=true) override
 
virtual int getPart () override
 
virtual int getParts () override
 
virtual OUString getPartInfo (int nPart) override
 
virtual OUString getPartName (int nPart) override
 
virtual OUString getPartHash (int nPart) override
 
virtual VclPtr< vcl::WindowgetDocWindow () override
 
virtual void initializeForTiledRendering (const css::uno::Sequence< css::beans::PropertyValue > &rArguments) override
 
virtual void postKeyEvent (int nType, int nCharCode, int nKeyCode) override
 
virtual void postMouseEvent (int nType, int nX, int nY, int nCount, int nButtons, int nModifier) override
 
virtual void setTextSelection (int nType, int nX, int nY) override
 
virtual css::uno::Reference< css::datatransfer::XTransferable > getSelection () override
 
virtual void setGraphicSelection (int nType, int nX, int nY) override
 
virtual void resetSelection () override
 
virtual void setClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard) override
 
virtual bool isMimeTypeSupported () override
 
virtual void setClientZoom (int nTilePixelWidth, int nTilePixelHeight, int nTileTwipWidth, int nTileTwipHeight) override
 
virtual void setOutlineState (bool bColumn, int nLevel, int nIndex, bool bHidden) override
 
virtual void getRowColumnHeaders (const tools::Rectangle &rRectangle, tools::JsonWriter &rJsonWriter) override
 
virtual OString getSheetGeometryData (bool bColumns, bool bRows, bool bSizes, bool bHidden, bool bFiltered, bool bGroups) override
 
virtual void getCellCursor (tools::JsonWriter &rJsonWriter) override
 
virtual PointerStyle getPointer () override
 
void getTrackedChanges (tools::JsonWriter &) override
 
virtual void setClientVisibleArea (const tools::Rectangle &rRectangle) override
 
void getPostIts (tools::JsonWriter &rJsonWriter) override
 
void getPostItsPos (tools::JsonWriter &rJsonWriter) override
 
virtual void completeFunction (const OUString &rFunctionName) override
 
OString getViewRenderState () override
 
- Public Member Functions inherited from SfxBaseModel
 SfxBaseModel (SfxObjectShell *pObjectShell)
 
virtual ~SfxBaseModel () 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
 
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 void SAL_CALL lockControllers () override
 
virtual void SAL_CALL unlockControllers () override
 
virtual sal_Bool SAL_CALL hasControllersLocked () 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 css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs2 (const css::uno::Sequence< OUString > &requestedArgs) 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 sal_Int64 SAL_CALL getModifiedStateDuration () 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 ()
 
virtual ::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface > SAL_CALL createInstance (const OUString &ServiceSpecifier) override
 
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 
- Public Member Functions inherited from SvxUnoDrawMSFactory
 SvxUnoDrawMSFactory () noexcept
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () override
 

Static Public Member Functions

static void CreateAndSet (ScDocShell *pDocSh)
 create ScModelObj and set at pDocSh (SetBaseModel) More...
 
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Static Public Member Functions inherited from SvxUnoDrawMSFactory
static css::uno::Reference< css::uno::XInterface > createTextField (std::u16string_view aServiceSpecifier)
 
static bool createEvent (const SdrModel *pDoc, const SdrHint *pSdrHint, css::document::EventObject &aEvent)
 

Protected Member Functions

const SfxItemPropertySetGetPropertySet () const
 
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
virtual SdrModelgetSdrModelFromUnoModel () const=0
 
 ~SvxUnoDrawMSFactory ()
 

Private Member Functions

bool FillRenderMarkData (const css::uno::Any &aSelection, const css::uno::Sequence< css::beans::PropertyValue > &rOptions, ScMarkData &rMark, ScPrintSelectionStatus &rStatus, OUString &rPagesStr, bool &rbRenderToGraphic) const
 
css::uno::Reference< css::uno::XAggregation > const & GetFormatter ()
 
void HandleCalculateEvents ()
 
css::uno::Reference< css::uno::XInterface > create (OUString const &aServiceSpecifier, css::uno::Sequence< css::uno::Any > const *arguments)
 
Size getDocumentSize (SCCOL &rnTiledRenderingAreaEndCol, SCROW &rnTiledRenderingAreaEndRow)
 

Static Private Member Functions

static bool IsOnEvenPage (sal_Int32 nPage)
 

Private Attributes

SfxItemPropertySet aPropSet
 
ScDocShellpDocShell
 
std::unique_ptr< ScPrintFuncCachepPrintFuncCache
 
std::unique_ptr< ScPrintUIOptionspPrinterOptions
 
std::unique_ptr< ScPrintStatem_pPrintState
 
css::uno::Reference< css::uno::XAggregation > xNumberAgg
 
css::uno::Reference< css::uno::XInterface > xDrawGradTab
 
css::uno::Reference< css::uno::XInterface > xDrawHatchTab
 
css::uno::Reference< css::uno::XInterface > xDrawBitmapTab
 
css::uno::Reference< css::uno::XInterface > xDrawTrGradTab
 
css::uno::Reference< css::uno::XInterface > xDrawMarkerTab
 
css::uno::Reference< css::uno::XInterface > xDrawDashTab
 
css::uno::Reference< css::uno::XInterface > xChartDataProv
 
css::uno::Reference< css::uno::XInterface > xObjProvider
 
::comphelper::OInterfaceContainerHelper3< css::util::XChangesListener > maChangesListeners
 
OUString maBuildId
 
std::vector< sal_Int32 > maValidPages
 

Detailed Description

Definition at line 75 of file docuno.hxx.

Constructor & Destructor Documentation

◆ ScModelObj()

ScModelObj::ScModelObj ( ScDocShell pDocSh)

Definition at line 384 of file docuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), m_aMutex, and pDocShell.

Referenced by CreateAndSet().

◆ ~ScModelObj()

ScModelObj::~ScModelObj ( )
overridevirtual

Member Function Documentation

◆ acquire()

void SAL_CALL ScModelObj::acquire ( )
overridevirtualnoexcept

Reimplemented from SfxBaseModel.

Definition at line 1346 of file docuno.cxx.

References SfxBaseModel::acquire().

◆ addActionLock()

void SAL_CALL ScModelObj::addActionLock ( )
overridevirtual

Definition at line 2424 of file docuno.cxx.

References ScDocShell::LockDocument(), and pDocShell.

◆ addChangesListener()

void ScModelObj::addChangesListener ( const css::uno::Reference< css::util::XChangesListener > &  aListener)
overridevirtual

◆ addPropertyChangeListener()

virtual void SAL_CALL ScModelObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScModelObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ AfterXMLLoading()

void ScModelObj::AfterXMLLoading ( )

Definition at line 462 of file docuno.cxx.

References ScDocShell::AfterXMLLoading(), and pDocShell.

◆ BeforeXMLLoading()

void ScModelObj::BeforeXMLLoading ( )

Definition at line 456 of file docuno.cxx.

References ScDocShell::BeforeXMLLoading(), and pDocShell.

◆ calculate()

void SAL_CALL ScModelObj::calculate ( )
overridevirtual

XCalculatable.

throw exception?

Definition at line 2478 of file docuno.cxx.

References ScDocShell::DoRecalc(), and pDocShell.

◆ calculateAll()

void SAL_CALL ScModelObj::calculateAll ( )
overridevirtual

throw exception?

Definition at line 2492 of file docuno.cxx.

References ScDocShell::DoHardRecalc(), and pDocShell.

◆ completeFunction()

void ScModelObj::completeFunction ( const OUString &  rFunctionName)
overridevirtual
See also
vcl::ITiledRenderable::completeFunction().

Definition at line 1247 of file docuno.cxx.

References ScInputHandler::LOKPasteFunctionData(), and SC_MOD.

◆ consolidate()

void SAL_CALL ScModelObj::consolidate ( const css::uno::Reference< css::sheet::XConsolidationDescriptor > &  xDescriptor)
overridevirtual

but if this already is ScConsolidationDescriptor, do it directly via getImplementation?

Definition at line 2623 of file docuno.cxx.

References ScDocShell::DoConsolidate(), ScDocShell::GetDocument(), pDocShell, and ScDocument::SetConsolidateDlgData().

◆ create()

css::uno::Reference< css::uno::XInterface > ScModelObj::create ( OUString const &  aServiceSpecifier,
css::uno::Sequence< css::uno::Any > const *  arguments 
)
private

◆ CreateAndSet()

void ScModelObj::CreateAndSet ( ScDocShell pDocSh)
static

create ScModelObj and set at pDocSh (SetBaseModel)

Definition at line 366 of file docuno.cxx.

References ScModelObj(), and SfxObjectShell::SetBaseModel().

Referenced by ScDocShell::ScDocShell().

◆ createConsolidationDescriptor()

uno::Reference< sheet::XConsolidationDescriptor > SAL_CALL ScModelObj::createConsolidationDescriptor ( sal_Bool  bEmpty)
overridevirtual

XConsolidatable.

Definition at line 2608 of file docuno.cxx.

References ScDocument::GetConsolidateDlgData(), ScDocShell::GetDocument(), and pDocShell.

◆ createDataProvider()

css::uno::Reference<::css::chart2::data::XDataProvider > SAL_CALL ScModelObj::createDataProvider ( )
override

XDataProviderAccess.

Definition at line 1462 of file docuno.cxx.

References ScServiceProvider::CHDATAPROV, ScServiceProvider::MakeInstance(), and pDocShell.

◆ createInstance()

uno::Reference< uno::XInterface > SAL_CALL ScModelObj::createInstance ( const OUString &  aServiceSpecifier)
overridevirtual

XMultiServiceFactory.

Reimplemented from SvxFmMSFactory.

Definition at line 3113 of file docuno.cxx.

References create().

Referenced by ooo::vba::excel::setUpDocumentModules().

◆ createInstanceWithArguments()

uno::Reference< uno::XInterface > SAL_CALL ScModelObj::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual

distinguish between own services and those of drawing layer?

Reimplemented from SvxUnoDrawMSFactory.

Definition at line 3120 of file docuno.cxx.

References create().

◆ disableAutomaticDeviceSelection()

void ScModelObj::disableAutomaticDeviceSelection ( )
overridevirtual

◆ disableOpcodeSubsetTest()

void ScModelObj::disableOpcodeSubsetTest ( )
overridevirtual

Definition at line 3590 of file docuno.cxx.

◆ enableAutomaticCalculation()

void SAL_CALL ScModelObj::enableAutomaticCalculation ( sal_Bool  bEnabled)
overridevirtual

◆ enableAutomaticDeviceSelection()

void ScModelObj::enableAutomaticDeviceSelection ( sal_Bool  bForce)
overridevirtual

◆ enableOpcodeSubsetTest()

void ScModelObj::enableOpcodeSubsetTest ( )
overridevirtual

Definition at line 3585 of file docuno.cxx.

◆ enableOpenCL()

void ScModelObj::enableOpenCL ( sal_Bool  bEnable)
overridevirtual

◆ FillRenderMarkData()

bool ScModelObj::FillRenderMarkData ( const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  rOptions,
ScMarkData rMark,
ScPrintSelectionStatus rStatus,
OUString &  rPagesStr,
bool &  rbRenderToGraphic 
) const
private

◆ getAvailableServiceNames()

uno::Sequence< OUString > SAL_CALL ScModelObj::getAvailableServiceNames ( )
overridevirtual

◆ getCellCursor()

void ScModelObj::getCellCursor ( tools::JsonWriter rJsonWriter)
overridevirtual
See also
vcl::ITiledRenderable::getCellCursor().

Definition at line 1089 of file docuno.cxx.

References ScViewData::GetActiveWin(), ScGridWindow::getCellCursor(), ScDocShell::GetViewData(), and tools::JsonWriter::put().

◆ getDataArea()

Size ScModelObj::getDataArea ( long  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getDataArea().

Definition at line 713 of file docuno.cxx.

References ScDocument::FetchTable(), ScTable::GetCellArea(), ScDocShell::GetDocument(), ScDocShell::GetViewData(), and pDocShell.

◆ getDeviceID()

sal_Int32 ScModelObj::getDeviceID ( )
overridevirtual

Definition at line 3531 of file docuno.cxx.

◆ GetDocument()

ScDocument * ScModelObj::GetDocument ( ) const

◆ getDocumentSize() [1/2]

Size ScModelObj::getDocumentSize ( )
finaloverridevirtual
See also
vcl::ITiledRenderable::getDocumentSize().

Definition at line 663 of file docuno.cxx.

References getDocumentSize().

Referenced by getDocumentSize(), paintTile(), ScTabView::SetCursor(), and ScTabView::TabChanged().

◆ getDocumentSize() [2/2]

Size ScModelObj::getDocumentSize ( SCCOL rnTiledRenderingAreaEndCol,
SCROW rnTiledRenderingAreaEndRow 
)
private

◆ getDocWindow()

VclPtr< vcl::Window > ScModelObj::getDocWindow ( )
overridevirtual
See also
vcl::ITiledRenderable::getDocWindow().

Definition at line 647 of file docuno.cxx.

References ScViewData::GetActiveWin(), ScDocShell::GetBestViewShell(), SfxLokHelper::getInPlaceDocWindow(), ScTabView::GetViewData(), and pDocShell.

Referenced by postKeyEvent().

◆ getDrawPages()

uno::Reference< drawing::XDrawPages > SAL_CALL ScModelObj::getDrawPages ( )
overridevirtual

XDrawPagesSupplier.

throw exception?

Definition at line 2570 of file docuno.cxx.

References pDocShell.

◆ GetEmbeddedObject()

SfxObjectShell * ScModelObj::GetEmbeddedObject ( ) const

◆ GetFormatSaveData()

ScFormatSaveData * ScModelObj::GetFormatSaveData ( )

Definition at line 475 of file docuno.cxx.

References ScDocShell::GetFormatSaveData(), and pDocShell.

◆ GetFormatter()

uno::Reference< uno::XAggregation > const & ScModelObj::GetFormatter ( )
private

◆ getFormulaCellNumberLimit()

sal_Int32 ScModelObj::getFormulaCellNumberLimit ( )
overridevirtual

Definition at line 3607 of file docuno.cxx.

◆ getImplementationId()

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

Reimplemented from SfxBaseModel.

Definition at line 1397 of file docuno.cxx.

◆ getImplementationName()

OUString SAL_CALL ScModelObj::getImplementationName ( )
overridevirtual

XServiceInfo.

Definition at line 3150 of file docuno.cxx.

◆ getLinks()

uno::Reference< container::XNameAccess > SAL_CALL ScModelObj::getLinks ( )
overridevirtual

XLinkTargetSupplier.

Definition at line 2405 of file docuno.cxx.

References pDocShell.

◆ getOpenCLPlatforms()

uno::Sequence< sheet::opencl::OpenCLPlatform > ScModelObj::getOpenCLPlatforms ( )
overridevirtual

◆ getPart()

int ScModelObj::getPart ( )
overridevirtual
See also
vcl::ITiledRenderable::getPart().

Definition at line 599 of file docuno.cxx.

References ScTabViewShell::getPart(), ScDocShell::GetViewData(), and ScViewData::GetViewShell().

◆ getPartHash()

OUString ScModelObj::getPartHash ( int  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getPartHash().

Definition at line 637 of file docuno.cxx.

References ScViewData::GetDocument(), ScDocument::GetHashCode(), and ScDocShell::GetViewData().

◆ getPartInfo()

OUString ScModelObj::getPartInfo ( int  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getPartInfo().

Definition at line 605 of file docuno.cxx.

References ScViewData::GetDocument(), ScDocShell::GetViewData(), ScDocument::IsLayoutRTL(), and ScDocument::IsVisible().

◆ getPartName()

OUString ScModelObj::getPartName ( int  nPart)
overridevirtual
See also
vcl::ITiledRenderable::getPartName().

Definition at line 626 of file docuno.cxx.

References ScViewData::GetDocument(), ScDocument::GetName(), and ScDocShell::GetViewData().

◆ getParts()

int ScModelObj::getParts ( )
overridevirtual
See also
vcl::ITiledRenderable::getParts().

Definition at line 593 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetTableCount(), and pDocShell.

◆ getPlatformID()

sal_Int32 ScModelObj::getPlatformID ( )
overridevirtual

Definition at line 3519 of file docuno.cxx.

◆ getPointer()

PointerStyle ScModelObj::getPointer ( )
overridevirtual
See also
vcl::ITiledRenderable::getPointer().

Definition at line 1105 of file docuno.cxx.

References ScViewData::GetActiveWin(), vcl::Window::GetPointer(), and ScDocShell::GetViewData().

◆ getPostIts()

void ScModelObj::getPostIts ( tools::JsonWriter rJsonWriter)
override

◆ getPostItsPos()

void ScModelObj::getPostItsPos ( tools::JsonWriter rJsonWriter)
override

◆ GetPropertySet()

const SfxItemPropertySet & ScModelObj::GetPropertySet ( ) const
inlineprotected

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScModelObj::getPropertySetInfo ( )
overridevirtual

XPropertySet.

provide them also to the application?

Definition at line 2689 of file docuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScModelObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Reimplemented in ScDocOptionsObj.

Definition at line 2845 of file docuno.cxx.

References aPropSet, ScUnoConversion::FillLocale(), FmFormModel::GetAutoControlFocus(), SfxObjectShell::GetBasicContainer(), ScDocument::GetCodeName(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetDialogContainer(), ScDocument::GetDocOptions(), ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), SfxBaseModel::getGrabBagItem(), ScDocument::GetLanguage(), FmFormModel::GetOpenInDesignMode(), SfxItemPropertySet::getPropertyMap(), ScDocOptionsHelper::getPropertyValue(), ScDocument::GetRefDevice(), SfxBaseModel::getRuntimeUID(), ScDocShell::HasChangeRecordProtection(), SfxBaseModel::hasValidSignatures(), uno::Any::hasValue(), ScDocument::IsAdjustHeightLocked(), ScDocument::IsChangeReadOnlyEnabled(), ScDocShell::IsChangeRecording(), ScDocShell::IsEmpty(), ScDocument::IsExecuteLinkEnabled(), ScDocument::IsUndoEnabled(), maBuildId, pDocShell, SC_UNO_APPLYFMDES, SC_UNO_AREALINKS, SC_UNO_AUTOCONTFOC, SC_UNO_BASICLIBRARIES, SC_UNO_CJK_CLOCAL, SC_UNO_CODENAME, SC_UNO_COLLABELRNG, SC_UNO_CTL_CLOCAL, SC_UNO_DATABASERNG, SC_UNO_DDELINKS, SC_UNO_DIALOGLIBRARIES, SC_UNO_EXTERNALDOCLINKS, SC_UNO_FORBIDDEN, SC_UNO_HASDRAWPAGES, SC_UNO_HASVALIDSIGNATURES, SC_UNO_INTEROPGRABBAG, SC_UNO_ISADJUSTHEIGHTENABLED, SC_UNO_ISCHANGEREADONLYENABLED, SC_UNO_ISEXECUTELINKENABLED, SC_UNO_ISLOADED, SC_UNO_ISRECORDCHANGESPROTECTED, SC_UNO_ISUNDOENABLED, SC_UNO_NAMEDRANGES, SC_UNO_RECORDCHANGES, SC_UNO_REFERENCEDEVICE, SC_UNO_ROWLABELRNG, SC_UNO_RUNTIMEUID, SC_UNO_SHEETLINKS, SC_UNO_UNNAMEDDBRNG, SC_UNO_VBAGLOBNAME, and SC_UNONAME_CLOCAL.

Referenced by ScDocOptionsObj::getPropertyValue(), and getScRangeListForAddress().

◆ getRenderer()

uno::Sequence< beans::PropertyValue > SAL_CALL ScModelObj::getRenderer ( sal_Int32  nRenderer,
const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

◆ getRendererCount()

sal_Int32 SAL_CALL ScModelObj::getRendererCount ( const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

◆ getRowColumnHeaders()

void ScModelObj::getRowColumnHeaders ( const tools::Rectangle rRectangle,
tools::JsonWriter rJsonWriter 
)
overridevirtual
See also
vcl::ITiledRenderable::getRowColumnHeaders().

Definition at line 1062 of file docuno.cxx.

References ScTabView::getRowColumnHeaders(), ScViewData::GetView(), and ScDocShell::GetViewData().

◆ getSdrModelFromUnoModel()

SdrModel & ScModelObj::getSdrModelFromUnoModel ( ) const
overrideprotectedvirtual

abstract SdrModel provider

Implements SvxUnoDrawMSFactory.

Definition at line 372 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), ScDocument::InitDrawLayer(), and pDocShell.

◆ getSelection()

uno::Reference< datatransfer::XTransferable > ScModelObj::getSelection ( )
overridevirtual

◆ getSheetGeometryData()

OString ScModelObj::getSheetGeometryData ( bool  bColumns,
bool  bRows,
bool  bSizes,
bool  bHidden,
bool  bFiltered,
bool  bGroups 
)
overridevirtual
See also
vcl::ITiledRenderable::getSheetGeometryData().

Definition at line 1075 of file docuno.cxx.

References ScTabView::getSheetGeometryData(), ScViewData::GetView(), and ScDocShell::GetViewData().

◆ getSheets()

uno::Reference< sheet::XSpreadsheets > SAL_CALL ScModelObj::getSheets ( )
overridevirtual

XSpreadsheetDocument.

Definition at line 1454 of file docuno.cxx.

References pDocShell.

Referenced by ScVbaChartObjects::getChartObjectNames().

◆ GetSheetSaveData()

ScSheetSaveData * ScModelObj::GetSheetSaveData ( )

Definition at line 468 of file docuno.cxx.

References ScDocShell::GetSheetSaveData(), and pDocShell.

◆ getSomething()

sal_Int64 SAL_CALL ScModelObj::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

◆ getStyleFamilies()

uno::Reference< container::XNameAccess > SAL_CALL ScModelObj::getStyleFamilies ( )
overridevirtual

XStyleFamiliesSupplier.

Definition at line 1474 of file docuno.cxx.

References pDocShell.

Referenced by ScTabViewShell::ExecStyle().

◆ getSupportedServiceNames()

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

Definition at line 3163 of file docuno.cxx.

References SCDOC_SERVICE, SCDOCSETTINGS_SERVICE, and SCMODELOBJ_SERVICE.

◆ getTrackedChanges()

void ScModelObj::getTrackedChanges ( tools::JsonWriter rJson)
override
See also
vcl::ITiledRenderable::getTrackedChanges().

Definition at line 1120 of file docuno.cxx.

References ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), and pDocShell.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL ScModelObj::getTypes ( )
overridevirtual

◆ getUnoTunnelId()

const uno::Sequence< sal_Int8 > & ScModelObj::getUnoTunnelId ( )
static

Definition at line 3204 of file docuno.cxx.

References comphelper::UnoIdInit::getSeq().

◆ getViewData()

uno::Reference< container::XIndexAccess > SAL_CALL ScModelObj::getViewData ( )
overridevirtual

◆ getViewRenderState()

OString ScModelObj::getViewRenderState ( )
override
See also
vcl::ITiledRenderable::getViewRenderState().

Definition at line 1257 of file docuno.cxx.

References ScViewOptions::GetColorSchemeName(), ScViewData::GetOptions(), ScDocShell::GetViewData(), and OUStringToOString().

◆ HandleCalculateEvents()

void ScModelObj::HandleCalculateEvents ( )
private

◆ HasChangesListeners()

bool ScModelObj::HasChangesListeners ( ) const

◆ initializeForTiledRendering()

void ScModelObj::initializeForTiledRendering ( const css::uno::Sequence< css::beans::PropertyValue > &  rArguments)
overridevirtual

◆ isActionLocked()

sal_Bool SAL_CALL ScModelObj::isActionLocked ( )
overridevirtual

XActionLockable.

Definition at line 2415 of file docuno.cxx.

References ScDocShell::GetLockCount(), and pDocShell.

◆ isAutomaticCalculationEnabled()

sal_Bool SAL_CALL ScModelObj::isAutomaticCalculationEnabled ( )
overridevirtual

throw exception?

Definition at line 2506 of file docuno.cxx.

References ScDocument::GetAutoCalc(), ScDocShell::GetDocument(), and pDocShell.

◆ isMimeTypeSupported()

bool ScModelObj::isMimeTypeSupported ( )
overridevirtual

◆ IsOnEvenPage()

static bool ScModelObj::IsOnEvenPage ( sal_Int32  nPage)
inlinestaticprivate

Definition at line 124 of file docuno.hxx.

Referenced by getRendererCount().

◆ isOpcodeSubsetTested()

sal_Bool ScModelObj::isOpcodeSubsetTested ( )
overridevirtual

Definition at line 3595 of file docuno.cxx.

◆ isOpenCLEnabled()

sal_Bool ScModelObj::isOpenCLEnabled ( )
overridevirtual

Definition at line 3443 of file docuno.cxx.

References ScCalcConfig::isOpenCLEnabled().

◆ isProtected()

sal_Bool SAL_CALL ScModelObj::isProtected ( )
overridevirtual

throw exception?

Definition at line 2558 of file docuno.cxx.

References ScDocShell::GetDocument(), ScDocument::IsDocProtected(), and pDocShell.

◆ lockControllers()

void SAL_CALL ScModelObj::lockControllers ( )
overridevirtual

Reimplemented from SfxBaseModel.

Definition at line 2457 of file docuno.cxx.

References SfxBaseModel::lockControllers(), ScDocShell::LockPaint(), and pDocShell.

◆ Notify()

void ScModelObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

◆ NotifyChanges()

void ScModelObj::NotifyChanges ( const OUString &  rOperation,
const ScRangeList rRanges,
const css::uno::Sequence< css::beans::PropertyValue > &  rProperties 
)

◆ paintTile()

void ScModelObj::paintTile ( VirtualDevice rDevice,
int  nOutputWidth,
int  nOutputHeight,
int  nTilePosX,
int  nTilePosY,
tools::Long  nTileWidth,
tools::Long  nTileHeight 
)
overridevirtual

◆ postKeyEvent()

void ScModelObj::postKeyEvent ( int  nType,
int  nCharCode,
int  nKeyCode 
)
overridevirtual
See also
vcl::ITiledRenderable::postKeyEvent().

Definition at line 736 of file docuno.cxx.

References getDocWindow(), nType, and SfxLokHelper::postKeyEventAsync().

◆ postMouseEvent()

void ScModelObj::postMouseEvent ( int  nType,
int  nX,
int  nY,
int  nCount,
int  nButtons,
int  nModifier 
)
overridevirtual

◆ protect()

void SAL_CALL ScModelObj::protect ( const OUString &  aPassword)
overridevirtual

◆ queryInterface()

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

◆ refreshArrows()

void SAL_CALL ScModelObj::refreshArrows ( )
overridevirtual

XDocumentAuditing.

Definition at line 2650 of file docuno.cxx.

References ScDocFunc::DetectiveRefresh(), ScDocShell::GetDocFunc(), and pDocShell.

◆ release()

void SAL_CALL ScModelObj::release ( )
overridevirtualnoexcept

Reimplemented from SfxBaseModel.

Definition at line 1351 of file docuno.cxx.

References SfxBaseModel::release().

◆ removeActionLock()

void SAL_CALL ScModelObj::removeActionLock ( )
overridevirtual

Definition at line 2431 of file docuno.cxx.

References pDocShell, and ScDocShell::UnlockDocument().

◆ removeChangesListener()

void ScModelObj::removeChangesListener ( const css::uno::Reference< css::util::XChangesListener > &  aListener)
overridevirtual

◆ removePropertyChangeListener()

virtual void SAL_CALL ScModelObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScModelObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ render()

void SAL_CALL ScModelObj::render ( sal_Int32  nRenderer,
const css::uno::Any &  aSelection,
const css::uno::Sequence< css::beans::PropertyValue > &  xOptions 
)
overridevirtual

Definition at line 2094 of file docuno.cxx.

References ScPrintPageLocation::aCellRange, ScRange::aEnd, ScPrintPageLocation::aRectangle, ScRange::aStart, tools::Rectangle::Bottom(), ScAddress::Col(), vcl::PDFExtOutDevData::CreateDest(), vcl::PDFExtOutDevData::CreateNamedDest(), vcl::PDFExtOutDevData::CreateOutlineItem(), SfxObjectShell::DoDraw(), ScPrintFunc::DrawToDev(), FillRenderMarkData(), vcl::PDFExtOutDevData::GetBookmarks(), ScDocument::GetDataStart(), ScDocShell::GetDocument(), ScDocument::GetDrawLayer(), OutputDevice::GetExtOutDevData(), tools::Rectangle::GetHeight(), vcl::PDFExtOutDevData::GetIsExportBookmarks(), vcl::PDFExtOutDevData::GetIsExportNamedDestinations(), getLocale(), ScMarkData::GetMarkArea(), ScDocument::GetMMRect(), ScPrintSelectionStatus::GetMode(), ScDocument::GetName(), ScPrintSelectionStatus::GetOptions(), OutputDevice::GetOutputSize(), ScDocument::GetPrintArea(), Application::GetSettings(), ScDocument::GetSheetLimits(), ScDocument::GetTableCount(), ScDocument::GetVisibleTab(), tools::Rectangle::GetWidth(), ScMarkData::IsMarked(), lcl_GetRenderDevice(), lcl_GetRendererNum(), lcl_ParseTarget(), lcl_renderSelectionToGraphic(), tools::Rectangle::Left(), m_pPrintState, maValidPages, ScPrintPageLocation::nPage, pDocShell, OutputDevice::PixelToLogic(), pPrintFuncCache, RANGE_MAX, RangeExclusivelyOleAndDrawObjects, tools::Rectangle::Right(), ScAddress::Row(), MultiSelection::Select(), vcl::PDFExtOutDevData::SetDocumentLocale(), vcl::PDFExtOutDevData::SetLinkDest(), vcl::PDFExtOutDevData::SetLinkURL(), ScViewData::SetScreen(), ScViewData::SetTabNo(), MultiSelection::SetTotalRange(), ScDocument::SetVisibleTab(), ScAddress::Tab(), and tools::Rectangle::Top().

◆ RepaintRange() [1/2]

void ScModelObj::RepaintRange ( const ScRange rRange)

Definition at line 482 of file docuno.cxx.

References Grid, pDocShell, and ScDocShell::PostPaint().

Referenced by ScDocument::RepaintRange().

◆ RepaintRange() [2/2]

void ScModelObj::RepaintRange ( const ScRangeList rRange)

Definition at line 488 of file docuno.cxx.

References Grid, pDocShell, ScDocShell::PostPaint(), and SC_PF_TESTMERGE.

◆ resetActionLocks()

sal_Int16 SAL_CALL ScModelObj::resetActionLocks ( )
overridevirtual

Definition at line 2445 of file docuno.cxx.

References ScDocShell::GetLockCount(), pDocShell, and ScDocShell::SetLockCount().

◆ resetSelection()

void ScModelObj::resetSelection ( )
overridevirtual

◆ seekGoal()

sheet::GoalResult SAL_CALL ScModelObj::seekGoal ( const css::table::CellAddress &  aFormulaPosition,
const css::table::CellAddress &  aVariablePosition,
const OUString &  aGoalValue 
)
overridevirtual

XGoalSeek.

this is a lie

Definition at line 2582 of file docuno.cxx.

References ScDocShell::GetActiveDialogParent(), ScDocShell::GetDocument(), pDocShell, and ScDocument::Solver().

Referenced by ScVbaRange::GoalSeek().

◆ selectOpenCLDevice()

void ScModelObj::selectOpenCLDevice ( sal_Int32  platform,
sal_Int32  device 
)
overridevirtual

Definition at line 3498 of file docuno.cxx.

References o3tl::make_unsigned().

◆ setActionLocks()

void SAL_CALL ScModelObj::setActionLocks ( sal_Int16  nLock)
overridevirtual

Definition at line 2438 of file docuno.cxx.

References pDocShell, and ScDocShell::SetLockCount().

◆ setClientVisibleArea()

void ScModelObj::setClientVisibleArea ( const tools::Rectangle rRectangle)
overridevirtual

◆ setClientZoom()

void ScModelObj::setClientZoom ( int  nTilePixelWidth,
int  nTilePixelHeight,
int  nTileTwipWidth,
int  nTileTwipHeight 
)
overridevirtual

◆ setClipboard()

void ScModelObj::setClipboard ( const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &  xClipboard)
overridevirtual
See also
vcl::ITiledRenderable::setClipboard().

Definition at line 994 of file docuno.cxx.

References ScViewData::GetActiveWin(), ScDocShell::GetViewData(), and vcl::Window::SetClipboard().

◆ setFormulaCellNumberLimit()

void ScModelObj::setFormulaCellNumberLimit ( sal_Int32  number)
overridevirtual

Definition at line 3600 of file docuno.cxx.

References comphelper::ConfigurationChanges::create().

◆ setGraphicSelection()

void ScModelObj::setGraphicSelection ( int  nType,
int  nX,
int  nY 
)
overridevirtual

◆ setOutlineState()

void ScModelObj::setOutlineState ( bool  bColumn,
int  nLevel,
int  nIndex,
bool  bHidden 
)
overridevirtual
See also
vcl::ITiledRenderable::setOutlineState().

Definition at line 1150 of file docuno.cxx.

References ScViewData::GetView(), ScDocShell::GetViewData(), nIndex, and ScDBFunc::SetOutlineState().

◆ setPart()

void ScModelObj::setPart ( int  nPart,
bool  bAllowChangeFocus = true 
)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScModelObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Recalc only for options that need it?

Reimplemented in ScDocOptionsObj.

Definition at line 2697 of file docuno.cxx.

References aPropSet, ScDocShell::DoHardRecalc(), ScDocument::EnableChangeReadOnly(), ScDocument::EnableExecuteLink(), ScDocument::EnableUndo(), ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetDocOptions(), ScDocShell::GetDocument(), ScUnoConversion::GetLanguage(), ScDocument::GetLanguage(), SfxItemPropertySet::getPropertyMap(), ScDocShell::GetUndoManager(), ScDocShell::GetViewBindings(), ScDocShell::HasChangeRecordProtection(), SfxBindings::Invalidate(), ScDocument::IsImportingXML(), ScDocument::LockAdjustHeight(), maBuildId, ScDocShell::MakeDrawLayer(), pDocShell, ScDocument::RestoreChartListener(), SC_UNO_APPLYFMDES, SC_UNO_AUTOCONTFOC, SC_UNO_CJK_CLOCAL, SC_UNO_CODENAME, SC_UNO_CTL_CLOCAL, SC_UNO_IGNORECASE, SC_UNO_INTEROPGRABBAG, SC_UNO_ISADJUSTHEIGHTENABLED, SC_UNO_ISCHANGEREADONLYENABLED, SC_UNO_ISEXECUTELINKENABLED, SC_UNO_ISLOADED, SC_UNO_ISUNDOENABLED, SC_UNO_LOOKUPLABELS, SC_UNO_RECORDCHANGES, SC_UNONAME_CLOCAL, SC_UNONAME_REGEXP, SC_UNONAME_WILDCARDS, FmFormModel::SetAutoControlFocus(), ScDocShell::SetChangeRecording(), ScDocument::SetCodeName(), ScDocument::SetDocOptions(), ScDocShell::SetDocumentModified(), ScDocShell::SetEmpty(), SfxBaseModel::setGrabBagItem(), ScDocument::SetLanguage(), SfxUndoManager::SetMaxUndoActionCount(), FmFormModel::SetOpenInDesignMode(), ScDocOptionsHelper::setPropertyValue(), and ScDocument::UnlockAdjustHeight().

Referenced by ScDocOptionsObj::setPropertyValue().

◆ setTextSelection()

void ScModelObj::setTextSelection ( int  nType,
int  nX,
int  nY 
)
overridevirtual

◆ supportsService()

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

Definition at line 3158 of file docuno.cxx.

References cppu::supportsService().

◆ unlockControllers()

void SAL_CALL ScModelObj::unlockControllers ( )
overridevirtual

◆ unprotect()

void SAL_CALL ScModelObj::unprotect ( const OUString &  aPassword)
overridevirtual

Definition at line 2547 of file docuno.cxx.

References ScDocShell::GetDocFunc(), pDocShell, TABLEID_DOC, and ScDocFunc::Unprotect().

◆ UpdateAllRowHeights()

void ScModelObj::UpdateAllRowHeights ( )

Definition at line 450 of file docuno.cxx.

References pDocShell, and ScDocShell::UpdateAllRowHeights().

Member Data Documentation

◆ aPropSet

SfxItemPropertySet ScModelObj::aPropSet
private

Definition at line 96 of file docuno.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().

◆ m_pPrintState

std::unique_ptr<ScPrintState> ScModelObj::m_pPrintState
private

Definition at line 100 of file docuno.hxx.

Referenced by getRenderer(), getRendererCount(), Notify(), and render().

◆ maBuildId

OUString ScModelObj::maBuildId
private

Definition at line 126 of file docuno.hxx.

Referenced by getPropertyValue(), and setPropertyValue().

◆ maChangesListeners

::comphelper::OInterfaceContainerHelper3<css::util::XChangesListener> ScModelObj::maChangesListeners
private

◆ maValidPages

std::vector<sal_Int32> ScModelObj::maValidPages
private

Definition at line 127 of file docuno.hxx.

Referenced by getRenderer(), getRendererCount(), and render().

◆ pDocShell

ScDocShell* ScModelObj::pDocShell
private

◆ pPrinterOptions

std::unique_ptr<ScPrintUIOptions> ScModelObj::pPrinterOptions
private

Definition at line 99 of file docuno.hxx.

Referenced by getRenderer(), and ~ScModelObj().

◆ pPrintFuncCache

std::unique_ptr<ScPrintFuncCache> ScModelObj::pPrintFuncCache
private

Definition at line 98 of file docuno.hxx.

Referenced by getRenderer(), getRendererCount(), Notify(), render(), and ~ScModelObj().

◆ xChartDataProv

css::uno::Reference<css::uno::XInterface> ScModelObj::xChartDataProv
private

Definition at line 108 of file docuno.hxx.

◆ xDrawBitmapTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawBitmapTab
private

Definition at line 104 of file docuno.hxx.

◆ xDrawDashTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawDashTab
private

Definition at line 107 of file docuno.hxx.

◆ xDrawGradTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawGradTab
private

Definition at line 102 of file docuno.hxx.

◆ xDrawHatchTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawHatchTab
private

Definition at line 103 of file docuno.hxx.

◆ xDrawMarkerTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawMarkerTab
private

Definition at line 106 of file docuno.hxx.

◆ xDrawTrGradTab

css::uno::Reference<css::uno::XInterface> ScModelObj::xDrawTrGradTab
private

Definition at line 105 of file docuno.hxx.

◆ xNumberAgg

css::uno::Reference<css::uno::XAggregation> ScModelObj::xNumberAgg
private

Definition at line 101 of file docuno.hxx.

Referenced by GetFormatter(), getSomething(), getTypes(), Notify(), queryInterface(), and ~ScModelObj().

◆ xObjProvider

css::uno::Reference<css::uno::XInterface> ScModelObj::xObjProvider
private

Definition at line 109 of file docuno.hxx.


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