merge the formfield patch from ooo-build
[ooovba.git] / oovbaapi / ooo / vba / excel / XFormat.idl
blob4dd52ca1589305d046292d58e037ab645057fcea
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XFormat.idl,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __ooo_vba_excel_XFormat_idl__
32 #define __ooo_vba_excel_XFormat_idl__
34 #ifndef __com_sun_star_script_BasicErrorException_idl__
35 #include <com/sun/star/script/BasicErrorException.idl>
36 #endif
37 #ifndef __ooo_vba_XHelperInterface_idl__
38 #include <ooo/vba/XHelperInterface.idl>
39 #endif
41 module ooo { module vba { module excel {
43 interface XBorders;
44 interface XFont;
45 interface XInterior;
47 interface XFormat
49 interface ::ooo::vba::XHelperInterface;
50 // void Clear( ) raises ( com::sun::star::script::BasicErrorException );
52 any Borders( [in] any item )
53 raises(com::sun::star::script::BasicErrorException);
55 XFont Font()
56 raises(com::sun::star::script::BasicErrorException);
58 XInterior Interior()
59 raises(com::sun::star::script::BasicErrorException);
61 void setNumberFormat([in] any NumberFormat)
62 raises(com::sun::star::script::BasicErrorException);
64 any getNumberFormat()
65 raises(com::sun::star::script::BasicErrorException);
67 void setNumberFormatLocal([in] any NumberFormatLocal)
68 raises(com::sun::star::script::BasicErrorException);
70 any getNumberFormatLocal()
71 raises(com::sun::star::script::BasicErrorException);
73 void setIndentLevel([in] any IndentLevel)
74 raises(com::sun::star::script::BasicErrorException);
76 any getIndentLevel()
77 raises(com::sun::star::script::BasicErrorException);
79 void setHorizontalAlignment([in] any HorizontalAlignment)
80 raises(com::sun::star::script::BasicErrorException);
82 any getHorizontalAlignment()
83 raises(com::sun::star::script::BasicErrorException);
85 void setVerticalAlignment([in] any VerticalAlignment)
86 raises(com::sun::star::script::BasicErrorException);
88 any getVerticalAlignment()
89 raises(com::sun::star::script::BasicErrorException);
91 void setOrientation([in] any Orientation)
92 raises(com::sun::star::script::BasicErrorException);
94 any getOrientation()
95 raises(com::sun::star::script::BasicErrorException);
97 void setShrinkToFit([in] any ShrinkToFit)
98 raises(com::sun::star::script::BasicErrorException);
100 any getShrinkToFit()
101 raises(com::sun::star::script::BasicErrorException);
103 void setWrapText([in] any WrapText)
104 raises(com::sun::star::script::BasicErrorException);
106 any getWrapText()
107 raises(com::sun::star::script::BasicErrorException);
109 void setLocked([in] any Locked)
110 raises(com::sun::star::script::BasicErrorException);
112 any getLocked()
113 raises(com::sun::star::script::BasicErrorException);
115 void setFormulaHidden([in] any FormulaHidden)
116 raises(com::sun::star::script::BasicErrorException);
118 any getFormulaHidden()
119 raises(com::sun::star::script::BasicErrorException);
121 void setMergeCells([in] any MergeCells)
122 raises(com::sun::star::script::BasicErrorException);
124 any getMergeCells()
125 raises(com::sun::star::script::BasicErrorException);
127 void setReadingOrder([in] any ReadingOrder)
128 raises(com::sun::star::script::BasicErrorException);
130 any getReadingOrder()
131 raises(com::sun::star::script::BasicErrorException);
135 }; }; };
137 #endif