Hi Bernmeister,
You can do that. Take the block element, where your user can put the text in.
Give it an ID. Render to the area tree. Use Xpath and the ID to find the block.
Ask for ist height. Use this height/1000 (+ paddings, spaces, ...) to set the
extent.
private org.w3c.dom.Document
Ok,
Thanks for your answer,
--
Lmhelp
--
View this message in context:
http://www.nabble.com/RE%3A-inline---Added-extra-spaces-tp23158530p23213413.html
Sent from the FOP - Users mailing list archive at Nabble.com.
-
To
Hi,
rant
There seems to be a misconception frequently found in the SVG/PDF
community that because vector graphics can be scaled with no change in
image quality, they are somehow 'independent' of notions of
resolution. Unfortunately, this isn't correct. Any piece of vector
image must be
Hi Martin,
Unless I misunderstood you, this is a different topic. If all the
dimensions in the file are given using absolute units (pt, mm, in,
etc.), then the file is indeed independent of any resolution. It is up
to the output device to convert those measures into the right amount of
pixels,
Hi,
Like you noticed the resolution only applies to images. I am slightly
puzzled by the way you compare both outputs: are you putting the sheet
of paper next to the screen and looking for differences?
Then note that the HTML result is likely to be highly different from one
environment to the
Thanks Georg for the quick response!
I must admit I'm not too familiar with java.xml.* package - just able to
render out a PDF and that's it. So I'm having difficulty following your
example.
Assuming I have a template.xsl file and a data.xml file, I assumed I would
have to simulate/emulate
Hi Vincent,
Having got my rant / off my chest, I won't argue with you - it is,
as you say, a little off-topic. My gripe is with the definition, not
the implementation!
best wishes,
Martin
On 24 Apr 2009, at 11:54, Vincent Hennebert wrote:
Hi Martin,
Unless I misunderstood you, this is
Hi Bernmeister,
Nope, sorry, I already send in the transformed fo file. But it hardly matters.
You don't change the input, you don't change the process, you only change the
output format and the result:
DOMResult domResult = new DOMResult();
handler.setResult(domResult);
Fop fop =
Hi,
Like you noticed the resolution only applies to images. I am slightly
puzzled by the way you compare both outputs: are you putting the sheet
of paper next to the screen and looking for differences?
I have a table with fixed-size width and a large chunk of text inside (so that
is