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