/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/sxc/ |
H A D | CellStyle.java | 155 fmt.setAttribute(Format.BOLD, value.equals("bold")); in handleAttribute() 160 fmt.setAttribute(Format.ITALIC, true); in handleAttribute() 162 fmt.setAttribute(Format.ITALIC, false); in handleAttribute() 383 node.setAttribute("fo:text-align", "end"); in writeAttributes() 386 node.setAttribute("fo:text-align", "start"); in writeAttributes() 389 node.setAttribute("fo:text-align", "center"); in writeAttributes() 392 node.setAttribute("fo:vertical-align", "top"); in writeAttributes() 401 node.setAttribute("fo:font-weight", "bold"); in writeAttributes() 404 node.setAttribute("fo:font-style", "italic"); in writeAttributes() 430 node.setAttribute("fo:background-color", in writeAttributes() [all …]
|
H A D | SxcDocumentDeserializer.java | 216 tableElement.setAttribute(ATTRIBUTE_STYLE_NAME, fontTable[i++]); in initFontTable() 291 configItemMapIndexed.setAttribute(ATTRIBUTE_CONFIG_NAME, "Views"); in processSettings() 352 tableElement.setAttribute(ATTRIBUTE_TABLE_NAME, sheetName); in processTable() 356 tableElement.setAttribute(ATTRIBUTE_TABLE_STYLE_NAME, "Default"); in processTable() 514 rowElement.setAttribute(ATTRIBUTE_TABLE_STYLE_NAME, styleName); in processCells() 654 rowElement.setAttribute(ATTRIBUTE_TABLE_STYLE_NAME, "Default"); in addEmptyRows() 657 rowElement.setAttribute(ATTRIBUTE_TABLE_NUM_ROWS_REPEATED, in addEmptyRows() 733 cellElement.setAttribute(ATTRIBUTE_TABLE_VALUE_TYPE, type); in processCellData() 748 cellElement.setAttribute(ATTRIBUTE_TABLE_TIME_VALUE, in processCellData() 755 cellElement.setAttribute(ATTRIBUTE_TABLE_DATE_VALUE, in processCellData() [all …]
|
H A D | NameDefinition.java | 147 namedRangeElement.setAttribute(ATTRIBUTE_TABLE_NAME, getName()); in writeNode() 148 namedRangeElement.setAttribute(ATTRIBUTE_TABLE_BASE_CELL_ADDRESS, getBaseCellAddress()); in writeNode() 149 namedRangeElement.setAttribute(ATTRIBUTE_TABLE_CELL_RANGE_ADDRESS, getDefinition()); in writeNode() 155 namedExpressionElement.setAttribute(ATTRIBUTE_TABLE_NAME, getName()); in writeNode() 156 namedExpressionElement.setAttribute(ATTRIBUTE_TABLE_BASE_CELL_ADDRESS,getBaseCellAddress()); in writeNode() 157 namedExpressionElement.setAttribute(ATTRIBUTE_TABLE_EXPRESSION, getDefinition()); in writeNode()
|
H A D | BookSettings.java | 125 configItem.setAttribute(ATTRIBUTE_CONFIG_NAME, attribute); in addConfigItem() 126 configItem.setAttribute(ATTRIBUTE_CONFIG_TYPE, type); in addConfigItem() 143 configItemMapNamed.setAttribute(ATTRIBUTE_CONFIG_NAME, "Tables"); in writeNode()
|
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/ |
H A D | OfficeDocument.java | 694 domEntry.setAttribute(ATTRIBUTE_MANIFEST_FILE_TYPE, ""); in write() 703 domEntry.setAttribute(ATTRIBUTE_MANIFEST_FILE_TYPE, "text/xml"); in write() 775 rootElement.setAttribute("xmlns:svg","http://www.w3.org/2000/svg" ); in write() 784 rootElement.setAttribute("office:class","spreadsheet" ); in write() 786 rootElement.setAttribute("office:class","text" ); in write() 787 rootElement.setAttribute("office:version","1.0"); in write() 1056 root.setAttribute("office:version", "1.0"); in createSettingsDOM() 1100 root.setAttribute("xmlns:svg", "http://www.w3.org/2000/svg"); in createDOM() 1106 root.setAttribute("office:class", getOfficeClassAttribute()); in createDOM() 1107 root.setAttribute("office:version", "1.0"); in createDOM() [all …]
|
H A D | EmbeddedXMLObject.java | 256 contentNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_TYPE, "text/xml"); in writeManifestData() 257 contentNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_PATH, in writeManifestData() 266 settingsNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_TYPE, "text/xml"); in writeManifestData() 267 settingsNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_PATH, in writeManifestData() 276 stylesNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_TYPE, "text/xml"); in writeManifestData() 277 stylesNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_PATH, in writeManifestData() 284 objectNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_TYPE, objType); in writeManifestData() 285 objectNode.setAttribute(OfficeConstants.ATTRIBUTE_MANIFEST_FILE_PATH, in writeManifestData()
|
H A D | TextStyle.java | 581 node.setAttribute("fo:font-weight", "bold"); in writeAttributes() 585 node.setAttribute("fo:font-style", "italic"); in writeAttributes() 589 node.setAttribute("style:text-underline", "single"); in writeAttributes() 593 node.setAttribute("style:text-crossing-out", "single-line"); in writeAttributes() 597 node.setAttribute("style:text-position", "super 58%"); in writeAttributes() 601 node.setAttribute("style:text-position", "sub 58%"); in writeAttributes() 605 node.setAttribute("fo:font-size", fs.toString() + "pt"); in writeAttributes() 609 node.setAttribute("style:font-name", fontName); in writeAttributes() 612 node.setAttribute("fo:color", buildColorString(fontColor)); in writeAttributes() 615 node.setAttribute("style:text-background-color", in writeAttributes()
|
H A D | ParaStyle.java | 251 setAttribute(attr.getNodeName(), attr.getNodeValue()); in ParaStyle() 278 setAttribute(attribs[i], values[i]); in ParaStyle() 301 setAttribute(attribs[i], values[i]); in ParaStyle() 328 public void setAttribute(String attr, String value) { in setAttribute() method in ParaStyle 331 setAttribute(i, value); in setAttribute() 373 public void setAttribute(int attr, String value) { in setAttribute() method in ParaStyle 564 node.setAttribute(attrName[i], stringVal); in writeAttributes() 576 node.setAttribute(attrName[LINE_HEIGHT], stringVal); in writeAttributes() 588 node.setAttribute(attrName[TEXT_ALIGN], val); in writeAttributes()
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/output/text/ |
H A D | TextRawReportTarget.java | 416 style.setAttribute(OfficeNamespaces.STYLE_NS, NAME, styleName); in generateSectionStyle() 417 style.setAttribute(OfficeNamespaces.STYLE_NS, "family", "section"); in generateSectionStyle() 484 textProps.setAttribute(OfficeNamespaces.FO_NS, "font-variant", NORMAL); in createVariablesStyle() 485 textProps.setAttribute(OfficeNamespaces.FO_NS, "text-transform", NONE); in createVariablesStyle() 486 textProps.setAttribute(OfficeNamespaces.FO_NS, "color", "#ffffff"); in createVariablesStyle() 493 textProps.setAttribute(OfficeNamespaces.FO_NS, "font-size", "1pt"); in createVariablesStyle() 496 textProps.setAttribute(OfficeNamespaces.FO_NS, "font-style", NORMAL); in createVariablesStyle() 497 textProps.setAttribute(OfficeNamespaces.FO_NS, "text-shadow", NONE); in createVariablesStyle() 500 textProps.setAttribute(OfficeNamespaces.FO_NS, "font-weight", NORMAL); in createVariablesStyle() 508 textProps.setAttribute(OfficeNamespaces.STYLE_NS, "font-relief", NONE); in createVariablesStyle() [all …]
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ |
H A D | FormatValueUtility.java | 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() 105 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "string"); in applyValueForVariable() 111 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, STRING_VALUE, ""); in applyValueForVariable() 135 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE_TYPE, "float"); in applyValueForCell() [all …]
|
H A D | ObjectOleLayoutController.java | 86 …ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.NAMESPACE_ATTRIBUTE, JFreeReportInfo.RE… in delegateContentGeneration() 87 …ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.TYPE_ATTRIBUTE, OfficeToken.OBJECT_OLE); in delegateContentGeneration() 88 ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, "href", url); in delegateContentGeneration() 89 ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, "class-id", element.getClassid()); in delegateContentGeneration() 109 …ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, SDBCReportDataFactory.MASTER_COLUMNS, masterfie… in delegateContentGeneration() 110 … ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, SDBCReportDataFactory.MASTER_VALUES, values); in delegateContentGeneration() 111 …ole.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, SDBCReportDataFactory.DETAIL_COLUMNS, element.g… in delegateContentGeneration()
|
H A D | VariablesDeclarationLayoutController.java | 126 map.setAttribute(OfficeNamespaces.TEXT_NS, "name", varName); in advance() 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() 156 variableSection.setAttribute(OfficeNamespaces.TEXT_NS, "formula", "ooow:" + formula); in generateVariableSetSection()
|
H A D | ImageElementLayoutController.java | 108 …image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.NAMESPACE_ATTRIBUTE, JFreeReportInfo.… in generateImage() 109 … image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, Element.TYPE_ATTRIBUTE, OfficeToken.IMAGE); in generateImage() 110 image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, OfficeToken.SCALE, scale); in generateImage() 111 …image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, OfficeToken.PRESERVE_IRI, String.valueOf(pres… in generateImage() 112 image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, "image-context", createContext()); in generateImage() 113 image.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, OfficeToken.IMAGE_DATA, linkTarget); in generateImage()
|
H A D | FormattedTextLayoutController.java | 113 variablesGet.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, in delegateContentGeneration() 115 variablesGet.setAttribute(JFreeReportInfo.REPORT_NAMESPACE, in delegateContentGeneration() 117 variablesGet.setAttribute(OfficeNamespaces.TEXT_NS, "name", name); in delegateContentGeneration() 123 … variablesGet.setAttribute(OfficeNamespaces.STYLE_NS, "data-style-name", dataStyleName); in delegateContentGeneration() 127 … variablesGet.setAttribute(OfficeNamespaces.OFFICE_NS, FormatValueUtility.VALUE_TYPE, valueType); in delegateContentGeneration()
|
H A D | TableCellLayoutController.java | 68 …attributeMap.setAttribute(OfficeNamespaces.TABLE_NS, OfficeToken.STYLE_NAME, getDisplayStyleName((… in computeAttributes() 80 attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, in computeAttributes() 87 attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, in computeAttributes() 114 attributeMap.setAttribute(OfficeNamespaces.OFFICE_NS, in computeValue()
|
/trunk/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/converter/xml/xslt/ |
H A D | DocumentSerializerImpl.java | 126 rootElement.setAttribute("xmlns:style","http://openoffice.org/2000/style" ); in serialize() 127 rootElement.setAttribute("xmlns:text","http://openoffice.org/2000/text"); in serialize() 131 rootElement.setAttribute("xmlns:fo","http://www.w3.org/1999/XSL/Format" ); in serialize() 132 rootElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink" ); in serialize() 133 rootElement.setAttribute("xmlns:dc","http://purl.org/dc/elements/1.1/" ); in serialize() 134 rootElement.setAttribute("xmlns:meta","http://openoffice.org/2000/meta" ); in serialize() 136 rootElement.setAttribute("xmlns:svg","http://www.w3.org/2000/svg" ); in serialize() 138 rootElement.setAttribute("xmlns:dr3d","http://openoffice.org/2000/dr3d" ); in serialize() 140 rootElement.setAttribute("xmlns:form","http://openoffice.org/2000/form" ); in serialize() 143 rootElement.setAttribute("office:class","text" ); in serialize() [all …]
|
/trunk/test/testcommon/source/org/openoffice/test/common/ |
H A D | XMLReporter.java | 78 testcaseEl.setAttribute("name", description.getDisplayName()); in testStarted() 95 failureEl.setAttribute("message", failure.getMessage()); in testFailure() 96 failureEl.setAttribute("type", failure.getTestHeader()); in testFailure() 102 errorEl.setAttribute("message", failure.getMessage()); in testFailure() 103 errorEl.setAttribute("type", failure.getTestHeader()); in testFailure() 122 ignoredEl.setAttribute("message", ignore.value()); in testIgnored() 158 testsuiteEl.setAttribute("name", suiteName); in startSuite() 171 testsuiteEl.setAttribute("errors", Long.toString(errors)); in store() 172 testsuiteEl.setAttribute("tests", Long.toString(tests)); in store() 191 prop.setAttribute("name", "" + e.getKey()); in store() [all …]
|
H A D | DataSheet.java | 62 workBookEl.setAttribute("xmlns", "urn:schemas-microsoft-com:office:spreadsheet"); in DataSheet() 63 workBookEl.setAttribute("xmlns:ss", "urn:schemas-microsoft-com:office:spreadsheet"); in DataSheet() 87 worksheetEl.setAttribute("ss:Name", sheetName); in getTableElement() 103 dataEl.setAttribute("ss:Type", "Number"); in addRow() 106 dataEl.setAttribute("ss:Type", "Boolean"); in addRow() 109 dataEl.setAttribute("ss:Type", "String"); in addRow() 112 dataEl.setAttribute("ss:Type", "String"); in addRow()
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/output/ |
H A D | OfficeDocumentReportTarget.java | 391 rootAttributes.setAttribute(OfficeNamespaces.OFFICE_NS, "version", in startReport() 1232 attrList.setAttribute(attrNamespace, key, in buildAttributeList() 1238 attrList.setAttribute(attrNamespace, key, in buildAttributeList() 1456 frameList.setAttribute(OfficeNamespaces.SVG_NS, "z-index", "0"); in startImageProcessing() 1465 frameList.setAttribute(OfficeNamespaces.SVG_NS, in startImageProcessing() 1471 frameList.setAttribute(OfficeNamespaces.SVG_NS, in startImageProcessing() 1479 imageList.setAttribute(OfficeNamespaces.XLINK_NS, "show", "embed"); in startImageProcessing() 1687 oleList.setAttribute(OfficeNamespaces.XLINK_NS, "href", "./" + href); in startChartProcessing() 1688 oleList.setAttribute(OfficeNamespaces.XLINK_NS, "type", "simple"); in startChartProcessing() 1689 oleList.setAttribute(OfficeNamespaces.XLINK_NS, "show", "embed"); in startChartProcessing() [all …]
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/output/spreadsheet/ |
H A D | SpreadsheetRawReportTarget.java | 232 … attrs.setAttribute(OfficeNamespaces.DRAWING_NS, "z-index", String.valueOf(shapes.size())); in startOther() 407 … attrs.setAttribute(OfficeNamespaces.TABLE_NS, OfficeToken.STYLE_NAME, style.getStyleName()); in processElement() 424 textProperties.setAttribute(OfficeNamespaces.FO_NS, i, null); in processElement() 426 textProperties.setAttribute(OfficeNamespaces.TEXT_NS, "display", null); in processElement() 429 textProperties.setAttribute(OfficeNamespaces.STYLE_NS, i, null); in processElement() 438 … props.setAttribute(OfficeNamespaces.FO_NS, OfficeToken.BACKGROUND_COLOR, null); in processElement() 443 attrs.setAttribute(OfficeNamespaces.TABLE_NS, OfficeToken.STYLE_NAME, styleName); in processElement() 476 attrs.setAttribute(namespace, NUMBERCOLUMNSSPANNED, "" + span); in processElement() 624 tableColumnProperties.setAttribute(style.getNamespace(), in createTableColumns() 761 tableAttributes.setAttribute(OfficeNamespaces.TABLE_NS, "name", "Report"); in startContent() [all …]
|
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/ |
H A D | PocketExcelDecoder.java | 411 fmt.setAttribute(Format.ITALIC, fd.isItalic()); in readCellFormat() 412 fmt.setAttribute(Format.BOLD, fd.isBold()); in readCellFormat() 413 fmt.setAttribute(Format.UNDERLINE, fd.isUnderline()); in readCellFormat() 419 fmt.setAttribute(Format.WORD_WRAP, xf.isWordWrap()); in readCellFormat() 421 fmt.setAttribute(Format.TOP_BORDER, xf.isBorder(ExtendedFormat.TOP_BORDER)); in readCellFormat() 422 fmt.setAttribute(Format.BOTTOM_BORDER, xf.isBorder(ExtendedFormat.BOTTOM_BORDER)); in readCellFormat() 423 fmt.setAttribute(Format.RIGHT_BORDER, xf.isBorder(ExtendedFormat.RIGHT_BORDER)); in readCellFormat() 424 fmt.setAttribute(Format.LEFT_BORDER, xf.isBorder(ExtendedFormat.LEFT_BORDER)); in readCellFormat()
|
/trunk/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/ |
H A D | DocumentDeserializerImpl.java | 260 spaceNode.setAttribute(ATTRIBUTE_SPACE_COUNT, new Integer(nrSpaces).toString()); in parseText() 387 currPara.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, pStyle.getName()); in buildDocument() 433 textSpanNode.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, trStyle.getName()); in buildDocument() 506 fontNode.setAttribute(ATTRIBUTE_STYLE_NAME, "Arial"); in buildDocument() 507 fontNode.setAttribute(ATTRIBUTE_FO_FONT_FAMILY, "Arial"); in buildDocument() 508 fontNode.setAttribute(ATTRIBUTE_STYLE_FONT_PITCH, "variable"); in buildDocument() 512 fontNode.setAttribute(ATTRIBUTE_STYLE_NAME, "Arioso"); in buildDocument() 513 fontNode.setAttribute(ATTRIBUTE_FO_FONT_FAMILY, "Arioso"); in buildDocument() 514 fontNode.setAttribute(ATTRIBUTE_STYLE_FONT_PITCH, "variable"); in buildDocument()
|
/trunk/main/scripting/java/com/sun/star/script/framework/container/ |
H A D | ParcelDescriptor.java | 214 e.setAttribute("language", language); in setLanguage() 401 root.setAttribute("language", script.getLanguage()); in addScriptEntry() 404 item.setAttribute("lang", "en"); in addScriptEntry() 406 tempitem.setAttribute("value", script.getLogicalName()); in addScriptEntry() 421 item.setAttribute("value", script.getLogicalName()); in addScriptEntry() 425 item.setAttribute("value", script.getLanguageName()); in addScriptEntry() 436 tempitem.setAttribute("name", key); in addScriptEntry() 437 tempitem.setAttribute("value", (String)languagedepprops.get(key)); in addScriptEntry()
|
/trunk/main/xmerge/java/pocketword/src/main/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/ |
H A D | DocumentDeserializerImpl.java | 174 paraNode.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, in buildDocument() 180 paraNode.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, pStyle.getName()); in buildDocument() 200 span.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, ts.getName()); in buildDocument() 204 span.setAttribute(ATTRIBUTE_TEXT_STYLE_NAME, in buildDocument()
|
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/model/ |
H A D | OfficeStyle.java | 53 setAttribute(OfficeNamespaces.STYLE_NS, "name", name); in setStyleName() 70 setAttribute(OfficeNamespaces.STYLE_NS, "parent-style-name", parentName); in setStyleParent() 80 setAttribute(OfficeNamespaces.STYLE_NS, "family", family); in setStyleFamily()
|