Bug 160640 - Text convert to a meta file wrong
Summary: Text convert to a meta file wrong
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 14:01 UTC by Luca Rodenhäuser
Modified: 2024-04-13 13:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Rodenhäuser 2024-04-12 14:01:10 UTC
Text that has been converted to a mata file is converted back to text during export.

In this video better to see:
https://youtu.be/UzmLOht1KJ0
Comment 1 V Stuart Foote 2024-04-12 19:27:38 UTC
Can not confirm, the ODF archive is saved with both an x-svm meta file (from StarOffice legacy) and with a PNG raster. There will be a transformation applied as needed to position or 

If I rotate or flip the textbox, on save and export to PDF the transforms for the meta file are used for writing the PDF.

And if I extract the .svm or .png from the pictures directory of the ODF archive, they behave as an image (i.e. the .svm text is not annotation).

This is true for both sd modules, Impress or Draw.

Version: 24.2.2.1 (X86_64) / LibreOffice Community
Build ID: bf759d854b5ab45b6ef0bfd22e51c6dc4fb8b882
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 2 Luca Rodenhäuser 2024-04-12 20:26:35 UTC
I will, that the Text is a meta file (Text to SVG). When I use the function in Impress, in Impress it converts, but when I export th e to a meta file converted Text it's in the pdf against Text and not how I want it a meta file.
Comment 3 V Stuart Foote 2024-04-12 21:28:12 UTC
(In reply to Luca Rodenhäuser from comment #2)
> I will, that the Text is a meta file (Text to SVG). When I use the function
> in Impress, in Impress it converts, but when I export th e to a meta file
> converted Text it's in the pdf against Text and not how I want it a meta
> file.

Sorry, but that makes no sense. PDF is not a meta-file format (i.e. a vector image). It you need a vector image format--export the Impress slide or Draw page as a vector file, you have EMF, SVG, WMF to choose from.

Otherwise, the x-svm .svm held within the ODF archive's Pictures directory (the ODF archive just a Zip file) that can be extracted. And the .svm opened directly as a Draw image.
Comment 4 Luca Rodenhäuser 2024-04-13 07:19:26 UTC
I mean, when I Export the odf file, the Text which I converted (to a meta file) in Impress, is in the PDF Text
Comment 5 V Stuart Foote 2024-04-13 13:48:38 UTC
(In reply to Luca Rodenhäuser from comment #4)
> I mean, when I Export the odf file, the Text which I converted (to a meta
> file) in Impress, is in the PDF Text

And?

The native .svm (StarView Meta image) contains the text spans within the meta image, as do SVG, EMF or WMF formats. Why would you expect those text runs to not be present in an export PDF embedding the meta image?

If you need them as unsearchable bitmaps, "Convert to bitmap" rather than the "Convert to meta" for textbox selected from Impress slide or Draw page.

Or you could select the text box, then use one of the bitmap formats to Export just the selected text box. Then insert back into your slide or page for document export to PDF.

You could also use the Tools -> Redact utility to export non-searchable bitmap (with or without masking of the text).

We do not understand your work flow or the expected formatting in the pdf export, other than to say that the vector meta will contain the source text runs.