There is a method in PdfWriter that returns current verticalPosition,
However, there is no setter defined. One option is to patch it to set the
position(simply increment the currentHeight value in document). Alternative
to patch would be to somehow put dummy empty space before your table. For
example, you might set table.setSpacingBefore(requestedSpace) or
spacingAfter or add a dummy table with one cell of fixedHeight(requested
spacing) and add that table to document using document.add(). I guess there
are a couple ways you can achieve this, see which one fits the best.

On Mon, Oct 18, 2010 at 6:28 AM, riffla <rif...@hotmail.com> wrote:

>
> Is it possible to set a vertical starting point when start floating
> objects?
> When mixing absolute and relative positions, I need a way to set a fix
> starting point with the meaning "Hey renderer, when laying out objects at
> your own will, that's OK, but start from this vertical position".
> And I want to be able to set this runtime, not by setting the margins and
> such
>
> /R
> --
> View this message in context:
> http://itext-general.2136553.n4.nabble.com/Simple-question-about-flowing-objects-tp2999965p2999965.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>



-- 
Nurettin DAG
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to