Searched refs:variableSection (Results 1 – 2 of 2) sorted by relevance
| /AOO42X/main/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ |
| H A D | FormatValueUtility.java | 65 … public static String applyValueForVariable(final Object value, final AttributeMap variableSection) in applyValueForVariable() argument 70 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "time"); in applyValueForVariable() 72 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, "time-value", ret); in applyValueForVariable() 76 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "date"); in applyValueForVariable() 78 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, "date-value", ret); in applyValueForVariable() 82 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "float"); in applyValueForVariable() 84 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, ret); in applyValueForVariable() 88 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "float"); in applyValueForVariable() 89 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, String.valueOf(value)); in applyValueForVariable() 93 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "boolean"); in applyValueForVariable() [all …]
|
| H A D | VariablesDeclarationLayoutController.java | 138 final AttributeMap variableSection = new AttributeMap(); in generateVariableSetSection() local 139 …variableSection.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.NAMESPACE_ATTRIBUTE, Office… in generateVariableSetSection() 140 …variableSection.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.TYPE_ATTRIBUTE, "variable-s… in generateVariableSetSection() 141 variableSection.setAttribute(OfficeNamespaces.TEXT_NS, "display", "none"); in generateVariableSetSection() 145 String formula = FormatValueUtility.applyValueForVariable(value, variableSection); in generateVariableSetSection() 156 variableSection.setAttribute(OfficeNamespaces.TEXT_NS, "formula", "ooow:" + formula); in generateVariableSetSection() 158 return variableSection; in generateVariableSetSection()
|