2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 @namespace table url
("urn:oasis:names:tc:opendocument:xmlns:table:1.0");
20 @namespace text url
("urn:oasis:names:tc:opendocument:xmlns:text:1.0");
21 @namespace report url
("http://openoffice.org/2005/report");
28 display: table-column-group
;
32 display: table-column
;
43 table|table-cell
[number-columns-spanned
],
44 table|table-cell
[number-columns-spanned
],
45 table|table-columns
[number-columns-spanned
],
46 table|table-column
[number-columns-spanned
] {
47 -x-liblayout-colspan: attr
("table|number-columns-spanned");
50 table|table-cell
[number-rows-spanned
],
51 table|table-cell
[number-rows-spanned
] {
52 -x-liblayout-rowspan: attr
("table|number-rows-spanned");
57 * Style definitions for star report.
60 vertical-align: baseline
;
64 * A standard number format declaration. The number of decimal places
65 * and whether there is grouping is defined by the format string.
67 * The position and content of embedded text is also derived directly from
68 * the given format string text.
80 @format number myname
{
81 -x-liblayout-decimal-replacement: "-";
82 -x-liblayout-display-factor: 1000;
83 content: "'Prefix'#,##0.00'postfix'";
86 @format scientific anothername
{