Bug 89077 - Allow PNG JPG image export with "Selection" to limit to selected text or table
Summary: Allow PNG JPG image export with "Selection" to limit to selected text or table
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 133669 (view as bug list)
Depends on:
Blocks: Graphics-Export
  Show dependency treegraph
 
Reported: 2015-02-03 12:40 UTC by bjoern.schormann
Modified: 2023-01-28 22:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Testpage with few lines of text and some shapes (9.61 KB, application/vnd.oasis.opendocument.text)
2017-10-23 08:43 UTC, bjoern.schormann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bjoern.schormann 2015-02-03 12:40:16 UTC
Have a document with a few lines of text, mark e.g. last three lines, select export and "selection" and export to JPG. 

Result: Whole page is exported.
Comment 1 Buovjaga 2015-02-07 12:21:42 UTC
Confirmed on Windows. On Linux I get a blank image (full page size)!

Win 7 Pro 64-bit, LibO Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: fi_FI

Ubuntu 14.10 64-bit
Version: 4.4.0.3
Build ID: 40m0(Build:3)
Locale: en_US
Comment 2 Francesco Frassinelli 2015-06-10 17:24:00 UTC
On Linux, png export (In reply to Beluga from comment #1)
> On Linux I get a blank image (full page size)!

Look at: https://bugs.documentfoundation.org/show_bug.cgi?id=90604

This bug affects PDF and HTML exports too.
dIt could be related with this: https://bugs.documentfoundation.org/show_bug.cgi?id=40163

Fedora 22 Workstation x86_64
Version: 4.4.3.2
Build ID: 4.4.3.2-5.fc22
Locale: it_IT
Comment 3 QA Administrators 2016-09-20 10:01:38 UTC Comment hidden (obsolete)
Comment 4 bjoern.schormann 2016-09-20 11:06:49 UTC Comment hidden (obsolete)
Comment 5 Xisco Faulí 2017-09-29 08:52:51 UTC Comment hidden (obsolete)
Comment 6 bjoern.schormann 2017-09-29 10:42:36 UTC
Bug still present in current Libre Office Writer Version 5.3.6.1 (x64) on Windows7 64bit.
Comment 7 Buovjaga 2017-10-22 16:29:51 UTC
I don't think it's meant to work like you describe. It works just fine, if you select objects like shapes.

So.. this would be kind of an enhancement to the export.

Björn: do you have an example of some other application having this feature?
Comment 8 bjoern.schormann 2017-10-23 08:43:47 UTC
Created attachment 137229 [details]
Testpage with few lines of text and some shapes

Hi Buovjaga, 

I tried it on a shape object (see the attached test doc) and also using the export command and select "selection" exported the whole page and not only the one shape, I have had selected.

I do not have a app at hand especially offering export to picture of selected parts.

But IMHO when you select object(s) and start a task offering the choice to just work on "selection" I would expect this to operate only on the selection.

Some Apps also have that behavior when not explicitly limit the action to the current selection. What comes to mind here is Thunderbird: If you get an email and select parts of the original text (maybe just as an reminder on what topic to focus on in the answer) and you hit "reply" -> then only the selected text of the original e-Mail will be kept in the reply.
Comment 9 Buovjaga 2017-10-23 08:56:31 UTC
Ah, apologies: there was actually a recent bug fix to exporting selection. It works with the 6.0 alpha version, but not yet with 5.4.x. You can get the alpha here: https://dev-builds.libreoffice.org/pre-releases/
Comment 10 bjoern.schormann 2017-10-23 09:21:50 UTC Comment hidden (obsolete)
Comment 11 Timur 2020-06-04 21:45:03 UTC
*** Bug 133669 has been marked as a duplicate of this bug. ***
Comment 12 Timur 2020-06-05 06:38:54 UTC
Help on export (found with search because F1 doesn't work on that dialog) is https://help.libreoffice.org/7.1/en-US/text/shared/01/01070001.html. It's general but via two links we come to https://help.libreoffice.org/7.1/en-US/text/shared/00/00000200.html which says "When you export graphical elements to a file.."
So this may be enhancement, as marked.