Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi Girvin,

Girvin Herr schrieb:
Greetings,
I am using Linux LO 3.6.7.2.  I see that Draw still has problems
rendering drawings correctly as an embedded object.

Any chance to use a more recent version? Many bugs have been fixed in the meantime.


I am editing small graphics figures in my document using Draw. These
figures contain a graphical outline of an item using lines, boxes and
circles as well as other details such as text, dimension arrows and lines.

Do you use Writer as target?


These figures are inserted as "objects" in my document, along with the
"figure" frame and title.

Do you have a special reason for using an OLE object instead of the drawing format? Because of the hangling of rulers and page margins in OLE objects I find it more precise to use the drawing format.

  The problem is that although the graphics
look perfect while in Draw, when I click outside the embedded draw
object to return to the document, parts of the figure are not rendered
properly in relation to the other graphics in the figure, such as boxes
and circles.  For example, the lines, arrows and text of the dimensions
are offset vertically about 3/8" (by the "ruler") below the boxes, lines
and circles of the item.  That will not do.

Have you checked, whether there is a bug report about such problems?

  The horizontal relationship
seems correct.  The error is only in the vertical plane.  I used the
print preview to verify these rendering errors are going to be printed
and they are.

What is the size of the original draw document? How large is the target area? Do you draw in 1:1 scaling?


Then I tried using Draw in stand-alone mode (not as an embedded object)
to export the figure as a jpeg or png file

That is the way I usually work. But why you are using raster graphic instead of vector graphic?

 and inserting that file into
the document.  I changed the Draw page margins to the 2" by 7.5" figure
in order to exclude all but the figure.  However, these export functions
only allow full page saves,

You can select the figure and check the option "Selection" in the export dialog.

 not the small 2" high by 7.5" wide figure I
need.  When inserting the file into the document, I get a lot of white
space and my figure is tiny.

You have to change the page size, not the margins, see (2) below.

 Changing the height and width parameters in
the Draw export window has strange effects and does not alter the full
page export.  Also the export width and height values interact with each
other and do not allow specific settings.  That is a moot point, since
they don't seem to work as expected anyway.

Width and height are bound together to keep ratio and are not intended to crop the drawing. If you get a wrong widths after setting dpi, simply set it again. Sometimes the dialog does not refresh correctly.


It certainly looks like I cannot get what I reliably need from Draw.

You can, but not the way you try it.

What I need to do should not be this difficult and frustrating.  Worst
case, I guess I could print the Draw figure, and use Xsane to scan and
save the area I need to insert into my document.  But that is silly and
time consuming.  Does anyone have a better solution?

(1) Add a temporarily borderless, white-filled rectangle behind the figure, which is a little bit larger than the figure. The rectangle in background helps, that hairlines along the edges does not disappear. Then mark rectangle and figure together. In the export dialog check "Selection". Set dpi suitable for printing (300 dpi) or screen (72-96 dpi).

or

(2) Define a new Draw document with a page size, which fits to your figure. Mark the figure, copy it to clipboard and paste it into the new document. Export the new drawing to .svg format or .wmf format, or in case of LibreOffice as target .svm format works as well.

Insert it into the target document via Insert > Picture.


or

(3) Group the figure and copy and paste that group into Writer as drawing format.

or

(4) Group the figure and drag it into the Gallery. In Writer open the Gallery and pull the figure from there.


If you feel only "printing" would help, then do not print, but export to .pdf and use the capture feature of the pdf-reader. That works e.g. nice for charts in Calc in that old LibeOffice versions.

Kind regards
Regina

--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.