lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XWindow.idl
blob5132849e019a38fc86406db9fefed55c58cd2b7d
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_excel_XWindow_idl__
20 #define __ooo_vba_excel_XWindow_idl__
22 #include <ooo/vba/XHelperInterface.idl>
26 module ooo { module vba { module excel {
30 interface XRange;
31 interface XWorksheet;
32 interface XPane;
34 interface XWindow : com::sun::star::uno::XInterface
36 [attribute] any Caption;
37 [attribute] boolean DisplayGridlines;
38 [attribute] boolean DisplayHeadings;
39 [attribute] boolean DisplayHorizontalScrollBar;
40 [attribute] boolean DisplayOutline;
41 [attribute] boolean DisplayVerticalScrollBar;
42 [attribute] boolean DisplayWorkbookTabs;
43 [attribute] boolean FreezePanes;
44 [attribute] boolean Split;
45 [attribute] long SplitColumn;
46 [attribute] double SplitHorizontal;
47 [attribute] long SplitRow;
48 [attribute] double SplitVertical;
49 [attribute] any ScrollColumn;
50 [attribute] any ScrollRow;
51 [attribute] any View;
52 [attribute, readonly] XRange VisibleRange;
53 [attribute] any WindowState;
54 [attribute] any Zoom;
55 [attribute] double TabRatio;
56 any SelectedSheets( [in] any Index );
57 void SmallScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft );
58 void LargeScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft );
59 void ScrollWorkbookTabs( [in] any Sheets, [in] any Position );
60 void Activate();
61 void Close([in] any SaveChanges, [in] any FileName, [in] any RouteWorkBook);
62 XRange ActiveCell() raises(com::sun::star::script::BasicErrorException);
63 any Selection() raises(com::sun::star::script::BasicErrorException);
64 XRange RangeSelection() raises(com::sun::star::script::BasicErrorException);
65 long PointsToScreenPixelsX([in] long Points) raises(com::sun::star::script::BasicErrorException);
66 long PointsToScreenPixelsY([in] long Points) raises(com::sun::star::script::BasicErrorException);
67 void PrintOut([in] /*optional short*/ any From,
68 [in] /*optional short*/ any To,
69 [in] /*optional short*/ any Copies,
70 [in] /*optional boolean*/ any Preview,
71 [in] /*optional string*/ any ActivePrinter,
72 [in] /*optional boolean*/ any PrintToFile,
73 [in] /*optional boolean*/ any Collate,
74 [in] /*optional string*/ any PrToFileName
75 ) raises(com::sun::star::script::BasicErrorException);
76 void PrintPreview( [in] /*Optional*/ any EnableChanges ) raises ( com::sun::star::script::BasicErrorException );
78 XWorksheet ActiveSheet() raises(com::sun::star::script::BasicErrorException);
79 XPane ActivePane() raises(com::sun::star::script::BasicErrorException);
84 }; }; };
86 #endif
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */