1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28#ifndef __ooo_vba_excel_XTitle_idl__ 29#define __ooo_vba_excel_XTitle_idl__ 30 31#ifndef __ooo_vba_XHelperInterface_idl__ 32#include <ooo/vba/XHelperInterface.idl> 33#endif 34 35#ifndef __com_sun_star_script_BasicErrorException_idl__ 36#include <com/sun/star/script/BasicErrorException.idl> 37#endif 38 39module ooo { module vba { module excel { 40 41interface XCharacters; 42interface XFont; 43interface XBorder; 44interface XInterior; 45 46interface XTitle 47{ 48 interface ::ooo::vba::XHelperInterface; 49 // XBorder Border( ) raises ( com::sun::star::script::BasicErrorException ); 50 51 XInterior Interior() raises(com::sun::star::script::BasicErrorException); 52 53 XFont Font() raises(com::sun::star::script::BasicErrorException); 54 55 void setText([in] string Text) raises(com::sun::star::script::BasicErrorException); 56 57 string getText() raises(com::sun::star::script::BasicErrorException); 58 // #FIXME existing implementation object needs to be usable for shape, chart 59 // axes etc. 60 //XCharacters Characters() raises(com::sun::star::script::BasicErrorException); 61 62 void setTop([in] double Top) raises(com::sun::star::script::BasicErrorException); 63 64 double getTop() raises(com::sun::star::script::BasicErrorException); 65 66 void setLeft([in] double Left) raises(com::sun::star::script::BasicErrorException); 67 68 double getLeft() raises(com::sun::star::script::BasicErrorException); 69 70 void setOrientation([in] long Orientation) raises(com::sun::star::script::BasicErrorException); 71 72 long getOrientation() raises(com::sun::star::script::BasicErrorException); 73 74 // any Select( ) raises ( com::sun::star::script::BasicErrorException ); 75 76 // any Delete( ) raises ( com::sun::star::script::BasicErrorException ); 77 78 // void setName( [in] string Name ) raises ( com::sun::star::script::BasicErrorException ); 79 80 // string getName( ) raises ( com::sun::star::script::BasicErrorException ); 81 82 // void setFill( [in] XChartFillFormat Fill ) raises ( com::sun::star::script::BasicErrorException ); 83 84 // XChartFillFormat getFill( ) raises ( com::sun::star::script::BasicErrorException ); 85 86 // void setCaption( [in] string Caption ) raises ( com::sun::star::script::BasicErrorException ); 87 88 // string getCaption( ) raises ( com::sun::star::script::BasicErrorException ); 89 90 // void setHorizontalAlignment( [in] any HorizontalAlignment ) raises ( com::sun::star::script::BasicErrorException ); 91 92 // any getHorizontalAlignment( ) raises ( com::sun::star::script::BasicErrorException ); 93 94 // void setShadow( [in] boolean Shadow ) raises ( com::sun::star::script::BasicErrorException ); 95 96 // boolean getShadow( ) raises ( com::sun::star::script::BasicErrorException ); 97 98 // void setVerticalAlignment( [in] any VerticalAlignment ) raises ( com::sun::star::script::BasicErrorException ); 99 100 // any getVerticalAlignment( ) raises ( com::sun::star::script::BasicErrorException ); 101 102 // void setReadingOrder( [in] long ReadingOrder ) raises ( com::sun::star::script::BasicErrorException ); 103 104 // long getReadingOrder( ) raises ( com::sun::star::script::BasicErrorException ); 105 106 // void setAutoScaleFont( [in] any AutoScaleFont ) raises ( com::sun::star::script::BasicErrorException ); 107 108 // any getAutoScaleFont( ) raises ( com::sun::star::script::BasicErrorException ); 109 110 111}; 112 113}; }; }; 114 115#endif 116 117