https://bugs.documentfoundation.org/show_bug.cgi?id=148952

Michael Stahl (allotropia) <michael.st...@allotropia.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.st...@allotropia.de
                   |                            |, mikekagan...@hotmail.com,
                   |                            |vasily.melenc...@cib.de,
                   |                            |vmik...@collabora.com
           Assignee|libreoffice-b...@lists.free |michael.st...@allotropia.de
                   |desktop.org                 |

--- Comment #3 from Michael Stahl (allotropia) <michael.st...@allotropia.de> ---
we find this code in DocxAttributeOutput::FlyFrameGraphic()

    if( GetExport().GetFilter().getVersion( ) != oox::core::ECMA_DIALECT )
        docPrattrList->add( XML_title, OUStringToOString( pGrfNode ?
pGrfNode->GetTitle() : pOLEFrameFormat->GetObjTitle(), RTL_TEXTENCODING_UTF8
));

it turns out that in ISO 29500:2008, in ECMA-376 2nd edition, 3rd edition,
presumably up to 5th edition (yes that was released in 2021), the wp:docPr may
have a "title" attribute.

but in ECMA-376 1st edition, the wp:docPr does not have a "title" attribute.

what exactly does our "OoxmlVersion::ECMA_DIALECT" correspond to, if there are
5 editions to choose from?

saving the attached with "Office Open XML Text (Transitional)" results in:
            <wp:docPr id="1" name="ImName" descr="ImDesc" title="ImAltText"/>

saving the attached with "Word 2007-365" results in:
            <wp:docPr id="1" name="ImName" descr="ImDesc"/>

... and i've always thought the "2007-365" supports more features/extensions?

is it supposed to mean "ECMA-376 1st edition" specifically? but why is it named
"365" then?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to