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@namespace table url("urn:oasis:names:tc:opendocument:xmlns:table:1.0"); 22@namespace text url("urn:oasis:names:tc:opendocument:xmlns:text:1.0"); 23@namespace report url("http://openoffice.org/2005/report"); 24 25table|table { 26 display: table; 27} 28 29table|table-columns { 30 display: table-column-group; 31} 32 33table|table-column { 34 display: table-column; 35} 36 37table|table-row { 38 display: table-row; 39} 40 41table|table-cell { 42 display: table-cell; 43} 44 45table|table-cell[number-columns-spanned], 46table|table-cell[number-columns-spanned], 47table|table-columns[number-columns-spanned], 48table|table-column[number-columns-spanned] { 49 -x-liblayout-colspan: attr("table|number-columns-spanned"); 50} 51 52table|table-cell[number-rows-spanned], 53table|table-cell[number-rows-spanned] { 54 -x-liblayout-rowspan: attr("table|number-rows-spanned"); 55} 56 57 58/** 59 * Style definitions for star report. 60*/ 61* { 62 vertical-align: baseline; 63} 64 65/** 66 * A standard number format declaration. The number of decimal places 67 * and whether there is grouping is defined by the format string. 68 * 69 * The position and content of embedded text is also derived directly from 70 * the given format string text. 71 72 number 73 scientific 74 text 75 boolean 76 date 77 currency 78 percentage 79 fraction 80 81*/ 82@format number myname { 83 -x-liblayout-decimal-replacement: "-"; 84 -x-liblayout-display-factor: 1000; 85 content: "'Prefix'#,##0.00'postfix'"; 86} 87 88@format scientific anothername { 89 /* to be filled */ 90} 91 92 93 94