https://bugs.documentfoundation.org/show_bug.cgi?id=173710
Bug ID: 173710
Summary: FILEOPEN PPTX: document language
(a:defPPr/a:defRPr/@lang) is ignored, the system
locale is used instead
Product: LibreOffice
Version: 26.8.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: accessibility, filter:pptx
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Blocks: 139007
Created attachment 208729
--> https://bugs.documentfoundation.org/attachment.cgi?id=208729&action=edit
PPTX with defPPr lang="uk-UA" and dc:language uk-UA - opens as en-US
Impress ignores the default language of a PPTX
(p:defaultTextStyle/a:defPPr/a:defRPr/@lang in presentation.xml, where
PowerPoint writes it) and uses the system locale instead.
Steps: with an en-US system locale, open the attached PPTX (lang="uk-UA"), then
save as ODP or export as tagged PDF.
Actual: document language en-US, PDF catalog /Lang en-US.
Expected: uk-UA, as with the attached ODP.
Export has the same gap: LibreOffice writes only dc:language to PPTX, so a
round-trip also ends up en-US.
oox never sets CharLocale on com.sun.star.drawing.Defaults, unlike the ODF
import. The DOCX import in Writer does the equivalent from w:docDefaults.
Reproduced on 26.8.0.3 and master, macOS.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=139007
[Bug 139007] [META] PDF accessibility
--
You are receiving this mail because:
You are the assignee for the bug.