1 /* 2 * The contents of this file is dual-licensed under 2 3 * alternative Open Source/Free licenses: LGPL 2.1 or later and 4 * Apache License 2.0. (starting with JNA version 4.0.0). 5 * 6 * You can freely decide which license you want to apply to 7 * the project. 8 * 9 * You may obtain a copy of the LGPL License at: 10 * 11 * http://www.gnu.org/licenses/licenses.html 12 * 13 * A copy is also included in the downloadable source code package 14 * containing JNA, in file "LGPL2.1". 15 * 16 * You may obtain a copy of the Apache License at: 17 * 18 * http://www.apache.org/licenses/ 19 * 20 * A copy is also included in the downloadable source code package 21 * containing JNA, in file "AL2.0". 22 */ 23 24 package com.sun.jna.platform.win32.COM.util.office.excel; 25 26 import com.sun.jna.platform.win32.COM.util.annotation.ComInterface; 27 import com.sun.jna.platform.win32.COM.util.annotation.ComMethod; 28 import com.sun.jna.platform.win32.COM.util.annotation.ComProperty; 29 30 @ComInterface(iid = "{000208DB-0000-0000-C000-000000000046}") 31 public interface ComIWorkbooks { 32 33 @ComProperty getCount()34 long getCount(); 35 36 @ComMethod Item(long index)37 ComIWorkbook Item(long index); 38 39 @ComMethod Open(Object FileName)40 ComIWorkbook Open(Object FileName); 41 42 @ComMethod Add()43 ComIWorkbook Add(); 44 } 45