bump product version to 4.1.6.2
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XWorkbook.idl
blob852ac691e54b6da578b379038de57cb713a01ccf
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef __ooo_vba_excel_XWorkbook_idl__
19 #define __ooo_vba_excel_XWorkbook_idl__
21 #include <com/sun/star/lang/XUnoTunnel.idl>
22 #include <ooo/vba/XHelperInterface.idl>
24 //=============================================================================
26 module ooo { module vba { module excel {
28 //=============================================================================
30 interface XWorksheet;
31 interface XWorksheets;
32 interface XStyles;
34 interface XWorkbook
37 interface ::com::sun::star::lang::XUnoTunnel;
39 [attribute, readonly] boolean ProtectStructure;
40 [attribute, readonly] XWorksheet ActiveSheet;
41 [attribute, readonly] string CodeName;
42 [attribute, readonly] long FileFormat;
43 [attribute] boolean PrecisionAsDisplayed;
45 any Worksheets( [in] any Index );
46 any Styles( [in] any Index );
47 any Sheets( [in] any Index );
48 any Windows( [in] any Index );
49 void ResetColors() raises (com::sun::star::script::BasicErrorException);
50 void Activate();
51 any Names( [in] any Index );
52 any Colors( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
53 void SaveCopyAs( [in] string Filename );
54 void Protect( [in] any Password );
55 void SaveAs( [in] any FileName, [in] any FileFormat, [in] any Password,
56 [in] any WriteResPassword, [in] any ReadOnlyRecommended,
57 [in] any CreateBackup, [in] any AccessMode,
58 [in] any ConflictResolution, [in] any AddToMru,
59 [in] any TextCodepage, [in] any TextVisualLayout,
60 [in] any Local );
63 }; }; };
65 #endif