xref: /trunk/main/oovbaapi/ooo/vba/excel/XFormat.idl (revision cdf0e10c)
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_XFormat_idl__
29#define __ooo_vba_excel_XFormat_idl__
30
31#ifndef __com_sun_star_script_BasicErrorException_idl__
32#include <com/sun/star/script/BasicErrorException.idl>
33#endif
34#ifndef __ooo_vba_XHelperInterface_idl__
35#include <ooo/vba/XHelperInterface.idl>
36#endif
37
38module ooo {  module vba { module excel {
39
40interface XBorders;
41interface XFont;
42interface XInterior;
43
44interface XFormat
45{
46    interface ::ooo::vba::XHelperInterface;
47    // void			Clear(  ) raises ( com::sun::star::script::BasicErrorException );
48
49    any Borders( [in] any Item )
50        raises(com::sun::star::script::BasicErrorException);
51
52    XFont Font()
53        raises(com::sun::star::script::BasicErrorException);
54
55    XInterior Interior()
56        raises(com::sun::star::script::BasicErrorException);
57
58    void setNumberFormat([in] any NumberFormat)
59        raises(com::sun::star::script::BasicErrorException);
60
61    any getNumberFormat()
62        raises(com::sun::star::script::BasicErrorException);
63
64    void setNumberFormatLocal([in] any NumberFormatLocal)
65        raises(com::sun::star::script::BasicErrorException);
66
67    any getNumberFormatLocal()
68        raises(com::sun::star::script::BasicErrorException);
69
70    void setIndentLevel([in] any IndentLevel)
71        raises(com::sun::star::script::BasicErrorException);
72
73    any getIndentLevel()
74        raises(com::sun::star::script::BasicErrorException);
75
76    void setHorizontalAlignment([in] any HorizontalAlignment)
77        raises(com::sun::star::script::BasicErrorException);
78
79    any getHorizontalAlignment()
80        raises(com::sun::star::script::BasicErrorException);
81
82    void setVerticalAlignment([in] any VerticalAlignment)
83        raises(com::sun::star::script::BasicErrorException);
84
85    any getVerticalAlignment()
86        raises(com::sun::star::script::BasicErrorException);
87
88    void setOrientation([in] any Orientation)
89        raises(com::sun::star::script::BasicErrorException);
90
91    any getOrientation()
92        raises(com::sun::star::script::BasicErrorException);
93
94    void setShrinkToFit([in] any ShrinkToFit)
95        raises(com::sun::star::script::BasicErrorException);
96
97    any getShrinkToFit()
98        raises(com::sun::star::script::BasicErrorException);
99
100    void setWrapText([in] any WrapText)
101        raises(com::sun::star::script::BasicErrorException);
102
103    any getWrapText()
104        raises(com::sun::star::script::BasicErrorException);
105
106    void setLocked([in] any Locked)
107        raises(com::sun::star::script::BasicErrorException);
108
109    any getLocked()
110        raises(com::sun::star::script::BasicErrorException);
111
112    void setFormulaHidden([in] any FormulaHidden)
113        raises(com::sun::star::script::BasicErrorException);
114
115    any getFormulaHidden()
116        raises(com::sun::star::script::BasicErrorException);
117
118    void setMergeCells([in] any MergeCells)
119        raises(com::sun::star::script::BasicErrorException);
120
121    any getMergeCells()
122        raises(com::sun::star::script::BasicErrorException);
123
124    void setReadingOrder([in] any ReadingOrder)
125        raises(com::sun::star::script::BasicErrorException);
126
127    any getReadingOrder()
128        raises(com::sun::star::script::BasicErrorException);
129
130};
131
132}; }; };
133
134#endif
135
136