1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_sheet_TableAutoFormatField_idl__ 25cdf0e10cSrcweir#define __com_sun_star_sheet_TableAutoFormatField_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 28cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#ifndef __com_sun_star_util_Color_idl__ 32cdf0e10cSrcweir#include <com/sun/star/util/Color.idl> 33cdf0e10cSrcweir#endif 34cdf0e10cSrcweir 35cdf0e10cSrcweir#ifndef __com_sun_star_lang_Locale_idl__ 36cdf0e10cSrcweir#include <com/sun/star/lang/Locale.idl> 37cdf0e10cSrcweir#endif 38cdf0e10cSrcweir 39cdf0e10cSrcweir#ifndef __com_sun_star_awt_FontSlant_idl__ 40cdf0e10cSrcweir#include <com/sun/star/awt/FontSlant.idl> 41cdf0e10cSrcweir#endif 42cdf0e10cSrcweir 43cdf0e10cSrcweir#ifndef __com_sun_star_table_ShadowFormat_idl__ 44cdf0e10cSrcweir#include <com/sun/star/table/ShadowFormat.idl> 45cdf0e10cSrcweir#endif 46cdf0e10cSrcweir 47cdf0e10cSrcweir#ifndef __com_sun_star_table_CellHoriJustify_idl__ 48cdf0e10cSrcweir#include <com/sun/star/table/CellHoriJustify.idl> 49cdf0e10cSrcweir#endif 50cdf0e10cSrcweir 51cdf0e10cSrcweir#ifndef __com_sun_star_table_CellVertJustify_idl__ 52cdf0e10cSrcweir#include <com/sun/star/table/CellVertJustify.idl> 53cdf0e10cSrcweir#endif 54cdf0e10cSrcweir 55cdf0e10cSrcweir#ifndef __com_sun_star_table_CellOrientation_idl__ 56cdf0e10cSrcweir#include <com/sun/star/table/CellOrientation.idl> 57cdf0e10cSrcweir#endif 58cdf0e10cSrcweir 59cdf0e10cSrcweir#ifndef __com_sun_star_table_TableBorder_idl__ 60cdf0e10cSrcweir#include <com/sun/star/table/TableBorder.idl> 61cdf0e10cSrcweir#endif 62cdf0e10cSrcweir 63cdf0e10cSrcweir//============================================================================= 64cdf0e10cSrcweir 65cdf0e10cSrcweirmodule com { module sun { module star { module sheet { 66cdf0e10cSrcweir 67cdf0e10cSrcweir//============================================================================= 68cdf0e10cSrcweir 69cdf0e10cSrcweir/** represents a field in an AutoFormat. A field contains all cell 70cdf0e10cSrcweir properties for a specific position in an AutoFormat. 71cdf0e10cSrcweir */ 72cdf0e10cSrcweirpublished service TableAutoFormatField 73cdf0e10cSrcweir{ 74cdf0e10cSrcweir //------------------------------------------------------------------------- 75cdf0e10cSrcweir 76cdf0e10cSrcweir//! service com::sun::star::beans::PropertySet; 77cdf0e10cSrcweir /** provides access to the properties. 78cdf0e10cSrcweir */ 79cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 80cdf0e10cSrcweir 81cdf0e10cSrcweir //------------------------------------------------------------------------- 82cdf0e10cSrcweir 83cdf0e10cSrcweir /** specifies the name of the western font. 84cdf0e10cSrcweir */ 85cdf0e10cSrcweir [property] string CharFontName; 86cdf0e10cSrcweir 87cdf0e10cSrcweir /** specifies the name of the asian font. 88cdf0e10cSrcweir */ 89cdf0e10cSrcweir [optional, property] string CharFontNameAsian; 90cdf0e10cSrcweir 91cdf0e10cSrcweir /** specifies the name of the complex font. 92cdf0e10cSrcweir */ 93cdf0e10cSrcweir [optional, property] string CharFontNameComplex; 94cdf0e10cSrcweir 95cdf0e10cSrcweir //------------------------------------------------------------------------- 96cdf0e10cSrcweir 97cdf0e10cSrcweir /** specifies the name of the western font style. 98cdf0e10cSrcweir */ 99cdf0e10cSrcweir [property] string CharFontStyleName; 100cdf0e10cSrcweir 101cdf0e10cSrcweir /** specifies the name of the asian font style. 102cdf0e10cSrcweir */ 103cdf0e10cSrcweir [optional, property] string CharFontStyleNameAsian; 104cdf0e10cSrcweir 105cdf0e10cSrcweir /** specifies the name of the complex font style. 106cdf0e10cSrcweir */ 107cdf0e10cSrcweir [optional, property] string CharFontStyleNameComplex; 108cdf0e10cSrcweir 109cdf0e10cSrcweir //------------------------------------------------------------------------- 110cdf0e10cSrcweir 111cdf0e10cSrcweir /** contains the value of the character set of the western font. 112cdf0e10cSrcweir */ 113cdf0e10cSrcweir [property] string CharFontCharSet; 114cdf0e10cSrcweir 115cdf0e10cSrcweir /** contains the value of the character set of the asian font. 116cdf0e10cSrcweir */ 117cdf0e10cSrcweir [optional, property] string CharFontCharSetAsian; 118cdf0e10cSrcweir 119cdf0e10cSrcweir /** contains the value of the character set of the complex font. 120cdf0e10cSrcweir */ 121cdf0e10cSrcweir [optional, property] string CharFontCharSetComplex; 122cdf0e10cSrcweir 123cdf0e10cSrcweir //------------------------------------------------------------------------- 124cdf0e10cSrcweir 125cdf0e10cSrcweir /** contains the value of the western font family. 126cdf0e10cSrcweir */ 127cdf0e10cSrcweir [property] string CharFontFamily; 128cdf0e10cSrcweir 129cdf0e10cSrcweir /** contains the value of the asian font family. 130cdf0e10cSrcweir */ 131cdf0e10cSrcweir [optional, property] string CharFontFamilyAsian; 132cdf0e10cSrcweir 133cdf0e10cSrcweir /** contains the value of the complex font family. 134cdf0e10cSrcweir */ 135cdf0e10cSrcweir [optional, property] string CharFontFamilyComplex; 136cdf0e10cSrcweir 137cdf0e10cSrcweir //------------------------------------------------------------------------- 138cdf0e10cSrcweir 139cdf0e10cSrcweir /** contains the value of the pitch of the western font. 140cdf0e10cSrcweir */ 141cdf0e10cSrcweir [property] string CharFontPitch; 142cdf0e10cSrcweir 143cdf0e10cSrcweir /** contains the value of the pitch of the asian font. 144cdf0e10cSrcweir */ 145cdf0e10cSrcweir [optional, property] string CharFontPitchAsian; 146cdf0e10cSrcweir 147cdf0e10cSrcweir /** contains the value of the pitch of the complex font. 148cdf0e10cSrcweir */ 149cdf0e10cSrcweir [optional, property] string CharFontPitchComplex; 150cdf0e10cSrcweir 151cdf0e10cSrcweir //------------------------------------------------------------------------- 152cdf0e10cSrcweir 153cdf0e10cSrcweir /** contains the height of characters of the western font in point. 154cdf0e10cSrcweir */ 155cdf0e10cSrcweir [property] float CharHeight; 156cdf0e10cSrcweir 157cdf0e10cSrcweir /** contains the height of characters of the asian font in point. 158cdf0e10cSrcweir */ 159cdf0e10cSrcweir [optional, property] float CharHeightAsian; 160cdf0e10cSrcweir 161cdf0e10cSrcweir /** contains the height of characters of the complex font in point. 162cdf0e10cSrcweir */ 163cdf0e10cSrcweir [optional, property] float CharHeightComplex; 164cdf0e10cSrcweir 165cdf0e10cSrcweir //------------------------------------------------------------------------- 166cdf0e10cSrcweir 167cdf0e10cSrcweir /** contains the value for the weight of characters of the western font. 168cdf0e10cSrcweir */ 169cdf0e10cSrcweir [property] float CharWeight; 170cdf0e10cSrcweir 171cdf0e10cSrcweir /** contains the value for the weight of characters of the asian font. 172cdf0e10cSrcweir */ 173cdf0e10cSrcweir [optional, property] float CharWeightAsian; 174cdf0e10cSrcweir 175cdf0e10cSrcweir /** contains the value for the weight of characters of the complex font. 176cdf0e10cSrcweir */ 177cdf0e10cSrcweir [optional, property] float CharWeightComplex; 178cdf0e10cSrcweir 179cdf0e10cSrcweir //------------------------------------------------------------------------- 180cdf0e10cSrcweir 181cdf0e10cSrcweir /** contains the value of the posture of characters of the western font. 182cdf0e10cSrcweir */ 183cdf0e10cSrcweir [property] com::sun::star::awt::FontSlant CharPosture; 184cdf0e10cSrcweir 185cdf0e10cSrcweir /** contains the value of the posture of characters of the asian font. 186cdf0e10cSrcweir */ 187cdf0e10cSrcweir [optional, property] com::sun::star::awt::FontSlant CharPostureAsian; 188cdf0e10cSrcweir 189cdf0e10cSrcweir /** contains the value of the posture of characters of the comlex font. 190cdf0e10cSrcweir */ 191cdf0e10cSrcweir [optional, property] com::sun::star::awt::FontSlant CharPostureComplex; 192cdf0e10cSrcweir 193cdf0e10cSrcweir //------------------------------------------------------------------------- 194cdf0e10cSrcweir 195cdf0e10cSrcweir /** contains the value for the character underline. 196cdf0e10cSrcweir */ 197cdf0e10cSrcweir [property] short CharUnderline; 198cdf0e10cSrcweir 199cdf0e10cSrcweir //------------------------------------------------------------------------- 200cdf0e10cSrcweir 201cdf0e10cSrcweir /** is <TRUE/> if the characters are crossed out. 202cdf0e10cSrcweir */ 203cdf0e10cSrcweir [property] boolean CharCrossedOut; 204cdf0e10cSrcweir 205cdf0e10cSrcweir //------------------------------------------------------------------------- 206cdf0e10cSrcweir 207cdf0e10cSrcweir /** is <TRUE/> if the characters are contoured. 208cdf0e10cSrcweir */ 209cdf0e10cSrcweir [property] boolean CharContoured; 210cdf0e10cSrcweir 211cdf0e10cSrcweir //------------------------------------------------------------------------- 212cdf0e10cSrcweir 213cdf0e10cSrcweir /** is <TRUE/> if the characters are shadowed. 214cdf0e10cSrcweir */ 215cdf0e10cSrcweir [property] boolean CharShadowed; 216cdf0e10cSrcweir 217cdf0e10cSrcweir //------------------------------------------------------------------------- 218cdf0e10cSrcweir 219cdf0e10cSrcweir /** contains the value of the text color. 220cdf0e10cSrcweir */ 221cdf0e10cSrcweir [property] com::sun::star::util::Color CharColor; 222cdf0e10cSrcweir 223cdf0e10cSrcweir //------------------------------------------------------------------------- 224cdf0e10cSrcweir 225cdf0e10cSrcweir /** contains the cell background color. 226cdf0e10cSrcweir */ 227cdf0e10cSrcweir [property] com::sun::star::util::Color CellBackColor; 228cdf0e10cSrcweir 229cdf0e10cSrcweir //------------------------------------------------------------------------- 230cdf0e10cSrcweir 231cdf0e10cSrcweir /** is <TRUE/> if the cell background is transparent. 232cdf0e10cSrcweir 233cdf0e10cSrcweir <p>In this case the <member>TableAutoFormatField::CellBackColor</member> 234cdf0e10cSrcweir value is not used.</p> 235cdf0e10cSrcweir */ 236cdf0e10cSrcweir [property] boolean IsCellBackgroundTransparent; 237cdf0e10cSrcweir 238cdf0e10cSrcweir //------------------------------------------------------------------------- 239cdf0e10cSrcweir 240cdf0e10cSrcweir /** contains a description of the shadow. 241cdf0e10cSrcweir */ 242cdf0e10cSrcweir [optional, property] com::sun::star::table::ShadowFormat ShadowFormat; 243cdf0e10cSrcweir 244cdf0e10cSrcweir //------------------------------------------------------------------------- 245cdf0e10cSrcweir 246cdf0e10cSrcweir /** specifies the horizontal alignment of the cell contents. 247cdf0e10cSrcweir */ 248cdf0e10cSrcweir [optional, property] com::sun::star::table::CellHoriJustify HoriJustify; 249cdf0e10cSrcweir 250cdf0e10cSrcweir //------------------------------------------------------------------------- 251cdf0e10cSrcweir 252cdf0e10cSrcweir /** specifies the vertical alignment of the cell contents. 253cdf0e10cSrcweir */ 254cdf0e10cSrcweir [optional, property] com::sun::star::table::CellVertJustify VertJustify; 255cdf0e10cSrcweir 256cdf0e10cSrcweir //------------------------------------------------------------------------- 257cdf0e10cSrcweir 258cdf0e10cSrcweir /** is <TRUE/> if text breaks automatically at cell borders. 259cdf0e10cSrcweir */ 260cdf0e10cSrcweir [optional, property] boolean IsTextWrapped; 261cdf0e10cSrcweir 262cdf0e10cSrcweir //------------------------------------------------------------------------- 263cdf0e10cSrcweir 264cdf0e10cSrcweir /** contains the orientation of the cell contents 265cdf0e10cSrcweir (i.e. top-to-bottom or stacked). 266cdf0e10cSrcweir */ 267cdf0e10cSrcweir [optional, property] com::sun::star::table::CellOrientation Orientation; 268cdf0e10cSrcweir 269cdf0e10cSrcweir //------------------------------------------------------------------------- 270cdf0e10cSrcweir 271cdf0e10cSrcweir /** contains the rotation angle of the cell contents. 272cdf0e10cSrcweir */ 273cdf0e10cSrcweir [optional, property] long RotateAngle; 274cdf0e10cSrcweir 275cdf0e10cSrcweir //------------------------------------------------------------------------- 276cdf0e10cSrcweir 277cdf0e10cSrcweir /** contains the reference egde of the cell rotation. 278cdf0e10cSrcweir */ 279cdf0e10cSrcweir [optional, property] com::sun::star::table::CellVertJustify RotateReference; 280cdf0e10cSrcweir 281cdf0e10cSrcweir //------------------------------------------------------------------------- 282cdf0e10cSrcweir 283cdf0e10cSrcweir /** contains the margin between cell contents and top border 284cdf0e10cSrcweir (in 1/100 mm). 285cdf0e10cSrcweir */ 286cdf0e10cSrcweir [optional, property] long ParaTopMargin; 287cdf0e10cSrcweir 288cdf0e10cSrcweir //------------------------------------------------------------------------- 289cdf0e10cSrcweir 290cdf0e10cSrcweir /** contains the margin between cell contents and bottom border 291cdf0e10cSrcweir (in 1/100 mm). 292cdf0e10cSrcweir */ 293cdf0e10cSrcweir [optional, property] long ParaBottomMargin; 294cdf0e10cSrcweir 295cdf0e10cSrcweir //------------------------------------------------------------------------- 296cdf0e10cSrcweir 297cdf0e10cSrcweir /** contains the margin between cell contents and left border 298cdf0e10cSrcweir (in 1/100 mm). 299cdf0e10cSrcweir */ 300cdf0e10cSrcweir [optional, property] long ParaLeftMargin; 301cdf0e10cSrcweir 302cdf0e10cSrcweir //------------------------------------------------------------------------- 303cdf0e10cSrcweir 304cdf0e10cSrcweir /** contains the margin between cell contents and right border 305cdf0e10cSrcweir (in 1/100 mm). 306cdf0e10cSrcweir */ 307cdf0e10cSrcweir [optional, property] long ParaRightMargin; 308cdf0e10cSrcweir 309cdf0e10cSrcweir //------------------------------------------------------------------------- 310cdf0e10cSrcweir 311cdf0e10cSrcweir /** property containing a description of the cell border. 312cdf0e10cSrcweir 313*fbef625eSJürgen Schmidt @since OpenOffice 1.1.2 314cdf0e10cSrcweir */ 315cdf0e10cSrcweir [optional, property] com::sun::star::table::TableBorder TableBorder; 316cdf0e10cSrcweir}; 317cdf0e10cSrcweir 318cdf0e10cSrcweir//============================================================================= 319cdf0e10cSrcweir 320cdf0e10cSrcweir}; }; }; }; 321cdf0e10cSrcweir 322cdf0e10cSrcweir//============================================================================= 323cdf0e10cSrcweir 324cdf0e10cSrcweir#endif 325cdf0e10cSrcweir 326