Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XWorkbook.idl
bloba3fbee38c7cfd25e85e024eacb9d47a7bd816281
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 .
20 module ooo { module vba { module excel {
22 interface XWorkbook
24 interface ::com::sun::star::lang::XUnoTunnel;
26 [attribute, readonly] boolean ProtectStructure;
27 [attribute, readonly] XWorksheet ActiveSheet;
28 [attribute, readonly] string CodeName;
29 [attribute, readonly] long FileFormat;
30 [attribute] boolean PrecisionAsDisplayed;
31 [attribute] string Author;
33 any Worksheets( [in] any Index );
34 any Styles( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
35 any Sheets( [in] any Index );
36 any Windows( [in] any Index );
37 void ResetColors() raises (com::sun::star::script::BasicErrorException);
38 void Activate();
39 any Names( [in] any Index );
40 any Colors( [in] any Index ) raises (com::sun::star::script::BasicErrorException);
41 void SaveCopyAs( [in] string Filename );
42 void Protect( [in] any Password );
43 void SaveAs( [in] any FileName, [in] any FileFormat, [in] any Password,
44 [in] any WriteResPassword, [in] any ReadOnlyRecommended,
45 [in] any CreateBackup, [in] any AccessMode,
46 [in] any ConflictResolution, [in] any AddToMru,
47 [in] any TextCodepage, [in] any TextVisualLayout,
48 [in] any Local );
49 void ExportAsFixedFormat([in] any Type, [in] any FileName, [in] any Quality, [in] any IncludeDocProperties, [in] any IgnorePrintAreas, [in] any From, [in] any To, [in] any OpenAfterPublish, [in] any FixedFormatExtClassPtr);
52 }; }; };
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */