Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » size of static images
size of static images [message #1768908] Mon, 24 July 2017 20:26 Go to next message
Reinhold Usolf is currently offline Reinhold UsolfFriend
Messages: 18
Registered: December 2016
Junior Member

I am using the <image> tag to insert png pictures into the generated ODT document depending on some variable:
<image filePath='picture_[someVariable/].png'  ...

The pictures have different sizes and I want:

  • large pictures should not exceed the width of the drawing area (in OpenOffice it's called a frame) defined in the template ODT, and
  • pictures smaller than the drawing area should stay small.

I have tried now all possible combinations of maxW and keepW, the result is always the same: all pictures, small and large, are maximized to the width of the drawing area. This looks horrible for small pictures.

Any ideas what I can do?
Re: size of static images [message #1769377 is a reply to message #1768908] Mon, 31 July 2017 08:04 Go to previous message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
Hello it is strange maxH='true' and maxW='true' should do the work ... if it is not the case can you open a bug with the template ?

Previous Topic:tables with sub cells
Next Topic:Datas from use case with associated activity diagram
Goto Forum:

Current Time: Thu Feb 29 15:22:10 GMT 2024

Powered by FUDForum. Page generated in 0.02382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top