1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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_excel_XWorkbook_idl__
20 #define __ooo_vba_excel_XWorkbook_idl__
22 #include
<com
/sun
/star
/lang
/XUnoTunnel.idl
>
24 module ooo
{ module vba
{ module excel
{
28 interface ::com
::sun
::star
::lang
::XUnoTunnel
;
30 [attribute
, readonly] boolean ProtectStructure
;
31 [attribute
, readonly] XWorksheet ActiveSheet
;
32 [attribute
, readonly] string CodeName
;
33 [attribute
, readonly] long FileFormat
;
34 [attribute
] boolean PrecisionAsDisplayed
;
35 [attribute
] string Author
;
37 any Worksheets
( [in] any Index
);
38 any Styles
( [in] any Index
) raises
(com
::sun
::star
::script
::BasicErrorException
);
39 any Sheets
( [in] any Index
);
40 any Windows
( [in] any Index
);
41 void ResetColors
() raises
(com
::sun
::star
::script
::BasicErrorException
);
43 any Names
( [in] any Index
);
44 any Colors
( [in] any Index
) raises
(com
::sun
::star
::script
::BasicErrorException
);
45 void SaveCopyAs
( [in] string Filename
);
46 void Protect
( [in] any Password
);
47 void SaveAs
( [in] any FileName
, [in] any FileFormat
, [in] any Password
,
48 [in] any WriteResPassword
, [in] any ReadOnlyRecommended
,
49 [in] any CreateBackup
, [in] any AccessMode
,
50 [in] any ConflictResolution
, [in] any AddToMru
,
51 [in] any TextCodepage
, [in] any TextVisualLayout
,
59 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */