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

            Bug ID: 172901
           Summary: Impress metafile SVM fails to transfer properly to
                    powerpoint format
           Product: LibreOffice
           Version: 26.2.4.2 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I suspect the issue stems from incorrect coordinate/viewport mapping during the
PPT/PPTX export process.

In my presentations (which contain multiple chemical molecule diagrams), most
images appear entirely blank after export. However, a few show partial
rendering where the molecule is heavily misaligned or shifted off-center. This
indicates that the drawing's coordinate origin isn't being calculated properly
relative to its bounding box, causing to render outside the visible viewport
and get cropped out.

Steps to Reproduce:
1. Open a file in LibreOffice Draw that contains an SVM metafile which isn't
positioned at the top-left corner. (Here, I placed it near the edge to
visualize the issue, but it often results in a completely blank image).

2. Go to File > Save As (or any save option), select PPT or PPTX format, and
save a copy.

3. If you open the exported PPT/PPTX file in LibreOffice or PowerPoint, you
will see the bounding box for the image, but it is either blank or misaligned.

Actual Results:
pptx file shows blank or moved image from what the original odp impress file
showed.

Expected Results:
pptx file should show the same viewpoint as the odp impress file.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.4.2 (X86_64)
Build ID: 0229ac93fcf0d7cbc6376066c6f35021cef002dc
CPU threads: 4; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded

I also tried bypassing the issue by converting the svm to a bitmap, but there
are two different conversion options that yield different results.

The right-click convert to bitmap works as intended, but it doesn't provide a
DPI option, leaving the image super blurry. On the other hand, saving the
selection as a bitmap excludes certain elements (like letters/text) and
defaults to a black background—though the background is easily fixed, so that's
less of a problem. (Also no DPI option so kind of blurry)

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

Reply via email to