Java Mailing List Archive

http://www.junlu.com/

Home » Post all your questions about iText here »

Re: [iText-questions] Quadrant in Itext

Neha Yadav

2010-03-16

Replies: Find Java Web Hosting

Author LoginPost Reply

I have defined these 4 column -

1:
llx = leftmargin;
lly = Y / 2 + gutter / 2;
urx = X / 2 - gutter / 2;
ury = Y - topmargin;

2:
llx = X / 2 + gutter / 2;
lly = Y / 2 + gutter / 2;
urx = X - rightmargin;
ury = Y - topmargin;

3:
llx = leftmargin;
lly = bottommargin;
urx = X / 2 - gutter / 2;
ury = Y / 2 - gutter / 2;

4:
llx = X / 2 + gutter / 2;
lly = bottommargin;
urx = X - rightmargin;
ury = Y / 2 - gutter / 2;

but where I have to pass these 4 columns?
in setSimpleColumn() or anything else?

1T3XT info wrote:
>
> Neha Yadav wrote:
>> Thank you Paulo.
>>       I have used column Text,it's working and now am able to create
>> 2
>> columns but now I want to divide a page into 2 rows and 2 columns. Would
>> you help me to fix the problem. Please send me a sample code if you have
>> any.
>
> What is your problem?
>
> If your page has size X x Y, then you define these four columns:
>
> 1:
> llx = leftmargin;
> lly = Y / 2 + gutter / 2;
> urx = X / 2 - gutter / 2;
> ury = Y - topmargin;
>
> 2:
> llx = X / 2 + gutter / 2;
> lly = Y / 2 + gutter / 2;
> urx = X - rightmargin;
> ury = Y - topmargin;
>
> 3:
> llx = leftmargin;
> lly = bottommargin;
> urx = X / 2 - gutter / 2;
> ury = Y / 2 - gutter / 2;
>
> 4:
> llx = X / 2 + gutter / 2;
> lly = bottommargin;
> urx = X - rightmargin;
> ury = Y / 2 - gutter / 2;
>
> I don't see the problem. This is simple math isn't it?
> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> iText-questions@(protected)
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
>
>

--
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
©2008 junlu.com - Jax Systems, LLC, U.S.A.