LibreOffice Module sw (master) 1
vbawordbasic.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAWORDBASIC_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBAWORDBASIC_HXX
21
23
36class SwWordBasic : public cppu::WeakImplHelper<ooo::vba::word::XWordBasic>
37{
38private:
40
41public:
43
44 // XWordBasic
45 virtual sal_Int32 SAL_CALL getMailMergeMainDocumentType() override;
46 virtual void SAL_CALL
47 setMailMergeMainDocumentType(sal_Int32 _mailmergemaindocumenttype) override;
48
49 virtual void SAL_CALL FileOpen(const OUString& Name, const css::uno::Any& ConfirmConversions,
50 const css::uno::Any& ReadOnly, const css::uno::Any& AddToMru,
51 const css::uno::Any& PasswordDoc,
52 const css::uno::Any& PasswordDot, const css::uno::Any& Revert,
53 const css::uno::Any& WritePasswordDoc,
54 const css::uno::Any& WritePasswordDot) override;
55 virtual void SAL_CALL FileSave() override;
56 virtual void SAL_CALL FileSaveAs(
57 const css::uno::Any& Name, const css::uno::Any& Format, const css::uno::Any& LockAnnot,
58 const css::uno::Any& Password, const css::uno::Any& AddToMru,
59 const css::uno::Any& WritePassword, const css::uno::Any& RecommendReadOnly,
60 const css::uno::Any& EmbedFonts, const css::uno::Any& NativePictureFormat,
61 const css::uno::Any& FormsData, const css::uno::Any& SaveAsAOCELetter) override;
62 virtual void SAL_CALL FileClose(const css::uno::Any& Save) override;
63 virtual void SAL_CALL ToolsOptionsView(
64 const css::uno::Any& DraftFont, const css::uno::Any& WrapToWindow,
65 const css::uno::Any& PicturePlaceHolders, const css::uno::Any& FieldCodes,
66 const css::uno::Any& BookMarks, const css::uno::Any& FieldShading,
67 const css::uno::Any& StatusBar, const css::uno::Any& HScroll, const css::uno::Any& VScroll,
68 const css::uno::Any& StyleAreaWidth, const css::uno::Any& Tabs, const css::uno::Any& Spaces,
69 const css::uno::Any& Paras, const css::uno::Any& Hyphens, const css::uno::Any& Hidden,
70 const css::uno::Any& ShowAll, const css::uno::Any& Drawings, const css::uno::Any& Anchors,
71 const css::uno::Any& TextBoundaries, const css::uno::Any& VRuler,
72 const css::uno::Any& Highlight) override;
73 virtual css::uno::Any SAL_CALL WindowName(const css::uno::Any& Number) override;
74 virtual css::uno::Any SAL_CALL ExistingBookmark(const OUString& Name) override;
75 virtual void SAL_CALL MailMergeOpenDataSource(
76 const OUString& Name, const css::uno::Any& Format, const css::uno::Any& ConfirmConversions,
77 const css::uno::Any& ReadOnly, const css::uno::Any& LinkToSource,
78 const css::uno::Any& AddToRecentFiles, const css::uno::Any& PasswordDocument,
79 const css::uno::Any& PasswordTemplate, const css::uno::Any& Revert,
80 const css::uno::Any& WritePasswordDocument, const css::uno::Any& WritePasswordTemplate,
81 const css::uno::Any& Connection, const css::uno::Any& SQLStatement,
82 const css::uno::Any& SQLStatement1, const css::uno::Any& OpenExclusive,
83 const css::uno::Any& SubType) override;
84 virtual css::uno::Any SAL_CALL AppMaximize(const css::uno::Any& WindowName,
85 const css::uno::Any& State) override;
86 virtual css::uno::Any SAL_CALL DocMaximize(const css::uno::Any& State) override;
87 virtual void SAL_CALL AppShow(const css::uno::Any& WindowName) override;
88 virtual css::uno::Any SAL_CALL AppCount() override;
89 virtual void SAL_CALL MsgBox(const OUString& sPrompt) override;
90 virtual void SAL_CALL ScreenUpdating(const css::uno::Any& On) override;
91};
92
93#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAWORDBASIC_HXX
94
95/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This is a representation of the WordBasic statements and functions that were available in Word versio...
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 void SAL_CALL ScreenUpdating(const css::uno::Any &On) 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 sal_Int32 SAL_CALL getMailMergeMainDocumentType() override
virtual css::uno::Any SAL_CALL AppCount() override
virtual void SAL_CALL MsgBox(const OUString &sPrompt) override
virtual css::uno::Any SAL_CALL DocMaximize(const css::uno::Any &State) 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 css::uno::Any SAL_CALL AppMaximize(const css::uno::Any &WindowName, const css::uno::Any &State) override
SwVbaApplication * mpApp
virtual void SAL_CALL setMailMergeMainDocumentType(sal_Int32 _mailmergemaindocumenttype) override
virtual void SAL_CALL FileClose(const css::uno::Any &Save) override
virtual void SAL_CALL AppShow(const css::uno::Any &WindowName) 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 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 FileSave() override
SwWordBasic(SwVbaApplication *pApp)
State