LibreOffice Module sw (master) 1
|
This is a representation of the WordBasic statements and functions that were available in Word version 6.0 and Word for Windows 95. More...
#include <vbawordbasic.hxx>
Public Member Functions | |
SwWordBasic (SwVbaApplication *pApp) | |
virtual sal_Int32 SAL_CALL | getMailMergeMainDocumentType () override |
virtual void SAL_CALL | setMailMergeMainDocumentType (sal_Int32 _mailmergemaindocumenttype) override |
virtual void SAL_CALL | FileOpen (const OUString &Name, const css::uno::Any &ConfirmConversions, const css::uno::Any &ReadOnly, const css::uno::Any &AddToMru, const css::uno::Any &PasswordDoc, const css::uno::Any &PasswordDot, const css::uno::Any &Revert, const css::uno::Any &WritePasswordDoc, const css::uno::Any &WritePasswordDot) override |
virtual void SAL_CALL | FileSave () override |
virtual void SAL_CALL | FileSaveAs (const css::uno::Any &Name, const css::uno::Any &Format, const css::uno::Any &LockAnnot, const css::uno::Any &Password, const css::uno::Any &AddToMru, const css::uno::Any &WritePassword, const css::uno::Any &RecommendReadOnly, const css::uno::Any &EmbedFonts, const css::uno::Any &NativePictureFormat, const css::uno::Any &FormsData, const css::uno::Any &SaveAsAOCELetter) override |
virtual void SAL_CALL | FileClose (const css::uno::Any &Save) override |
virtual void SAL_CALL | ToolsOptionsView (const css::uno::Any &DraftFont, const css::uno::Any &WrapToWindow, const css::uno::Any &PicturePlaceHolders, const css::uno::Any &FieldCodes, const css::uno::Any &BookMarks, const css::uno::Any &FieldShading, const css::uno::Any &StatusBar, const css::uno::Any &HScroll, const css::uno::Any &VScroll, const css::uno::Any &StyleAreaWidth, const css::uno::Any &Tabs, const css::uno::Any &Spaces, const css::uno::Any &Paras, const css::uno::Any &Hyphens, const css::uno::Any &Hidden, const css::uno::Any &ShowAll, const css::uno::Any &Drawings, const css::uno::Any &Anchors, const css::uno::Any &TextBoundaries, const css::uno::Any &VRuler, const css::uno::Any &Highlight) override |
virtual css::uno::Any SAL_CALL | WindowName (const css::uno::Any &Number) override |
virtual css::uno::Any SAL_CALL | ExistingBookmark (const OUString &Name) override |
virtual void SAL_CALL | MailMergeOpenDataSource (const OUString &Name, const css::uno::Any &Format, const css::uno::Any &ConfirmConversions, const css::uno::Any &ReadOnly, const css::uno::Any &LinkToSource, const css::uno::Any &AddToRecentFiles, const css::uno::Any &PasswordDocument, const css::uno::Any &PasswordTemplate, const css::uno::Any &Revert, const css::uno::Any &WritePasswordDocument, const css::uno::Any &WritePasswordTemplate, const css::uno::Any &Connection, const css::uno::Any &SQLStatement, const css::uno::Any &SQLStatement1, const css::uno::Any &OpenExclusive, const css::uno::Any &SubType) override |
virtual css::uno::Any SAL_CALL | AppMaximize (const css::uno::Any &WindowName, const css::uno::Any &State) override |
virtual css::uno::Any SAL_CALL | DocMaximize (const css::uno::Any &State) override |
virtual void SAL_CALL | AppShow (const css::uno::Any &WindowName) override |
virtual css::uno::Any SAL_CALL | AppCount () override |
virtual void SAL_CALL | MsgBox (const OUString &sPrompt) override |
virtual void SAL_CALL | ScreenUpdating (const css::uno::Any &On) override |
Private Attributes | |
SwVbaApplication * | mpApp |
This is a representation of the WordBasic statements and functions that were available in Word version 6.0 and Word for Windows 95.
It can be specified as "Application.WordBasic." or "WordBasic.".
Starting with Word 2000, old macros were automatically converted into Visual Basic modules, and the WordBasic prefix was added where no VBA methods precisely corresponded.
In other words, it is a compatibility shim.
Definition at line 36 of file vbawordbasic.hxx.
SwWordBasic::SwWordBasic | ( | SwVbaApplication * | pApp | ) |
Definition at line 41 of file vbawordbasic.cxx.
|
overridevirtual |
Definition at line 239 of file vbawordbasic.cxx.
References SAL_INFO.
|
overridevirtual |
Definition at line 215 of file vbawordbasic.cxx.
References SAL_INFO, and WindowName().
|
overridevirtual |
Definition at line 232 of file vbawordbasic.cxx.
References SAL_INFO, and WindowName().
|
overridevirtual |
Definition at line 224 of file vbawordbasic.cxx.
References SAL_INFO.
|
overridevirtual |
Definition at line 192 of file vbawordbasic.cxx.
References SwVbaApplication::getActiveDocument(), mpApp, and Name.
|
overridevirtual |
Definition at line 143 of file vbawordbasic.cxx.
References dispatchRequests(), FileSave(), SwVbaApplication::getCurrentDocument(), mpApp, and xModel.
|
overridevirtual |
Definition at line 57 of file vbawordbasic.cxx.
References SwVbaApplication::Documents(), mpApp, Name, and ReadOnly.
|
overridevirtual |
Definition at line 73 of file vbawordbasic.cxx.
References dispatchRequests(), SwVbaApplication::getCurrentDocument(), mpApp, and xModel.
Referenced by FileClose().
|
overridevirtual |
Definition at line 79 of file vbawordbasic.cxx.
References aURL, dispatchRequests(), Format, sw::proofreadingiterator::get(), SwVbaApplication::getCurrentDocument(), comphelper::getProcessComponentContext(), comphelper::makePropertyValue(), mpApp, Name, nIndex, SAL_INFO, INetURLObject::ToIUri, and xModel.
|
overridevirtual |
Definition at line 46 of file vbawordbasic.cxx.
References SwVbaMailMerge::get(), SwVbaApplication::getContext(), and mpApp.
|
overridevirtual |
Definition at line 199 of file vbawordbasic.cxx.
References Connection, Format, SwVbaApplication::getActiveDocument(), mpApp, Name, and ReadOnly.
|
overridevirtual |
Definition at line 247 of file vbawordbasic.cxx.
References executeRunTimeLibrary(), tools::SvRef< typename T >::get(), SbxValue::PutString(), SAL_WARN, and u.
|
overridevirtual |
Definition at line 258 of file vbawordbasic.cxx.
|
overridevirtual |
Definition at line 51 of file vbawordbasic.cxx.
References SwVbaMailMerge::get(), SwVbaApplication::getContext(), and mpApp.
|
overridevirtual |
Definition at line 161 of file vbawordbasic.cxx.
|
overridevirtual |
Definition at line 187 of file vbawordbasic.cxx.
References SwVbaApplication::getActiveSwVbaWindow(), and mpApp.
Referenced by AppMaximize(), and AppShow().
|
private |
Definition at line 39 of file vbawordbasic.hxx.
Referenced by ExistingBookmark(), FileClose(), FileOpen(), FileSave(), FileSaveAs(), getMailMergeMainDocumentType(), MailMergeOpenDataSource(), ScreenUpdating(), setMailMergeMainDocumentType(), and WindowName().