LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / reportbuilder / java / org / libreoffice / report / pentaho / star-report.css
blobb063d3563dbcad98a0fb2320b3bced723bfb7dd4
1 /*
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");
23 table|table {
24 display: table;
27 table|table-columns {
28 display: table-column-group;
31 table|table-column {
32 display: table-column;
35 table|table-row {
36 display: table-row;
39 table|table-cell {
40 display: table-cell;
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");
56 /**
57 * Style definitions for star report.
59 * {
60 vertical-align: baseline;
63 /**
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.
70 number
71 scientific
72 text
73 boolean
74 date
75 currency
76 percentage
77 fraction
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 {
87 /* to be filled */