Обратите внимание, вот первый ошибочный тэг:
-------------------------------------------------------------------------------
<style:paragraph-properties
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
fo:color="#000000"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
fo:font-size="12pt"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
fo:language="none"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
fo:country="none"
style:text-autospace="ideograph-alpha"
style:punctuation-wrap="hanging" style:line-break="strict"
style:writing-mode="page"/>
-------------------------------------------------------------------------------

Вот второй:
-------------------------------------------------------------------------------
<style:page-layout-properties
fo:page-width="20.999cm"
fo:page-height="29.699cm"
style:num-format="1"
style:print-orientation="portrait"
fo:margin-top="2cm"
fo:margin-bottom="2cm"
fo:margin-left="2cm"
fo:margin-right="0cm"
style:writing-mode="lr-tb"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
style:footnote-max-height="0cm">
-------------------------------------------------------------------------------

А в файле content.xml он сругался на такой тэг:
-------------------------------------------------------------------------------
<style:table-cell-properties
fo:background-color="transparent"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
fo:background-color="#ffffff">
-------------------------------------------------------------------------------

В общем проблема была в повторяющихся атрибутах, убил я их и было
счастье. Причём атрибуты повторялись разные.

Ребята, ИМХО это баг. Я на исправление документа убил час, а сколько на
его исправление убъёт обычный пользователь?

Думаю надо постить. Прикрепляю к письму исправленный файл.

-- 
С уважением, Сергей.


Attachment: sert.odt
Description: application/vnd.oasis.opendocument.text

_____________________________________________________
Oo-discuss mailing list
Oo-discuss at openoffice.ru
https://lists.openoffice.ru/mailman/listinfo/oo-discuss

Ответить