Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [MWEx] MediaWiki export filter fails to export fields | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | norbert2 <norbert.notz> | ||||||
Component: | code | Assignee: | mikhail.voytenko | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | haui, issues | ||||||
Version: | OOo 2.3 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
norbert2
2007-10-25 18:24:58 UTC
Created attachment 49159 [details]
issue_82978.odt
Created attachment 49165 [details] Patched transformation (revision 2730) Uuuups, there are a lot of fields. Transformation added for: text:date/text() | text:time/text() | text:page-number/text() | text:sender-firstname/text() | text:sender-lastname/text() | text:sender-initials/text() | text:sender-title/text() | text:sender-position/text() | text:sender-email/text() | text:sender-phone-private/text() | text:sender-fax/text() | text:sender-company/text() | text:sender-phone-work/text() | text:sender-street/text() | text:sender-city/text() | text:sender-postal-code/text() | text:sender-country/text() | text:sender-state-or-province/text() | text:author-name/text() | text:author-initials/text() | text:chapter/text() | text:file-name/text() | text:template-name/text() | text:sheet-name/text() | text:variable-get/text() | text:variable-input/text() | text:user-field-get/text() | text:user-field-input/text() | text:expression/text() | text:text-input/text() | text:initial-creator/text() | text:creation-date/text() | text:creation-time/text() | text:description/text() | text:user-defined/text() | text:print-date/text() | text:printed-by/text() | text:title/text() | text:subject/text() | text:keywords/text() | text:editing-cycles/text() | text:editing-duration/text() | text:modification-date/text() | text:creator/text() | text:modification-time/text() | text:page-count/text() | text:paragraph-count/text() | text:word-count/text() | text:character-count/text() | text:table-count/text() | text:image-count/text() | text:object-count/text() | text:database-display/text() | text:database-row-number/text() | text:database-name/text() | text:page-variable-get/text() | text:placeholder/text() | text:conditional-text/text() | text:hidden-text/text() | text:execute-macro/text() | text:dde-connection/text() | text:measure/text() | text:table-formula/text() Regards Bernhard If a patch file is prefered, here it is: > svn diff -r2730:2723 src/main/java/haui/office/wiki/transform/odt2wiki.xslt Index: src/main/java/haui/office/wiki/transform/odt2wiki.xslt =================================================================== --- src/main/java/haui/office/wiki/transform/odt2wiki.xslt (Revision 2730) +++ src/main/java/haui/office/wiki/transform/odt2wiki.xslt (Revision 2723) @@ -172,13 +172,13 @@ <template match="text:list"> <!-- Check, whether this list is used to implement the outline numbering - for headings. Such list must not be exported, because within the wiki, - automatic outline numbering is performed. An outline list has a single + for headings. Such list must not be exported since within the wiki, + autimatic outline numbering is performed. An outline list has a single text:h element as its single leaf grandchild. This method of section numbering seems not to be used when creating new documents with OpenOffice.org 2.2, but the document containing the - OpenDocument specification version 1.1 uses such numbering through nested + OpenDocument specification version 1.1 uses such numbering by nested lists. --> <choose> @@ -765,7 +765,7 @@ == Plain text == --> - <template match="text:p/text() | text:h/text() | text:span/text() | text:sequence/text() | text:sequence-ref/text() | text:a/text() | text:bookmark-ref/text() | text:reference-mark/text() | text:date/text() | text:time/text() | text:page-number/text() | text:sender-firstname/text() | text:sender-lastname/text() | text:sender-initials/text() | text:sender-title/text() | text:sender-position/text() | text:sender-email/text() | text:sender-phone-private/text() | text:sender-fax/text() | text:sender-company/text() | text:sender-phone-work/text() | text:sender-street/text() | text:sender-city/text() | text:sender-postal-code/text() | text:sender-country/text() | text:sender-state-or-province/text() | text:author-name/text() | text:author-initials/text() | text:chapter/text() | text:file-name/text() | text:template-name/text() | text:sheet-name/text() | text:variable-get/text() | text:variable-input/text() | text:user-field-get/text() | text:user-field-input/text() | text:expression/text() | text:text-input/text() | text:initial-creator/text() | text:creation-date/text() | text:creation-time/text() | text:description/text() | text:user-defined/text() | text:print-date/text() | text:printed-by/text() | text:title/text() | text:subject/text() | text:keywords/text() | text:editing-cycles/text() | text:editing-duration/text() | text:modification-date/text() | text:creator/text() | text:modification-time/text() | text:page-count/text() | text:paragraph-count/text() | text:word-count/text() | text:character-count/text() | text:table-count/text() | text:image-count/text() | text:object-count/text() | text:database-display/text() | text:database-row-number/text() | text:database-name/text() | text:page-variable-get/text() | text:placeholder/text() | text:conditional-text/text() | text:hidden-text/text() | text:execute-macro/text() | text:dde-connection/text() | text:measure/text() | text:table-formula/text()"> + <template match="text:p/text() | text:h/text() | text:span/text() | text:sequence/text() | text:sequence-ref/text() | text:a/text() | text:bookmark-ref/text() | text:reference-mark/text()"> <choose> <when test="boolean(./ancestor::table:table-header-rows | ./ancestor::text:h)"> <!-- Sorry, patch must be inverted... Reassigned to ES. @MAV: please have a look. Setting the issue as patch. The changes part related to the issue has been integrated into cws fwk80. mav->haui: Thanks a lot for the patch. By the way since not all of the changes from your versions hierarchy are accepted, could you please in future provide an attached diff file with the changes. This is actually the normal way to submit a patch. It will not take much time, but will simplify the integration. cd: Successfully verified on CWS fwk80. cd: Verified. Closing. |