1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_text_Cell_idl__ 25#define __com_sun_star_text_Cell_idl__ 26 27#ifndef __com_sun_star_text_CellProperties_idl__ 28#include <com/sun/star/text/CellProperties.idl> 29#endif 30 31#ifndef __com_sun_star_table_CellProperties_idl__ 32#include <com/sun/star/table/CellProperties.idl> 33#endif 34 35#ifndef __com_sun_star_table_XCell_idl__ 36#include <com/sun/star/table/XCell.idl> 37#endif 38 39#ifndef __com_sun_star_text_XText_idl__ 40#include <com/sun/star/text/XText.idl> 41#endif 42 43//============================================================================= 44 45module com { module sun { module star { module text { 46 47//============================================================================= 48 49/** represents a singe cell within a text table. 50 51 @see com::sun::star::text::TextTable 52 */ 53service Cell 54{ 55 //------------------------------------------------------------------------- 56 /** contains the properties of the text table cell. 57 */ 58 service com::sun::star::text::CellProperties; 59 60 //------------------------------------------------------------------------- 61 /** contains properties from table cells. 62 63 <p>All of these properties are either already availbale in the 64 service 65 <type scope="com::sun::star::text">CellProperties</type>, 66 or get matched against one of those or are implemented 67 non-functional since they serve no purpose for text tables.</p> 68 69 <p>The complete list is as follows:</p> 70 <ul> 71 <li>CellStyle: optional property, not implemented.</li> 72 <li>CellBackColor: matched to 'BackColor'.</li> 73 <li>IsCellBackgroundTransparent: matched to 'BackTransparent'.</li> 74 <li>HoriJustify: non-functional implementation.</li> 75 <li>VertJustify: non-functional implementation.</li> 76 <li>IsTextWrapped: non-functional implementation.</li> 77 <li>ParaIndent: non-functional implementation.</li> 78 <li>Orientation: non-functional implementation.</li> 79 <li>RotateAngle: non-functional implementation.</li> 80 <li>RotateReference: non-functional implementation.</li> 81 <li>AsianVerticalMode: optional property, not implemented.</li> 82 <li>TableBorder: non-functional implementation.</li> 83 <li>TopBorder: already available.</li> 84 <li>BottomBorder: already available.</li> 85 <li>LeftBorder: already available.</li> 86 <li>RightBorder: already available.</li> 87 <li>NumberFormat: already available.</li> 88 <li>ShadowFormat: non-functional implementation.</li> 89 <li>CellProtection: non-functional implementation.</li> 90 </ul> 91 92 @since OOo 2.0 93 */ 94 service com::sun::star::table::CellProperties; 95 96 //------------------------------------------------------------------------- 97 98 /** provides access to the cell contents. 99 */ 100 interface com::sun::star::table::XCell; 101 102 //------------------------------------------------------------------------- 103 104 /** provides access to formatted and unformatted text contents. 105 */ 106 interface com::sun::star::text::XText; 107 108}; 109 110//============================================================================= 111 112}; }; }; }; 113 114#endif 115 116