LibreOffice Module starmath (master) 1
|
#include <document.hxx>
Public Member Functions | |
SFX_DECL_OBJECTFACTORY () | |
SmDocShell (SfxModelFlags i_nSfxCreationFlags) | |
virtual | ~SmDocShell () override |
virtual bool | ConvertTo (SfxMedium &rMedium) override |
void | SetGreekCharStyle (sal_Int16 nVal) |
void | ArrangeFormula () |
bool | HasPrinter () const |
SfxPrinter * | GetPrinter () |
void | SetPrinter (SfxPrinter *) |
OUString | GetComment () const |
void | ReplaceBadChars () |
void | UpdateText () |
void | SetText (const OUString &rBuffer) |
const OUString & | GetText () const |
void | SetFormat (SmFormat const &rFormat) |
const SmFormat & | GetFormat () const |
void | Parse () |
AbstractSmParser * | GetParser () |
const SmTableNode * | GetFormulaTree () const |
void | SetFormulaTree (SmTableNode *pTree) |
sal_uInt16 | GetSmSyntaxVersion () const |
void | SetSmSyntaxVersion (sal_uInt16 nSmSyntaxVersion) |
const std::set< OUString > & | GetUsedSymbols () const |
OUString const & | GetAccessibleText () |
EditEngine & | GetEditEngine () |
void | DrawFormula (OutputDevice &rDev, Point &rPosition, bool bDrawSelection=false) |
Size | GetSize () |
void | Repaint () |
virtual SfxUndoManager * | GetUndoManager () override |
void | Execute (SfxRequest &rReq) |
void | GetState (SfxItemSet &) |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) override |
virtual void | SetModified (bool bModified=true) override |
SmCursor & | GetCursor () |
Get a cursor for modifying this document. More... | |
bool | HasCursor () const |
True, if cursor have previously been requested and thus has some sort of position. More... | |
void | writeFormulaOoxml (const ::sax_fastparser::FSHelperPtr &pSerializer, oox::core::OoxmlVersion version, oox::drawingml::DocumentType documentType, const sal_Int8 nAlign) |
void | writeFormulaRtf (OStringBuffer &rBuffer, rtl_TextEncoding nEncoding) |
void | readFormulaOoxml (oox::formulaimport::XmlStream &stream) |
void | UpdateEditEngineDefaultFonts () |
SmMlElement * | GetMlElementTree () |
void | SetMlElementTree (SmMlElement *pMlElementTree) |
Public Member Functions inherited from SfxObjectShell | |
void | Stamp_SetPrintCancelState (bool bState) |
bool | Stamp_GetPrintCancelState () const |
virtual void | Invalidate (sal_uInt16 nId=0) override |
SfxModule * | GetModule () const |
virtual SfxObjectFactory & | GetFactory () const=0 |
SfxMedium * | GetMedium () const |
css::uno::Reference< css::document::XDocumentProperties > | getDocProperties () const |
void | UpdateDocInfoForSave () |
void | FlushDocInfo () |
bool | HasName () const |
OUString | GetAPIName () const |
void | SetReadOnly () |
bool | IsReadOnly () const |
bool | IsReadOnlyMedium () const |
bool | IsOriginallyReadOnlyMedium () const |
bool | IsOriginallyLoadedReadOnlyMedium () const |
void | SetReadOnlyUI (bool bReadOnly=true) |
bool | IsReadOnlyUI () const |
void | SetNoName () |
bool | IsInModalMode () const |
bool | IsInPrepareClose () const |
bool | AcceptStateUpdate () const |
bool | IsHelpDocument () const |
bool | IsDocShared () const |
OUString | GetSharedFileURL () const |
bool | SwitchToShared (bool bShared, bool bSave) |
SAL_DLLPRIVATE void | FreeSharedFile (const OUString &aTempFileURL) |
SAL_DLLPRIVATE void | DoNotCleanShareControlFile () |
void | SetSharedXMLFlag (bool bFlag) const |
bool | HasSharedXMLFlagSet () const |
SAL_DLLPRIVATE void | SetModalMode_Impl (bool bModal) |
SAL_DLLPRIVATE void | SetMacroMode_Impl (bool bModal=true) |
void | ResetError () |
ErrCode | GetError () const |
ErrCode | GetErrorCode () const |
void | SetError (ErrCode rErr) |
void | DoInitUnitTest () |
bool | DoInitNew () |
bool | DoLoad (SfxMedium *pMedium) |
bool | DoLoadExternal (SfxMedium *pMed) |
bool | DoSave () |
bool | DoSaveAs (SfxMedium &rNewStor) |
bool | DoSaveObjectAs (SfxMedium &rNewStor, bool bCommit) |
virtual bool | DoSaveCompleted (SfxMedium *pNewStor=nullptr, bool bRegisterRecent=true) |
virtual void | TerminateEditing () |
bool | LoadOwnFormat (SfxMedium &pMedium) |
virtual bool | SaveAsOwnFormat (SfxMedium &pMedium) |
virtual bool | ConvertFrom (SfxMedium &rMedium) |
virtual bool | ConvertTo (SfxMedium &rMedium) |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual bool | Load (SfxMedium &rMedium) |
virtual bool | LoadFrom (SfxMedium &rMedium) |
virtual bool | Save () |
virtual bool | SaveAs (SfxMedium &rMedium) |
virtual bool | SaveCompleted (const css::uno::Reference< css::embed::XStorage > &xStorage) |
bool | SwitchPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage) |
virtual void | UpdateLinks () |
virtual bool | LoadExternal (SfxMedium &rMedium) |
bool | IsConfigOptionsChecked () const |
void | SetConfigOptionsChecked (bool bChecked) |
virtual bool | QuerySlotExecutable (sal_uInt16 nSlotId) |
void | SaveChildren (bool bObjectsOnly=false) |
bool | SaveAsChildren (SfxMedium &rMedium) |
bool | SwitchChildrenPersistence (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bForceNonModified=false) |
bool | SaveCompletedChildren () |
virtual bool | InsertGeneratedStream (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
virtual bool | ImportFrom (SfxMedium &rMedium, css::uno::Reference< css::text::XTextRange > const &xInsertPosition) |
bool | ExportTo (SfxMedium &rMedium) |
bool | PrepareForSigning (weld::Window *pDialogParent) |
bool | CheckIsReadonly (bool bSignScriptingContent, weld::Window *pDialogParent=nullptr) |
void | RecheckSignature (bool bAlsoRecheckScriptingSignature) |
void | AfterSigning (bool bSignSuccess, bool bSignScriptingContent) |
bool | HasValidSignatures () const |
SignatureState | GetDocumentSignatureState () |
bool | SignDocumentContent (weld::Window *pDialogParent) |
css::uno::Sequence< css::security::DocumentSignatureInformation > | GetDocumentSignatureInformation (bool bScriptingContent, const css::uno::Reference< css::security::XDocumentDigitalSignatures > &xSigner=css::uno::Reference< css::security::XDocumentDigitalSignatures >()) |
bool | SignDocumentContentUsingCertificate (const css::uno::Reference< css::security::XCertificate > &xCertificate) |
bool | ResignDocument (css::uno::Sequence< css::security::DocumentSignatureInformation > &rSignaturesInfo) |
void | SignSignatureLine (weld::Window *pDialogParent, const OUString &aSignatureLineId, const css::uno::Reference< css::security::XCertificate > &xCert, const css::uno::Reference< css::graphic::XGraphic > &xValidGraphic, const css::uno::Reference< css::graphic::XGraphic > &xInvalidGraphic, const OUString &aComment) |
SignatureState | GetScriptingSignatureState () |
bool | SignScriptingContent (weld::Window *pDialogParent) |
DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void) | |
virtual std::shared_ptr< SfxDocumentInfoDialog > | CreateDocumentInfoDialog (weld::Window *pParent, const SfxItemSet &rItemSet) |
ErrCode | CallBasic (std::u16string_view rMacro, std::u16string_view rBasicName, SbxArray *pArgs, SbxValue *pRet=nullptr) |
ErrCode | CallXScript (const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
bool | AdjustMacroMode () |
SvKeyValueIterator * | GetHeaderAttributes () |
void | ClearHeaderAttributesForSourceViewHack () |
void | SetHeaderAttributesForSourceViewHack () |
bool | IsQueryLoadTemplate () const |
bool | IsUseUserData () const |
bool | IsUseThumbnailSave () const |
bool | IsLoadReadonly () const |
bool | IsSaveVersionOnClose () const |
void | SetQueryLoadTemplate (bool b) |
void | SetUseUserData (bool bNew) |
void | SetUseThumbnailSave (bool _bNew) |
void | SetLoadReadonly (bool _bReadonly) |
void | SetSaveVersionOnClose (bool bSet) |
void | ResetFromTemplate (const OUString &rTemplateName, std::u16string_view rFileName) |
sal_uInt32 | GetModifyPasswordHash () const |
bool | SetModifyPasswordHash (sal_uInt32 nHash) |
void | SetMacroCallsSeenWhileLoading () |
bool | GetMacroCallsSeenWhileLoading () const |
const css::uno::Sequence< css::beans::PropertyValue > & | GetModifyPasswordInfo () const |
bool | SetModifyPasswordInfo (const css::uno::Sequence< css::beans::PropertyValue > &aInfo) |
virtual bool | PrepareClose (bool bUI=true) |
virtual HiddenInformation | GetHiddenInformationState (HiddenInformation nStates) |
sal_Int16 | QueryHiddenInformation (HiddenWarningFact eFact, weld::Window *pParent) |
bool | IsSecurityOptOpenReadOnly () const |
void | SetSecurityOptOpenReadOnly (bool bOpenReadOnly) |
Size | GetFirstPageSize () const |
bool | DoClose () |
std::shared_ptr< GDIMetaFile > | GetPreviewMetaFile (bool bFullContent=false) const |
BitmapEx | GetPreviewBitmap () const |
virtual void | CancelTransfers () |
bool | GenerateAndStoreThumbnail (bool bEncrypted, const css::uno::Reference< css::embed::XStorage > &xStor) |
bool | WriteThumbnail (bool bEncrypted, const css::uno::Reference< css::io::XStream > &xStream) |
bool | IsInGenerateAndStoreThumbnail () const |
bool | IsAvoidRecentDocs () const |
bool | IsRememberingSignature () const |
void | AvoidRecentDocs (bool bAvoid) |
bool | IsContinueImportOnFilterExceptions (std::u16string_view aErrMessage) |
bool | IsAbortingImport () const |
void | FinishedLoading (SfxLoadedFlags nWhich=SfxLoadedFlags::ALL) |
void | TemplateDisconnectionAfterLoad () |
void | SetLoading (SfxLoadedFlags nFlags) |
bool | IsLoading () const |
bool | IsLoadingFinished () const |
void | SetAutoLoad (const INetURLObject &, sal_uInt32 nTime, bool bReload) |
bool | IsAutoLoadLocked () const |
bool | IsPreview () const |
SfxObjectCreateMode | GetCreateMode () const |
SfxProgress * | GetProgress () const |
void | SetWaitCursor (bool bSet) const |
void | SetTitle (const OUString &rTitle) |
OUString | GetTitle (sal_uInt16 nMaxLen=0) const |
void | InvalidateName () |
virtual ::sfx2::SvLinkSource * | DdeCreateLinkSource (const OUString &rItem) |
virtual void | ReconnectDdeLink (SfxObjectShell &rServer) |
virtual SfxStyleSheetBasePool * | GetStyleSheetPool () |
virtual void | LoadStyles (SfxObjectShell &rSource) |
virtual sfx2::StyleManager * | GetStyleManager () |
void | SetAutoStyleFilterIndex (sal_uInt16 nSet) |
sal_uInt16 | GetAutoStyleFilterIndex () const |
bool | HasBasic () const |
BasicManager * | GetBasicManager () const |
css::uno::Reference< css::script::XLibraryContainer > | GetBasicContainer () |
css::uno::Reference< css::script::XLibraryContainer > | GetDialogContainer () |
StarBASIC * | GetBasic () const |
std::optional< NamedColor > | GetRecentColor (sal_uInt16 nSlotId) |
void | SetRecentColor (sal_uInt16 nSlotId, const NamedColor &rColor) |
virtual std::set< Color > | GetDocColors () |
virtual std::shared_ptr< model::ColorSet > | GetThemeColors () |
virtual sfx::AccessibilityIssueCollection | runAccessibilityCheck () |
virtual SfxObjectShell * | GetObjectShell () override |
css::uno::Reference< css::frame::XModel3 > | GetModel () const |
void | SetBaseModel (SfxBaseModel *pModel) |
css::uno::Reference< css::frame::XModel3 > | GetBaseModel () const |
virtual css::uno::Sequence< OUString > | GetEventNames () |
css::uno::Reference< css::awt::XWindow > | GetDialogParent (SfxMedium const *pMedium=nullptr) |
bool | IsInPlaceActive () const |
bool | IsUIActive () const |
bool | isEditDocLocked () const |
bool | isContentExtractionLocked () const |
bool | isExportLocked () const |
bool | isPrintLocked () const |
bool | isSaveLocked () const |
void | EnableSetModified (bool bEnable=true) |
bool | IsEnableSetModified () const |
virtual void | SetModified (bool bModified=true) |
bool | IsModified () const |
void | SetupStorage (const css::uno::Reference< css::embed::XStorage > &xStorage, sal_Int32 nVersion, bool bTemplate) const |
css::uno::Reference< css::embed::XStorage > const & | GetStorage () |
SvGlobalName const & | GetClassName () const |
virtual css::uno::Reference< css::task::XInteractionHandler > | getInteractionHandler () const override |
virtual css::uno::Reference< css::embed::XStorage > | getStorage () const override |
virtual comphelper::EmbeddedObjectContainer & | getEmbeddedObjectContainer () const override |
bool | isEnableSetModified () const override |
virtual OUString | getDocumentBaseURL () const override |
comphelper::EmbeddedObjectContainer & | GetEmbeddedObjectContainer () const |
void | ClearEmbeddedObjects () |
virtual Printer * | GetDocumentPrinter () |
virtual OutputDevice * | GetDocumentRefDev () |
virtual void | OnDocumentPrinterChanged (Printer *pNewPrinter) |
virtual tools::Rectangle | GetVisArea (sal_uInt16 nAspect) const |
virtual void | SetVisArea (const tools::Rectangle &rVisArea) |
const tools::Rectangle & | GetVisArea () const |
void | SetVisAreaSize (const Size &rVisSize) |
MapUnit | GetMapUnit () const |
void | SetMapUnit (MapUnit nMUnit) |
void | FillTransferableObjectDescriptor (TransferableObjectDescriptor &rDesc) const |
void | DoDraw (OutputDevice *, const Point &rObjPos, const Size &rSize, const JobSetup &rSetup, sal_uInt16 nAspect=ASPECT_CONTENT, bool bOutputForScreen=false) |
virtual void | Draw (OutputDevice *, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen)=0 |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nVersion, bool bTemplate=false) const=0 |
virtual bool | IsChangeRecording () const |
virtual bool | HasChangeRecordProtection () const |
virtual void | SetChangeRecording (bool bActivate, bool bLockAllViews=false) |
virtual void | SetProtectionPassword (const OUString &rPassword) |
virtual bool | GetProtectionHash (css::uno::Sequence< sal_Int8 > &rPasswordHash) |
void | AppendInfoBarWhenReady (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true) |
std::vector< InfobarData > & | getPendingInfobars () |
SAL_DLLPRIVATE bool | CreatePreview_Impl (bool bFullContent, VirtualDevice *pDevice, GDIMetaFile *pFile) const |
SAL_DLLPRIVATE bool | ConnectTmpStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, SfxMedium *pMedium) |
SAL_DLLPRIVATE bool | DisconnectStorage_Impl (SfxMedium &rSrcMedium, SfxMedium &rTargetMedium) |
SAL_DLLPRIVATE bool | PutURLContentsToVersionStream_Impl (const OUString &aURL, const css::uno::Reference< css::embed::XStorage > &xDocStorage, const OUString &aStreamName) |
SAL_DLLPRIVATE OUString | CreateTempCopyOfStorage_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage) |
SAL_DLLPRIVATE void | InitOwnModel_Impl () |
SAL_DLLPRIVATE void | BreakMacroSign_Impl (bool bBreakMacroSing) |
SAL_DLLPRIVATE void | CheckSecurityOnLoading_Impl () |
SAL_DLLPRIVATE void | CheckForBrokenDocSignatures_Impl () |
SAL_DLLPRIVATE void | CheckEncryption_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | SetModifyPasswordEntered (bool bEntered=true) |
SAL_DLLPRIVATE bool | IsModifyPasswordEntered () const |
SAL_DLLPRIVATE void | InitBasicManager_Impl () |
SAL_DLLPRIVATE SfxObjectShell_Impl * | Get_Impl () |
SAL_DLLPRIVATE const SfxObjectShell_Impl * | Get_Impl () const |
SAL_DLLPRIVATE void | SetCreateMode_Impl (SfxObjectCreateMode nMode) |
SAL_DLLPRIVATE void | DoDraw_Impl (OutputDevice *pDev, const Point &rViewPos, const Fraction &rScaleX, const Fraction &rScaleY, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) |
SAL_DLLPRIVATE void | ExecFile_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | PrintExec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | PrintState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecProps_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | StateProps_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | ExecView_Impl (SfxRequest &) |
SAL_DLLPRIVATE bool | ImportFromGeneratedStream_Impl (const css::uno::Reference< css::io::XStream > &xStream, const css::uno::Sequence< css::beans::PropertyValue > &aMediaDescr) |
SAL_DLLPRIVATE void | UpdateFromTemplate_Impl () |
SAL_DLLPRIVATE bool | CanReload_Impl () |
SAL_DLLPRIVATE void | SetNamedVisibility_Impl () |
SAL_DLLPRIVATE bool | DoSave_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | Save_Impl (const SfxItemSet *pSet) |
SAL_DLLPRIVATE bool | PreDoSaveAs_Impl (const OUString &rFileName, const OUString &rFiltName, SfxItemSet const &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | APISaveAs_Impl (std::u16string_view aFileName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | CommonSaveAs_Impl (const INetURLObject &aURL, const OUString &aFilterName, SfxItemSet &rItemSet, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) |
SAL_DLLPRIVATE bool | GeneralInit_Impl (const css::uno::Reference< css::embed::XStorage > &xStorage, bool bTypeMustBeSetAlready) |
SAL_DLLPRIVATE void | PrepareSecondTryLoad_Impl () |
SAL_DLLPRIVATE void | SetInitialized_Impl (const bool i_fromInitNew) |
SAL_DLLPRIVATE IndexBitSet & | GetNoSet_Impl () |
SAL_DLLPRIVATE void | SetProgress_Impl (SfxProgress *pProgress) |
SAL_DLLPRIVATE void | PostActivateEvent_Impl (SfxViewFrame const *) |
SAL_DLLPRIVATE void | SetActivateEvent_Impl (SfxEventHintId) |
SAL_DLLPRIVATE SignatureState | ImplGetSignatureState (bool bScriptingContent=false) |
SAL_DLLPRIVATE bool | QuerySaveSizeExceededModules_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler) |
SAL_DLLPRIVATE void | CheckOut () |
SAL_DLLPRIVATE void | CancelCheckOut () |
SAL_DLLPRIVATE void | CheckIn () |
SAL_DLLPRIVATE css::uno::Sequence< css::document::CmisVersion > | GetCmisVersions () const |
virtual const sfx2::IXmlIdRegistry * | GetXmlIdRegistry () const |
bool | IsSignPDF () const |
css::uno::Reference< css::security::XCertificate > | GetSignPDFCertificate () const |
css::uno::Sequence< css::beans::PropertyValue > | GetDocumentProtectionFromGrabBag () const |
virtual std::unique_ptr< LockAllViewsGuard > | LockAllViews () |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Static Public Member Functions | |
static void | LoadSymbols () |
static void | SaveSymbols () |
static SfxItemPool & | GetPool () |
Static Public Member Functions inherited from SfxObjectShell | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
static OUString | CreateShellID (const SfxObjectShell *pShell) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetFirst (const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | GetNext (const SfxObjectShell &rPrev, const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxObjectShell * | Current () |
static css::uno::Reference< css::uno::XInterface > | GetCurrentComponent () |
static void | SetCurrentComponent (const css::uno::Reference< css::uno::XInterface > &_rxComponent) |
static ErrCode | CallXScript (const css::uno::Reference< css::uno::XInterface > &_rxScriptContext, const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr) |
static bool | UnTrustedScript (const OUString &rScriptURL) |
static bool | isScriptAccessAllowed (const css::uno::Reference< css::uno::XInterface > &rScriptContext) |
static ErrCode | HandleFilter (SfxMedium *pMedium, SfxObjectShell const *pDoc) |
static void | ReconnectDdeLinks (SfxObjectShell &rServer) |
static SfxObjectShell * | CreateObject (const OUString &rServiceName, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static SfxObjectShell * | CreateObjectByFactoryName (const OUString &rURL, SfxObjectCreateMode=SfxObjectCreateMode::STANDARD) |
static css::uno::Reference< css::lang::XComponent > | CreateAndLoadComponent (const SfxItemSet &rSet) |
static SfxObjectShell * | GetShellFromComponent (const css::uno::Reference< css::uno::XInterface > &xComp) |
static SfxObjectShell * | GetParentShell (const css::uno::Reference< css::uno::XInterface > &xChild) |
static OUString | GetServiceNameFromFactory (const OUString &rFact) |
static bool | CopyStoragesOfUnknownMediaType (const css::uno::Reference< css::embed::XStorage > &xSource, const css::uno::Reference< css::embed::XStorage > &xTarget, const css::uno::Sequence< OUString > &rExceptions=css::uno::Sequence< OUString >()) |
static bool | IsOwnStorageFormat (const SfxMedium &) |
static SAL_DLLPRIVATE bool | IsPackageStorageFormat_Impl (const SfxMedium &) |
static SAL_DLLPRIVATE bool | UseInteractionToHandleError (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, ErrCode nError) |
static SAL_DLLPRIVATE void | StateView_Impl (SfxItemSet &) |
static SAL_DLLPRIVATE bool | QueryAllowExoticFormat_Impl (const css::uno::Reference< css::task::XInteractionHandler > &xHandler, const OUString &rURL, const OUString &rFilterUIName) |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Private Member Functions | |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
bool | WriteAsMathType3 (SfxMedium &) |
virtual void | Draw (OutputDevice *pDevice, const JobSetup &rSetup, sal_uInt16 nAspect, bool bOutputForScreen) override |
virtual void | FillClass (SvGlobalName *pClassName, SotClipboardFormatId *pFormat, OUString *pFullTypeName, sal_Int32 nFileFormat, bool bTemplate=false) const override |
virtual void | OnDocumentPrinterChanged (Printer *) override |
virtual bool | InitNew (const css::uno::Reference< css::embed::XStorage > &xStorage) override |
virtual bool | Load (SfxMedium &rMedium) override |
virtual bool | Save () override |
virtual bool | SaveAs (SfxMedium &rMedium) override |
Printer * | GetPrt () |
OutputDevice * | GetRefDev () |
void | SetFormulaArranged (bool bVal) |
virtual bool | ConvertFrom (SfxMedium &rMedium) override |
void | InvalidateCursor () |
Called whenever the formula is changed Deletes the current cursor. More... | |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
OUString | maText |
SmFormat | maFormat |
OUString | maAccText |
SvtLinguOptions | maLinguOptions |
std::unique_ptr< SmTableNode > | mpTree |
SmMlElement * | m_pMlElementTree |
rtl::Reference< SfxItemPool > | mpEditEngineItemPool |
std::unique_ptr< SmEditEngine > | mpEditEngine |
VclPtr< SfxPrinter > | mpPrinter |
VclPtr< Printer > | mpTmpPrinter |
sal_uInt16 | mnModifyCount |
bool | mbFormulaArranged |
sal_uInt16 | mnSmSyntaxVersion |
std::unique_ptr< AbstractSmParser > | maParser |
std::unique_ptr< SmCursor > | mpCursor |
std::set< OUString > | maUsedSymbols |
Friends | |
class | SmPrinterAccess |
class | SmCursor |
Additional Inherited Members | |
Protected Member Functions inherited from SfxObjectShell | |
SfxObjectShell (SfxObjectCreateMode) | |
SfxObjectShell (SfxModelFlags) | |
virtual | ~SfxObjectShell () override |
void | ModifyChanged () |
virtual bool | Close () override |
virtual void | DoFlushDocInfo () |
void | AddToRecentlyUsedList () |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 77 of file document.hxx.
|
explicit |
Definition at line 542 of file document.cxx.
References SmModule::GetConfig(), SvtLinguConfig::GetOptions(), GetPool(), SmMathConfig::GetStandardFormat(), maFormat, maLinguOptions, mnSmSyntaxVersion, SfxObjectShell::SetBaseModel(), SfxObjectShell::SetMapUnit(), SfxShell::SetPool(), SetSmSyntaxVersion(), SfxGetpApp(), SM_MOD, SmMapUnit(), and SfxListener::StartListening().
|
overridevirtual |
Definition at line 567 of file document.cxx.
References VclPtr< class reference_type >::disposeAndClear(), SfxListener::EndListening(), SmModule::GetConfig(), m_pMlElementTree, maFormat, mpCursor, mpEditEngine, mpEditEngineItemPool, mpPrinter, SM_MOD, and mathml::SmMlIteratorFree().
void SmDocShell::ArrangeFormula | ( | ) |
Definition at line 235 of file document.cxx.
References vcl::text::Default, OutputDevice::GetDigitLanguage(), GetFormat(), OutputDevice::GetLayoutMode(), OutputDevice::GetMapMode(), MapMode::GetMapUnit(), SmPrinterAccess::GetRefDev(), LANGUAGE_ENGLISH, maAccText, mbFormulaArranged, mpTree, SAL_WARN_IF, OutputDevice::SetDigitLanguage(), SetFormulaArranged(), OutputDevice::SetLayoutMode(), OutputDevice::SetMapMode(), SM_MOD, SmGetActiveView(), and SmMapUnit().
Referenced by SmModel::_getPropertyValues(), ConvertTo(), DrawFormula(), GetAccessibleText(), GetSize(), IMPL_LINK(), Save(), SaveAs(), writeFormulaOoxml(), and writeFormulaRtf().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 582 of file document.cxx.
References aBuffer, ERRCODE_NONE, SfxObjectShell::FinishedLoading(), tools::SvRef< typename T >::get(), get(), SfxObjectShell::GetCreateMode(), SfxMedium::GetFilter(), SfxMedium::GetInStream(), SfxObjectShell::GetModel(), SmXMLImportWrapper::Import(), InvalidateCursor(), SotStorage::IsStorageFile(), maText, MATHML_XML, mpTree, Parse(), MathType::Parse(), Repaint(), SetFormulaArranged(), STAROFFICE_XML, SmXMLImportWrapper::useHTMLMLEntities(), and xModel.
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 756 of file document.cxx.
References ArrangeFormula(), SmXMLExportWrapper::Export(), SfxMedium::GetFilter(), SfxObjectShell::GetModel(), MATHML_XML, mpTree, Parse(), SmXMLExportWrapper::SetFlat(), SmXMLExportWrapper::SetUseHTMLMLEntities(), STAROFFICE_XML, WriteAsMathType3(), and xModel.
|
overrideprivatevirtual |
Implements SfxObjectShell.
Definition at line 1138 of file document.cxx.
References DrawFormula(), SfxObjectShell::GetVisArea(), and OutputDevice::IntersectClipRegion().
void SmDocShell::DrawFormula | ( | OutputDevice & | rDev, |
Point & | rPosition, | ||
bool | bDrawSelection = false |
||
) |
in case of high contrast-mode (accessibility option!) the draw mode needs to be set to default, because when embedding Math for example in Calc in "a over b" the fraction bar may not be visible else. More generally: the FillColor may have been changed.
Definition at line 310 of file document.cxx.
References Point::AdjustX(), Point::AdjustY(), ArrangeFormula(), vcl::text::Default, DIS_LEFTSPACE, DIS_TOPSPACE, OutputDevice::GetDigitLanguage(), SmFormat::GetDistance(), OutputDevice::GetDrawMode(), StyleSettings::GetHighContrastMode(), OutputDevice::GetLayoutMode(), OutputDevice::GetOutDevType(), OutputDevice::GetOwnerWindow(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), LANGUAGE_ENGLISH, maFormat, mpCursor, mpTree, OUTDEV_WINDOW, Parse(), OutputDevice::SetDigitLanguage(), OutputDevice::SetDrawMode(), and OutputDevice::SetLayoutMode().
Referenced by Draw(), SmViewShell::Impl_Print(), and SmGraphicWidget::Paint().
void SmDocShell::Execute | ( | SfxRequest & | rReq | ) |
Definition at line 822 of file document.cxx.
References SfxUndoManager::AddUndoAction(), DBG_UNHANDLED_EXCEPTION, SfxRequest::Done(), Exception, SfxItemSet::Get(), SfxRequest::GetArgs(), SfxViewFrame::GetBindings(), SmModule::GetConfig(), SfxViewFrame::GetFirst(), OutputDevice::GetFontFaceCollectionCount(), GetFormat(), SfxRequest::GetFrameWeld(), SfxItemSet::GetItemState(), SfxViewFrame::GetNext(), GetPrinter(), SfxUndoManager::GetRedoActionCount(), SfxRequest::GetSlot(), SmMathConfig::GetStandardFormat(), GetText(), SfxUndoManager::GetUndoActionCount(), GetUndoManager(), CntUnencodedStringItem::GetValue(), GetValue, SfxBindings::Invalidate(), SmMathConfig::IsAutoRedraw(), SmFormat::IsTextmode(), LoadSymbols(), nCount, nId, SmFontSizeDialog::ReadFrom(), SmFontTypeDialog::ReadFrom(), SmDistanceDialog::ReadFrom(), SmAlignDialog::ReadFrom(), SfxUndoManager::Redo(), Repaint(), RET_OK, weld::DialogController::run(), SaveSymbols(), SmMathConfig::SetAutoRedraw(), SetFormat(), SmMathConfig::SetStandardFormat(), SetText(), SmFormat::SetTextmode(), SM_MOD, SfxUndoManager::Undo(), UpdateText(), SmDistanceDialog::WriteTo(), SmFontSizeDialog::WriteTo(), SmFontTypeDialog::WriteTo(), and SmAlignDialog::WriteTo().
Referenced by SmGraphicWidget::KeyInput().
|
overrideprivatevirtual |
Implements SfxObjectShell.
Definition at line 1190 of file document.cxx.
References SmResId(), SO3_SM_CLASSID_60, SOFFICE_FILEFORMAT_60, and SOFFICE_FILEFORMAT_8.
OUString const & SmDocShell::GetAccessibleText | ( | ) |
Definition at line 207 of file document.cxx.
References aBuf, ArrangeFormula(), maAccText, and mpTree.
Referenced by SmGraphicAccessible::GetAccessibleText_Impl().
OUString SmDocShell::GetComment | ( | ) | const |
Definition at line 128 of file document.cxx.
References SfxObjectShell::GetModel().
SmCursor & SmDocShell::GetCursor | ( | ) |
Get a cursor for modifying this document.
Definition at line 395 of file document.cxx.
References mpCursor, mpTree, and SmCursor.
Referenced by SmViewShell::Execute(), SmGraphicWidget::GetCursor(), SmViewShell::getLOKPayload(), and SmGraphicWidget::Paint().
EditEngine & SmDocShell::GetEditEngine | ( | ) |
see also SmEditWindow::DataChanged !
Definition at line 287 of file document.cxx.
References EditEngine::CreatePool(), GetText(), maLinguOptions, mpEditEngine, mpEditEngineItemPool, and SmEditEngine::setSmItemPool().
Referenced by SmViewShell::Activate(), SmCursor::EndEdit(), SmEditTextWindow::GetEditEngine(), and GetUndoManager().
|
inline |
Definition at line 172 of file document.hxx.
Referenced by SmModel::_getPropertyValues(), SmModel::_setPropertyValues(), ArrangeFormula(), Execute(), SmXMLExport::ExportContent_(), SmCursor::FinishEdit(), GetState(), SmCursor::InsertBrackets(), SmCursor::InsertCommandText(), SmCursor::InsertElement(), SmCursor::InsertSpecial(), SmCursor::InsertSubSup(), and SmCursor::InsertText().
|
inline |
Definition at line 176 of file document.hxx.
References SmCursor::mpTree.
Referenced by SmModel::_getPropertyValues(), SmXMLExport::exportDoc(), SmGraphicAccessible::getCharacterBounds(), SmGraphicAccessible::getIndexAtPoint(), SmGraphicWidget::MouseButtonDown(), SmGraphicWidget::SetCursor(), and SmGraphicWidget::SetCursorPos().
|
inline |
Definition at line 220 of file document.hxx.
Referenced by SmMLExport::exportDoc().
|
inline |
Definition at line 175 of file document.hxx.
Referenced by SmXMLImport::endDocument(), SmXMLExport::ExportContent_(), SmCursor::InsertCommandText(), SmViewShell::NextError(), and SmViewShell::PrevError().
|
static |
Definition at line 1148 of file document.cxx.
References SfxShell::GetPool(), and SfxGetpApp().
Referenced by SmModel::_setPropertyValues(), SmViewShell::Execute(), GetPrt(), and SmDocShell().
|
inline |
Definition at line 160 of file document.hxx.
Referenced by SmModel::_getPropertyValues(), SmModel::_setPropertyValues(), Execute(), SmViewShell::Execute(), SmViewShell::GetPrinter(), and SmViewShell::SetPrinter().
|
private |
Definition at line 467 of file document.cxx.
References VclPtr< class reference_type >::Create(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetDocumentPrinter(), GetPool(), mpPrinter, mpTmpPrinter, SM_MOD, and SmMapUnit().
Referenced by GetRefDev(), and SmPrinterAccess::SmPrinterAccess().
|
private |
Definition at line 493 of file document.cxx.
References SfxObjectShell::GetCreateMode(), SfxObjectShell::GetDocumentRefDev(), and GetPrt().
Referenced by SmPrinterAccess::SmPrinterAccess().
Size SmDocShell::GetSize | ( | ) |
Definition at line 364 of file document.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), ArrangeFormula(), DIS_BOTTOMSPACE, DIS_LEFTSPACE, DIS_RIGHTSPACE, DIS_TOPSPACE, SmFormat::GetDistance(), Size::Height(), maFormat, mpTree, Parse(), Size::setHeight(), Size::setWidth(), and Size::Width().
Referenced by SmModel::_setPropertyValues(), OnDocumentPrinterChanged(), and Repaint().
|
inline |
Definition at line 178 of file document.hxx.
Referenced by SmModel::_getPropertyValues(), SmMLExportWrapper::Export(), SmXMLExport::ExportContent_(), and SmMLImportWrapper::Import().
void SmDocShell::GetState | ( | SfxItemSet & | rSet | ) |
very old (pre UNO) and ugly hack to invalidate the SmGraphicWidget. If mnModifyCount gets changed then the call below will implicitly notify SmGraphicController::StateChanged and there the window gets invalidated. Thus all the 'mnModifyCount++' before invalidating this slot.
Definition at line 1024 of file document.cxx.
References aBuf, SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), SmModule::GetConfig(), SfxViewFrame::GetFirst(), GetFormat(), SfxUndoManager::GetRedoActionComment(), SfxUndoManager::GetRedoActionCount(), SfxShell::GetSlotState(), GetText(), SfxUndoManager::GetUndoActionComment(), SfxUndoManager::GetUndoActionCount(), GetUndoManager(), SmMathConfig::IsAutoRedraw(), SfxObjectShell::IsModified(), mnModifyCount, n, nCount, SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, SfxStringListItem::SetString(), SM_MOD, and SfxUndoManager::TopLevel.
|
inline |
Definition at line 170 of file document.hxx.
References maText.
Referenced by SmModel::_getPropertyValues(), Execute(), SmXMLExport::exportDoc(), SmGraphicAccessible::getAccessibleDescription(), GetEditEngine(), GetState(), SmViewShell::Insert(), SmViewShell::InsertFrom(), and UpdateText().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 1123 of file document.cxx.
References GetEditEngine(), and mpEditEngine.
Referenced by Execute(), and GetState().
|
inline |
Definition at line 181 of file document.hxx.
Referenced by SmModel::_getPropertyValues().
bool SmDocShell::HasCursor | ( | ) | const |
True, if cursor have previously been requested and thus has some sort of position.
Definition at line 401 of file document.cxx.
References mpCursor.
Referenced by SmGraphicWidget::Paint().
|
inline |
Definition at line 159 of file document.hxx.
Referenced by SmViewShell::GetPrinter().
|
staticprivate |
SfxInterface initializer.
Definition at line 96 of file document.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 636 of file document.cxx.
References SfxObjectShell::InitNew(), and SetVisArea().
|
private |
Called whenever the formula is changed Deletes the current cursor.
Definition at line 391 of file document.cxx.
References mpCursor.
Referenced by ConvertFrom(), and Parse().
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 648 of file document.cxx.
References ERRCODE_NONE, SfxObjectShell::FinishedLoading(), get(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxMedium::GetStorage(), SmXMLImportWrapper::Import(), SfxObjectShell::Load(), Repaint(), SfxObjectShell::SetError(), SetFormulaArranged(), and xModel.
|
static |
Definition at line 121 of file document.cxx.
References SmModule::GetSymbolManager(), SmSymbolManager::Load(), and SM_MOD.
Referenced by Execute().
|
overrideprivatevirtual |
see comment for SID_GRAPHIC_SM in SmDocShell::GetState
Reimplemented from SfxListener.
Definition at line 109 of file document.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxObjectShell.
Definition at line 514 of file document.cxx.
References GetSize(), tools::Rectangle::GetSize(), SfxObjectShell::GetVisArea(), maText, mpTmpPrinter, Repaint(), SetFormulaArranged(), and SetModified().
Referenced by SmCursor::EndEdit(), and SetText().
void SmDocShell::Parse | ( | ) |
see comment for SID_GRAPHIC_SM in SmDocShell::GetState
Definition at line 223 of file document.cxx.
References InvalidateCursor(), maParser, maText, maUsedSymbols, mnModifyCount, mpTree, ReplaceBadChars(), and SetFormulaArranged().
Referenced by SmModel::_getPropertyValues(), ConvertFrom(), ConvertTo(), DrawFormula(), GetSize(), SmViewShell::Insert(), SmViewShell::InsertFrom(), Save(), SaveAs(), SetText(), writeFormulaOoxml(), and writeFormulaRtf().
void SmDocShell::readFormulaOoxml | ( | oox::formulaimport::XmlStream & | stream | ) |
Definition at line 816 of file document.cxx.
References SmOoxmlImport::ConvertToStarMath(), SetText(), and stream.
void SmDocShell::Repaint | ( | ) |
Definition at line 525 of file document.cxx.
References bIsEnabled, SfxObjectShell::EnableSetModified(), GetSize(), SfxObjectShell::IsEnableSetModified(), SetFormulaArranged(), SfxObjectShell::SetVisAreaSize(), and SmGetActiveView().
Referenced by ConvertFrom(), Execute(), SmViewShell::Execute(), IMPL_LINK(), Load(), OnDocumentPrinterChanged(), SmCursor::RequestRepaint(), SetPrinter(), and SetText().
void SmDocShell::ReplaceBadChars | ( | ) |
Definition at line 700 of file document.cxx.
References aBuf, i, maText, and mpEditEngine.
Referenced by Parse().
|
overrideprivatevirtual |
apply latest changes if necessary
Reimplemented from SfxObjectShell.
Definition at line 676 of file document.cxx.
References ArrangeFormula(), SmXMLExportWrapper::Export(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), mpTree, Parse(), SfxObjectShell::Save(), SmXMLExportWrapper::SetFlat(), UpdateText(), and xModel.
|
overrideprivatevirtual |
apply latest changes if necessary
Reimplemented from SfxObjectShell.
Definition at line 734 of file document.cxx.
References ArrangeFormula(), SmXMLExportWrapper::Export(), SfxObjectShell::GetModel(), mpTree, Parse(), SfxObjectShell::SaveAs(), SmXMLExportWrapper::SetFlat(), UpdateText(), and xModel.
|
static |
Definition at line 1131 of file document.cxx.
References SmModule::GetSymbolManager(), SmSymbolManager::Save(), and SM_MOD.
Referenced by Execute().
void SmDocShell::SetFormat | ( | SmFormat const & | rFormat | ) |
see comment for SID_GRAPHIC_SM in SmDocShell::GetState
Definition at line 189 of file document.cxx.
References SfxViewFrame::GetBindings(), SfxViewFrame::GetFirst(), SfxViewFrame::GetNext(), SfxBindings::Invalidate(), maFormat, mnModifyCount, SetFormulaArranged(), and SetModified().
Referenced by SmModel::_setPropertyValues(), Execute(), SmFormatAction::Redo(), and SmFormatAction::Undo().
|
inlineprivate |
Definition at line 124 of file document.hxx.
Referenced by ArrangeFormula(), ConvertFrom(), SmCursor::EndEdit(), Load(), OnDocumentPrinterChanged(), Parse(), Repaint(), SetFormat(), SetPrinter(), and SetText().
|
inline |
Definition at line 177 of file document.hxx.
References SmCursor::mpTree.
Referenced by SmXMLImport::endDocument().
|
inline |
Definition at line 149 of file document.hxx.
References SmFormat::SetGreekCharStyle().
|
inline |
Definition at line 221 of file document.hxx.
References mathml::SmMlIteratorFree().
Referenced by SmMLImport::endDocument().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1210 of file document.cxx.
References SfxObjectShell::IsEnableSetModified(), and SfxObjectShell::SetModified().
Referenced by SmCursor::EndEdit(), SmViewShell::Insert(), SmViewShell::InsertFrom(), OnDocumentPrinterChanged(), SetFormat(), SetText(), and SmEditTextWindow::UserPossiblyChangedText().
void SmDocShell::SetPrinter | ( | SfxPrinter * | pNew | ) |
Definition at line 505 of file document.cxx.
References VclPtr< class reference_type >::disposeAndClear(), mpPrinter, Repaint(), SetFormulaArranged(), and SmMapUnit().
Referenced by SmModel::_setPropertyValues(), and SmViewShell::SetPrinter().
void SmDocShell::SetSmSyntaxVersion | ( | sal_uInt16 | nSmSyntaxVersion | ) |
Definition at line 101 of file document.cxx.
References starmathdatabase::GetVersionSmParser(), maParser, and mnSmSyntaxVersion.
Referenced by SmModel::_setPropertyValues(), SmXMLImport::endDocument(), and SmDocShell().
void SmDocShell::SetText | ( | const OUString & | rBuffer | ) |
Definition at line 138 of file document.cxx.
References Any, bIsEnabled, SfxObjectShell::EnableSetModified(), SmGraphicWidget::GetAccessible_Impl(), SfxViewFrame::GetBindings(), SfxObjectShell::GetCreateMode(), GlobalEventConfig::GetEventName(), SmViewShell::GetGraphicWidget(), SfxViewShell::GetViewFrame(), comphelper::OCommonAccessibleText::implInitTextChangedEvent(), weld::CustomWidgetController::Invalidate(), SfxBindings::Invalidate(), SfxObjectShell::IsEnableSetModified(), SmGraphicAccessible::LaunchEvent(), maText, SfxApplication::NotifyEvent(), OnDocumentPrinterChanged(), Parse(), Repaint(), SetFormulaArranged(), SetModified(), SfxGetpApp(), and SmGetActiveView().
Referenced by SmModel::_setPropertyValues(), SmViewShell::Activate(), SmXMLImport::endDocument(), Execute(), SmViewShell::Execute(), readFormulaOoxml(), and UpdateText().
|
overridevirtual |
Reimplemented from SfxObjectShell.
Definition at line 1153 of file document.cxx.
References bIsEnabled, SfxObjectShell::EnableSetModified(), SfxObjectShell::GetCreateMode(), SfxShell::GetFrame(), SfxObjectShell::IsEnableSetModified(), tools::Rectangle::IsHeightEmpty(), SfxObjectShell::IsInPlaceActive(), tools::Rectangle::IsWidthEmpty(), SfxViewFrame::LockAdjustPosSizePixel(), tools::Rectangle::SetBottom(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), SfxObjectShell::SetVisArea(), and SfxViewFrame::UnlockAdjustPosSizePixel().
Referenced by SmModel::_setPropertyValues(), InitNew(), SmMLImport::SetViewSettings(), and SmXMLImport::SetViewSettings().
SmDocShell::SFX_DECL_OBJECTFACTORY | ( | ) |
void SmDocShell::UpdateEditEngineDefaultFonts | ( | ) |
Definition at line 282 of file document.cxx.
References maLinguOptions, mpEditEngineItemPool, and SmEditEngine::setSmItemPool().
Referenced by SmEditTextWindow::StyleUpdated().
void SmDocShell::UpdateText | ( | ) |
Definition at line 723 of file document.cxx.
References GetText(), mpEditEngine, and SetText().
Referenced by Execute(), SmViewShell::Execute(), IMPL_LINK(), Save(), and SaveAs().
|
private |
Definition at line 1219 of file document.cxx.
References MathType::ConvertFromStarMath(), maText, and mpTree.
Referenced by ConvertTo().
void SmDocShell::writeFormulaOoxml | ( | const ::sax_fastparser::FSHelperPtr & | pSerializer, |
oox::core::OoxmlVersion | version, | ||
oox::drawingml::DocumentType | documentType, | ||
const sal_Int8 | nAlign | ||
) |
Definition at line 789 of file document.cxx.
References ArrangeFormula(), SmOoxmlExport::ConvertFromStarMath(), oox::drawingml::DOCUMENT_DOCX, mpTree, and Parse().
void SmDocShell::writeFormulaRtf | ( | OStringBuffer & | rBuffer, |
rtl_TextEncoding | nEncoding | ||
) |
Definition at line 806 of file document.cxx.
References ArrangeFormula(), SmRtfExport::ConvertFromStarMath(), mpTree, and Parse().
|
friend |
Definition at line 80 of file document.hxx.
Referenced by GetCursor().
|
friend |
Definition at line 79 of file document.hxx.
|
private |
Definition at line 87 of file document.hxx.
Referenced by ~SmDocShell().
|
private |
Definition at line 84 of file document.hxx.
Referenced by ArrangeFormula(), and GetAccessibleText().
|
private |
Definition at line 83 of file document.hxx.
Referenced by DrawFormula(), GetSize(), SetFormat(), SmDocShell(), and ~SmDocShell().
|
private |
Definition at line 85 of file document.hxx.
Referenced by GetEditEngine(), SmDocShell(), and UpdateEditEngineDefaultFonts().
|
private |
Definition at line 95 of file document.hxx.
Referenced by Parse(), and SetSmSyntaxVersion().
|
private |
Definition at line 82 of file document.hxx.
Referenced by ConvertFrom(), SmCursor::EndEdit(), OnDocumentPrinterChanged(), Parse(), ReplaceBadChars(), SetText(), and WriteAsMathType3().
|
private |
Definition at line 97 of file document.hxx.
Referenced by Parse().
|
private |
Definition at line 93 of file document.hxx.
Referenced by ArrangeFormula().
|
private |
Definition at line 92 of file document.hxx.
Referenced by SmCursor::EndEdit(), GetState(), Parse(), and SetFormat().
|
private |
Definition at line 94 of file document.hxx.
Referenced by SetSmSyntaxVersion(), and SmDocShell().
|
private |
Definition at line 96 of file document.hxx.
Referenced by DrawFormula(), GetCursor(), HasCursor(), InvalidateCursor(), and ~SmDocShell().
|
private |
Definition at line 89 of file document.hxx.
Referenced by GetEditEngine(), GetUndoManager(), ReplaceBadChars(), UpdateText(), and ~SmDocShell().
|
private |
Definition at line 88 of file document.hxx.
Referenced by GetEditEngine(), UpdateEditEngineDefaultFonts(), and ~SmDocShell().
|
private |
Definition at line 90 of file document.hxx.
Referenced by GetPrt(), SetPrinter(), and ~SmDocShell().
Definition at line 91 of file document.hxx.
Referenced by GetPrt(), and OnDocumentPrinterChanged().
|
private |
Definition at line 86 of file document.hxx.
Referenced by ArrangeFormula(), ConvertFrom(), ConvertTo(), DrawFormula(), GetAccessibleText(), GetCursor(), GetSize(), Parse(), Save(), SaveAs(), WriteAsMathType3(), writeFormulaOoxml(), and writeFormulaRtf().