1*41b4bf98SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*41b4bf98SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*41b4bf98SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*41b4bf98SAndrew Rist * distributed with this work for additional information 6*41b4bf98SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*41b4bf98SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*41b4bf98SAndrew Rist * "License"); you may not use this file except in compliance 9*41b4bf98SAndrew Rist * with the License. You may obtain a copy of the License at 10*41b4bf98SAndrew Rist * 11*41b4bf98SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*41b4bf98SAndrew Rist * 13*41b4bf98SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*41b4bf98SAndrew Rist * software distributed under the License is distributed on an 15*41b4bf98SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*41b4bf98SAndrew Rist * KIND, either express or implied. See the License for the 17*41b4bf98SAndrew Rist * specific language governing permissions and limitations 18*41b4bf98SAndrew Rist * under the License. 19*41b4bf98SAndrew Rist * 20*41b4bf98SAndrew Rist *************************************************************/ 21*41b4bf98SAndrew Rist 22*41b4bf98SAndrew Rist 23cdf0e10cSrcweir#ifndef __ooo_vba_excel_XWindow_idl__ 24cdf0e10cSrcweir#define __ooo_vba_excel_XWindow_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl> 27cdf0e10cSrcweir 28cdf0e10cSrcweir//============================================================================= 29cdf0e10cSrcweir 30cdf0e10cSrcweirmodule ooo { module vba { module excel { 31cdf0e10cSrcweir 32cdf0e10cSrcweir//============================================================================= 33cdf0e10cSrcweir 34cdf0e10cSrcweirinterface XRange; 35cdf0e10cSrcweirinterface XWorksheet; 36cdf0e10cSrcweirinterface XPane; 37cdf0e10cSrcweir 38cdf0e10cSrcweirinterface XWindow : com::sun::star::uno::XInterface 39cdf0e10cSrcweir{ 40cdf0e10cSrcweir [attribute] any Caption; 41cdf0e10cSrcweir [attribute] boolean DisplayGridlines; 42cdf0e10cSrcweir [attribute] boolean DisplayHeadings; 43cdf0e10cSrcweir [attribute] boolean DisplayHorizontalScrollBar; 44cdf0e10cSrcweir [attribute] boolean DisplayOutline; 45cdf0e10cSrcweir [attribute] boolean DisplayVerticalScrollBar; 46cdf0e10cSrcweir [attribute] boolean DisplayWorkbookTabs; 47cdf0e10cSrcweir [attribute] boolean FreezePanes; 48cdf0e10cSrcweir [attribute] boolean Split; 49cdf0e10cSrcweir [attribute] long SplitColumn; 50cdf0e10cSrcweir [attribute] double SplitHorizontal; 51cdf0e10cSrcweir [attribute] long SplitRow; 52cdf0e10cSrcweir [attribute] double SplitVertical; 53cdf0e10cSrcweir [attribute] any ScrollColumn; 54cdf0e10cSrcweir [attribute] any ScrollRow; 55cdf0e10cSrcweir [attribute] any View; 56cdf0e10cSrcweir [attribute, readonly] XRange VisibleRange; 57cdf0e10cSrcweir [attribute] any WindowState; 58cdf0e10cSrcweir [attribute] any Zoom; 59cdf0e10cSrcweir any SelectedSheets( [in] any Index ); 60cdf0e10cSrcweir void SmallScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft ); 61cdf0e10cSrcweir void LargeScroll( [in] any Down, [in] any Up, [in] any ToRight, [in] any ToLeft ); 62cdf0e10cSrcweir void ScrollWorkbookTabs( [in] any Sheets, [in] any Position ); 63cdf0e10cSrcweir void Activate(); 64cdf0e10cSrcweir void Close([in] any SaveChanges, [in] any FileName, [in] any RouteWorkBook); 65cdf0e10cSrcweir XRange ActiveCell() raises(com::sun::star::script::BasicErrorException); 66cdf0e10cSrcweir any Selection() raises(com::sun::star::script::BasicErrorException); 67cdf0e10cSrcweir XRange RangeSelection() raises(com::sun::star::script::BasicErrorException); 68cdf0e10cSrcweir long PointsToScreenPixelsX([in] long Points) raises(com::sun::star::script::BasicErrorException); 69cdf0e10cSrcweir long PointsToScreenPixelsY([in] long Points) raises(com::sun::star::script::BasicErrorException); 70cdf0e10cSrcweir void PrintOut([in] /*optional short*/ any From, 71cdf0e10cSrcweir [in] /*optional short*/ any To, 72cdf0e10cSrcweir [in] /*optional short*/ any Copies, 73cdf0e10cSrcweir [in] /*optional boolean*/ any Preview, 74cdf0e10cSrcweir [in] /*optional string*/ any ActivePrinter, 75cdf0e10cSrcweir [in] /*optional boolean*/ any PrintToFile, 76cdf0e10cSrcweir [in] /*optional boolean*/ any Collate, 77cdf0e10cSrcweir [in] /*optional string*/ any PrToFileName 78cdf0e10cSrcweir ) raises(com::sun::star::script::BasicErrorException); 79cdf0e10cSrcweir void PrintPreview( [in] /*Optional*/ any EnableChanges ) raises ( com::sun::star::script::BasicErrorException ); 80cdf0e10cSrcweir 81cdf0e10cSrcweir XWorksheet ActiveSheet() raises(com::sun::star::script::BasicErrorException); 82cdf0e10cSrcweir XPane ActivePane() raises(com::sun::star::script::BasicErrorException); 83cdf0e10cSrcweir}; 84cdf0e10cSrcweir 85cdf0e10cSrcweir//============================================================================= 86cdf0e10cSrcweir 87cdf0e10cSrcweir}; }; }; 88cdf0e10cSrcweir 89cdf0e10cSrcweir#endif 90cdf0e10cSrcweir 91cdf0e10cSrcweir 92