lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / word / XDocument.idl
blob80cbfe977d7857fb16207e689386d78691730fb5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __ooo_vba_word_XDocument_idl__
20 #define __ooo_vba_word_XDocument_idl__
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <ooo/vba/XHelperInterface.idl>
24 #include <ooo/vba/word/XRange.idl>
25 #include <com/sun/star/script/XInvocation.idl>
27 module ooo { module vba { module word {
29 interface XDocument
31 interface com::sun::star::script::XInvocation;
32 interface XConnectable;
34 [attribute, readonly] XRange Content;
35 [attribute] any AttachedTemplate;
36 [attribute] long ProtectionType;
37 [attribute] boolean UpdateStylesOnOpen;
38 [attribute] boolean AutoHyphenation;
39 [attribute] long HyphenationZone;
40 [attribute] long ConsecutiveHyphensLimit;
41 [attribute, readonly] XMailMerge MailMerge;
43 XRange Range( [in] any Start, [in] any End ) raises (com::sun::star::script::BasicErrorException);
44 any BuiltInDocumentProperties( [in] any Index );
45 any CustomDocumentProperties( [in] any Index );
46 any Bookmarks( [in] any Index );
47 any Variables( [in] any Index );
48 any Paragraphs( [in] any Index );
49 any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
50 any Tables( [in] any Index );
51 any Fields( [in] any Index );
52 any Shapes( [in] any Index );
53 any Sections( [in] any Index );
54 void Activate();
55 any PageSetup();
56 any TablesOfContents([in] any Index);
57 any FormFields([in] any Index);
58 void Protect( [in] long Type, [in] any NOReset, [in] any Password, [in] any UseIRM, [in] any EnforceStyleLock );
59 void PrintOut([in] any Background, [in] any Append, [in] any Range, [in] any OutputFileName, [in] any From, [in] any To, [in] any Item, [in] any Copies, [in] any Pages, [in] any PageType, [in] any PrintToFile, [in] any Collate, [in] any FileName, [in] any ActivePrinterMacGX, [in] any ManualDuplexPrint, [in] any PrintZoomColumn, [in] any PrintZoomRow, [in] any PrintZoomPaperWidth, [in] any PrintZoomPaperHeight);
60 void PrintPreview();
61 void ClosePrintPreview();
62 any Revisions( [in] any index );
63 any Frames( [in] any index );
64 void SaveAs2000( [in] any FileName, [in] any FileFormat, [in] any LockComments, [in] any Password, [in] any AddToRecentFiles, [in] any WritePassword, [in] any ReadOnlyRecommended, [in] any EmbedTrueTypeFonts, [in] any SaveNativePictureFormat, [in] any SaveFormsData, [in] any SaveAsAOCELetter );
65 void SaveAs( [in] any FileName, [in] any FileFormat, [in] any LockComments, [in] any Password, [in] any AddToRecentFiles, [in] any WritePassword, [in] any ReadOnlyRecommended, [in] any EmbedTrueTypeFonts, [in] any SaveNativePictureFormat, [in] any SaveFormsData, [in] any SaveAsAOCELetter, [in] any Encoding, [in] any InsertLineBreaks, [in] any AllowSubstitutions, [in] any LineEnding, [in] any AddBiDiMarks );
66 void Close( [in] any SaveChanges, [in] any OriginalFormat, [in] any RouteDocument );
67 // This is a COLEAT-specific addition
68 void SavePreviewPngAs( [in] any FileName );
71 }; }; };
73 #endif
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */