RE: [iText-questions] LOADING ON SERVER SIDE

2002-10-24 Thread Paulo Soares
Why does the server crash? If you want many concurrent users you'll need
memory for that (if that's the problem).

Best Regards,
Paulo Soares

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, October 22, 2002 3:38
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] LOADING ON SERVER SIDE
> 
> I found the iText is easy for development.
> 
> However, when I finished the development on servlet
> and perform loading test.
> 
> and found the loading is great!
> and the application server will crash up to some limit. (about 20
> concurrent users)
> I just using 1000 hello word statement.
> 
> any optimization can I do on coding?
> 
> Thanks for advice.
> 
> 
> 
> Regards,
> Dickie Siu
> Information Technology, Asia Division
> Ext : 65655
> 
> 
> ==
> This message is confidential and may also be privileged.  If you are not
> the intended recipient, please notify me by return e-mail and delete this
> message from your system.  If you are not the intended recipient, any use
> by you of this message is strictly prohibited.
> 
> 
> 
> ---
> This sf.net emial is sponsored by: Influence the future of 
> Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) 
> program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
> http://www.sun.com/javavote
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This sf.net emial is sponsored by: Influence the future of 
Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) 
program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Using japanese fonts

2002-10-24 Thread Paulo Soares
It can be done and in fact that's what DefaultFontMapper does but it's your
responsability to do the mapping. iText can't guess in what directories you
have the fonts.

Best Regards,
Paulo Soares

> -Original Message-
> From: Shiran Fernando [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 24, 2002 5:36
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Using japanese fonts
> 
> Hi all,
>  
> I install msmincho.ttc (which has MS Minho and MS PMincho fonts) and try
> to use japanese fonts to create a pdf.
> When I use the method BaseFone.createFont() with either "MS Mincho" or "MS
> PMincho" font names it doesn't work. 
> But if I use font's file name with the path (i.e.
> "C:\\winnt\\fonts\\msmincho.ttc, 1") it works fine.
>  
> Is there a way to specify only the font name (e.g MS Mincho) and use it to
> generate a pdf ?
>  
> Thanks in advance,
> Shiran


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Resource exception....

2002-10-24 Thread Paulo Soares
The error says it all: you compiled the java but missed the AFM resources in
the com.lowagie.text.pdf.fonts package.

Best Regards,
Paulo Soares

> -Original Message-
> From: Tyler Marthaler [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 23, 2002 20:09
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Resource exception
> 
> I've compiled the itext code into a jar from the src of version 0.94,
> using jdk1.3. When I compile my code against the jar I've compiled I get
> the following exception:
> 
> ExceptionConverter: com.lowagie.text.DocumentException: Helvetica not
> found as resource.
> 
> 
> From the following source:
> 
> protected Font font=FontFactory.getFont(FontFactory.HELVETICA, 10);
> 
>  
> This doesn't happen when I use the precompiled jar.
>  
> Any ideas?
> 
> 
> ___
> Tyler Marthaler
> Director, West Coast Operations
> Random Walk Computing
> 171 2nd St, 4th Floor
> San Francisco, CA 94105
> (415)777-1369 (p)
> (415)777-1592 (f) 
> 


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Problem with wrapping and \n's in textcolumns

2002-10-24 Thread Scott McDaid
Hi all, I've got a problem writing text into a column (I'm actually taking
text from a form's . I'd like text that is wrapping (due to the
width of the column), and text after a newline to have the same leading,
but when I have a newline in the text, it leaves an extra blank line in
between, so the text looks pretty untidy.

I'm sure there must be an obvious way to fix this that I'm mising.
Any help appreciated.

e.g. if the column width is where the ^ is below

^

This is a longer line and will wrap at some point.
Want to finish this line here.
And this is the next line.


I get This is a longer line and will
wrap at some point.

Want to finish this line here.

And this is the next line.

---

In the code below, 'content' is a PdfContentByte.


protected void addTextColumn (String text, int bottom_x, int bottom_y, int top_x, int 
top_y)
throws IOException, DocumentException{

// If the text coming in is null, make sure we re-assign it to the empty string
if (text == null) { text = "xx"; }

// Create a base font and a Font to use based on this
BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.CP1252, 
BaseFont.NOT_EMBEDDED);
Font font = new Font(bf, 7, Font.NORMAL);

// Create the column and add the text
ColumnText ct = new ColumnText(content);
ct.setSimpleColumn(bottom_x, bottom_y, top_x, top_y, 7, Element.ALIGN_LEFT);
ct.addText(new Phrase(text, font));
ct.go();

} // end addTextColumn



Regards

Scott

-- 
Scott McDaid
lightershade
t: +44 131 514 4000 (office)
d: +44 131 514 4009 (direct dial)

-- 

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender. Any
offers or quotation of service are subject to formal specification.
Errors and omissions excepted.  Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of edNET or lightershade ltd. Finally, the
recipient should check this email and any attachments for the presence of
viruses.  edNET and lightershade ltd accepts no liability for any damage
caused by any virus transmitted by this email.

-- 
-- 
Virus scanned by edNET.


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



RE: [iText-questions] Problem with wrapping and \n's in textcolumns

2002-10-24 Thread Paulo Soares
Some time ago the sequence \r\n would yield two newlines instead of one as
expected. This was fixed in version 0.93.

Best Regards,
Paulo soares

> -Original Message-
> From: Scott McDaid [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 24, 2002 9:25
> To:   [EMAIL PROTECTED]
> Subject:  [iText-questions] Problem with wrapping and \n's in
> textcolumns
> 
> Hi all, I've got a problem writing text into a column (I'm actually taking
> text from a form's . I'd like text that is wrapping (due to the
> width of the column), and text after a newline to have the same leading,
> but when I have a newline in the text, it leaves an extra blank line in
> between, so the text looks pretty untidy.
> 
> I'm sure there must be an obvious way to fix this that I'm mising.
> Any help appreciated.
> 
> e.g. if the column width is where the ^ is below
> 
> ^
> 
> This is a longer line and will wrap at some point.
> Want to finish this line here.
> And this is the next line.
> 
> 
> I get This is a longer line and will
> wrap at some point.
> 
> Want to finish this line here.
> 
> And this is the next line.
> 
> ---
> 
> In the code below, 'content' is a PdfContentByte.
> 
> 
> protected void addTextColumn (String text, int bottom_x, int bottom_y, int
> top_x, int top_y)
>   throws IOException, DocumentException{
> 
>   // If the text coming in is null, make sure we re-assign it to the
> empty string
>   if (text == null) { text = "xx"; }
> 
>   // Create a base font and a Font to use based on this
>   BaseFont bf = BaseFont.createFont(BaseFont.HELVETICA,
> BaseFont.CP1252, BaseFont.NOT_EMBEDDED);
>   Font font = new Font(bf, 7, Font.NORMAL);
> 
>   // Create the column and add the text
>   ColumnText ct = new ColumnText(content);
>   ct.setSimpleColumn(bottom_x, bottom_y, top_x, top_y, 7,
> Element.ALIGN_LEFT);
>   ct.addText(new Phrase(text, font));
>   ct.go();
> 
> } // end addTextColumn
> 
> 
> 
> Regards
> 
> Scott
> 
> -- 
> Scott McDaid
> lightershade
> t: +44 131 514 4000 (office)
> d: +44 131 514 4009 (direct dial)
> 
> -- 
> 
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the sender. Any
> offers or quotation of service are subject to formal specification.
> Errors and omissions excepted.  Please note that any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of edNET or lightershade ltd. Finally, the
> recipient should check this email and any attachments for the presence of
> viruses.  edNET and lightershade ltd accepts no liability for any damage
> caused by any virus transmitted by this email.
> 
> -- 
> -- 
> Virus scanned by edNET.
> 
> 
> ---
> This sf.net email is sponsored by: Influence the future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
> http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavot
> e
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Tabulation Effect, Centering Data

2002-10-24 Thread Matt Benson
Be sure to include the iText list on this thread, for
the good of the community as well as yourself.  If I
can help you I will, but if you send your code to the
list many more people will have the opportunity to
help and/or learn.  Bruno and Paulo usually can spot
problems with iText use more readily than anyone
(appropriately).  Also, I would still like to hear
your response to what I said about the difference
between centered, left-justified text and padded
left-justified text...

-Matt

--- Kyrill Alyoshin <[EMAIL PROTECTED]> wrote:
> OK. I guess I'll send you my test case and we'll
> look over it, and see where the 
> error is. Let's see how we can embed a table in a
> cell.
> 
> Thanks,
> 
> Kyrill
> 
> 
> > From: Matt Benson <[EMAIL PROTECTED]>
> > Subject: Re: [iText-questions] Tabulation Effect,
> Centering Data
> > To: Kyrill Alyoshin <[EMAIL PROTECTED]>
> > Cc: itext-questions
> <[EMAIL PROTECTED]>
> > X-BeenThere: [EMAIL PROTECTED]
> > X-Mailman-Version: 2.0.9-sf.net
> > List-Help:
>

> > List-Post:
> 
> > List-Subscribe: 
>
,
> 
>

> > List-Id: Post all your questions about iText here 
> 
> > List-Unsubscribe: 
>
,
> 
>

> > List-Archive: 
>

> > X-Original-Date: Wed, 23 Oct 2002 08:49:07 -0700
> (PDT)
> > Date: Wed, 23 Oct 2002 08:49:07 -0700 (PDT)
> > 
> > I don't see anything wrong with your approach, and
> > without having code to look at, I have no idea
> where
> > your exceptions are coming from, but the examples
> > still throw me.  In your examples containing your
> name
> > on the first and second rows, these still do not
> look
> > "centered."  Rather, they look left-justified with
> a
> > lot of padding, hence my earlier suggestion.
> > 
> > Padded, left-justified layout:
> > 
> > |First Name:|   Kyrill  |
> > |Last Names:|   Alyoshin|
> > 
> > 
> > Centered layout:
> > 
> > |First Name:|Kyrill |
> > |Last Names:|   Alyoshin|
> > 
> > 
> > -Matt
> > 
> > --- Kyrill Alyoshin <[EMAIL PROTECTED]>
> wrote:
> > > Matt,
> > > 
> > > The text in second column has to be centered. 
> > > 
> > > However it look really ugly when you try to
> display
> > > lots of text it it. Say a 
> > > user wants to enter this
> > > 
> > > if(x==0) {
> > >   dothis();
> > >   for(int i=0; i<5; ++i) {
> > >   //do something
> > >   }
> > > }
> > > else {
> > >   
> > > }
> > > 
> > > 
> > > How do you think this formatting will look like
> when
> > > you center-justify it? :-)
> > > 
> > > Try it.
> > > 
> > > The only way to achieve such effect is to left
> > > justify it, and let white spaces 
> > > take care of the indentation.
> > > 
> > > But the text has to be centered in a cell. But
> how
> > > do we left-justify it, and at 
> > > the same time center it? My idea was to create
> > > another table, add a row and a 
> > > cell, left justify the text there, and then
> center
> > > the table in that cell. 
> > > That's what I do in HTML and it sure works.
> > > 
> > > Kyrill
> > > 
> > > 
> > > 
> > > 
> > > > Date: Wed, 23 Oct 2002 08:11:03 -0700 (PDT)
> > > > From: Matt Benson <[EMAIL PROTECTED]>
> > > > Subject: Re: [iText-questions] Tabulation
> Effect,
> > > Centering Data
> > > > To: Kyrill Alyoshin <[EMAIL PROTECTED]>,
> 
> > > [EMAIL PROTECTED]
> > > > 
> > > > I am not sure I understand the difference
> between
> > > the
> > > > default behavior of Table and what you want to
> > > > achieve.  From your diagrams I would have
> expected
> > > you
> > > > to want to left-justify rather than center
> your
> > > text;
> > > > if you still want that distance between the
> edge
> > > of
> > > > the cell and the text within, I would think
> that
> > > could
> > > > be achieved by setPadding().
> > > > 
> > > > -Matt
> > > > 
> > > > --- Kyrill Alyoshin <[EMAIL PROTECTED]>
> > > wrote:
> > > > > Hey guys,
> > > > > 
> > > > > Here is an issue that I am having with
> > > iText/PDF. It
> > > > > is rather serious, and I am 
> > > > > actually wondering if it can be resolved at
> all.
> > > > > 
> > > > > 1. Tabulation
> > > > > 
> > > > > The main point here is that Tabs are
> actually
> > > not
> > > > > (as users are used to 
> > > > > experience it) a certain number of white
> spaces.
> > > > > See, if you use almost any text 
> > > > > editor, including filling out a form in a
> > > browser,
> > > > > and use tabs, here is how the 
> > > > > text will be aligned.
> > > > > 
> > > > > aaaaa
> > > > > aaa   aa
> > > > > a a

Re: [iText-questions] Tabulation Effect, Centering Data

2002-10-24 Thread Kyrill Alyoshin
Yes,  I'll post my buggy code to the group for review later.

k.a.



---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] [off-topic] jBoss and security

2002-10-24 Thread Bruno
Hello all,

I have been busy with some other things lately, so I haven't
been posting/reading a lot on the iText mailing list.

I have an off-topic message for people who understand Dutch
and who want to hear more about my current job.

On october 29th, 14:00 I will be on a forum, talking about
the future ICT projects for the Student Administration at
Ghent University.

In my introduction I will explain why we made the choice to
use the Java[tm] Servlet technology for all our applications
4 years ago and why we now should (or shouldn't) move to J2EE
in the near future.

In the first part, I will tell some general things about EJBs.
But in the second part, I will dig into some Security issues
that are specific for the jBoss environment (how jBoss uses
JAAS, JSSE,...).

In a third part, my colleague Mario Maccarini, will demonstrate
some policies (jBoss templates, XDoclets,...).

Finally, there will be a discussion about some University
projects.

It's not about PDF, I don't see any projects in the near
future that will allow me to work on iText much more (but
that can always change).

But it is interesting stuff and people who want to know
more about the subject are always welcome.
Entrance is FREE, registration is not necessary,
but it is in DUTCH and in Ghent (Multimediazaal van
gebouw S9 aan de Campus De Sterre, die tussen Krijgslaan,
Galglaan en DePintelaan ligt).

best regards,
Bruno


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Resource exception....

2002-10-24 Thread Matt Benson
So does this mean that the Ant file is screwed up?

-Matt

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Length of string in points

2002-10-24 Thread David Thielen




Hi;
 
If I do absolute positioning of text, is there any 
call to get the length of a string of text in points that I am doing a 
showTextAligned on?
 
thanks - 
dave


[iText-questions] Paragraph spacing

2002-10-24 Thread David Thielen




Hi;
 
How can I set the line spacing for a paragraph (ie 
how many points after the previous para should this para start, how many points 
between lines in this para, and how many points after this para before starting 
the next para)? I need this for things like double spaced paras and for putting 
extra space between paras.
 
thanks - 
dave


Re: [iText-questions] Paragraph spacing

2002-10-24 Thread Matt Benson
setLeading().

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
> 
> How can I set the line spacing for a paragraph (ie
> how many points after the previous para should this
> para start, how many points between lines in this
> para, and how many points after this para before
> starting the next para)? I need this for things like
> double spaced paras and for putting extra space
> between paras.
> 
> thanks - dave


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Paragraph spacing

2002-10-24 Thread David Thielen
Thanks.

If I understand correctly, the leading is the spacing between lines in a
para and the spacing after the para to the next para.

However, what if I want to add 0.5 points between lines in a para and 12
points between one para and the next. Is there any way to do that?

Also, is leading added to the normal spacing between lines or is it the
total spacing? ie, if I do a leading of 0, will it draw one line on top of
the previous line or will it be right after the previous line?

thanks - dave


- Original Message -
From: "Matt Benson" <[EMAIL PROTECTED]>
To: "David Thielen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 3:54 PM
Subject: Re: [iText-questions] Paragraph spacing


> setLeading().
>
> -Matt
>
> --- David Thielen <[EMAIL PROTECTED]> wrote:
> > Hi;
> >
> > How can I set the line spacing for a paragraph (ie
> > how many points after the previous para should this
> > para start, how many points between lines in this
> > para, and how many points after this para before
> > starting the next para)? I need this for things like
> > double spaced paras and for putting extra space
> > between paras.
> >
> > thanks - dave
>
>
> __
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
>
>
> ---
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Paragraph spacing

2002-10-24 Thread David Thielen
Maybe a solution:

What if the first Phrase of my paragraph has the leading I want within the
paragraph and the last Phrase of my paragraph is a Phrase wit no text but
the leading I want between paragraphs. Would that work? Or would it just
take the larger of the two values and use it throughout the paragraph?

thanks - dave


- Original Message -
From: "Matt Benson" <[EMAIL PROTECTED]>
To: "David Thielen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 3:54 PM
Subject: Re: [iText-questions] Paragraph spacing


> setLeading().
>
> -Matt
>
> --- David Thielen <[EMAIL PROTECTED]> wrote:
> > Hi;
> >
> > How can I set the line spacing for a paragraph (ie
> > how many points after the previous para should this
> > para start, how many points between lines in this
> > para, and how many points after this para before
> > starting the next para)? I need this for things like
> > double spaced paras and for putting extra space
> > between paras.
> >
> > thanks - dave
>
>
> __
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
>
>
> ---
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>



---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] widows/orphans

2002-10-24 Thread David Thielen




Hi;
 
Is there a way to tell iText to not allow widows or 
orphans in a paragraph (this is a case where just the first line or just the 
last line of a para is broken to a separate page - but it allows a para to break 
as long as at least 2 lines are on each page)?
 
thanks - dave


Re: [iText-questions] Paragraph spacing

2002-10-24 Thread Matt Benson
Not sure about the first question; on the second I
believe it is the first scenario.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Thanks.
> 
> If I understand correctly, the leading is the
> spacing between lines in a
> para and the spacing after the para to the next
> para.
> 
> However, what if I want to add 0.5 points between
> lines in a para and 12
> points between one para and the next. Is there any
> way to do that?
> 
> Also, is leading added to the normal spacing between
> lines or is it the
> total spacing? ie, if I do a leading of 0, will it
> draw one line on top of
> the previous line or will it be right after the
> previous line?
> 
> thanks - dave
> 
> 
> - Original Message -
> From: "Matt Benson" <[EMAIL PROTECTED]>
> To: "David Thielen" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, October 24, 2002 3:54 PM
> Subject: Re: [iText-questions] Paragraph spacing
> 
> 
> > setLeading().
> >
> > -Matt
> >
> > --- David Thielen <[EMAIL PROTECTED]> wrote:
> > > Hi;
> > >
> > > How can I set the line spacing for a paragraph
> (ie
> > > how many points after the previous para should
> this
> > > para start, how many points between lines in
> this
> > > para, and how many points after this para before
> > > starting the next para)? I need this for things
> like
> > > double spaced paras and for putting extra space
> > > between paras.
> > >
> > > thanks - dave
> >
> >
> > __
> > Do you Yahoo!?
> > Y! Web Hosting - Let the expert host your web site
> > http://webhosting.yahoo.com/
> >
> >
> >
>
---
> > This sf.net email is sponsored by: Influence the
> future
> > of Java(TM) technology. Join the Java Community
> > Process(SM) (JCP(SM)) program now.
> >
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> > ___
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> 
> 
> 
>
---
> This sf.net email is sponsored by: Influence the
> future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Paragraph spacing

2002-10-24 Thread Matt Benson
That may work, but it may be getting into the realm of
the idea of propagation of a Phrase's properties.  In
this case I think the way you put your paragraph
together (order and structure) may influence your
results.  The easiest thing is to try a simple
example... Bruno and Paulo would be able to say
something much more intelligent I'm sure.

-Matt

--- David Thielen <[EMAIL PROTECTED]> wrote:
> Maybe a solution:
> 
> What if the first Phrase of my paragraph has the
> leading I want within the
> paragraph and the last Phrase of my paragraph is a
> Phrase wit no text but
> the leading I want between paragraphs. Would that
> work? Or would it just
> take the larger of the two values and use it
> throughout the paragraph?
> 
> thanks - dave
> 
> 
> - Original Message -
> From: "Matt Benson" <[EMAIL PROTECTED]>
> To: "David Thielen" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, October 24, 2002 3:54 PM
> Subject: Re: [iText-questions] Paragraph spacing
> 
> 
> > setLeading().
> >
> > -Matt
> >
> > --- David Thielen <[EMAIL PROTECTED]> wrote:
> > > Hi;
> > >
> > > How can I set the line spacing for a paragraph
> (ie
> > > how many points after the previous para should
> this
> > > para start, how many points between lines in
> this
> > > para, and how many points after this para before
> > > starting the next para)? I need this for things
> like
> > > double spaced paras and for putting extra space
> > > between paras.
> > >
> > > thanks - dave
> >
> >
> > __
> > Do you Yahoo!?
> > Y! Web Hosting - Let the expert host your web site
> > http://webhosting.yahoo.com/
> >
> >
> >
>
---
> > This sf.net email is sponsored by: Influence the
> future
> > of Java(TM) technology. Join the Java Community
> > Process(SM) (JCP(SM)) program now.
> >
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> > ___
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> 
> 
> 
>
---
> This sf.net email is sponsored by: Influence the
> future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
>
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Bruno's Lecture

2002-10-24 Thread phillip
Bruno:

Is it possible for you to publish your lecture script at
www.lowagie.com? I know that will take you some time to write it. But it
is good for your resume.

-- 
With regards

Phillip Pan
---



---
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] view on screen and not print

2002-10-24 Thread KuMi



Hello all,
 
I want my form filed to be printed 
but not viewed on screen.
I tried "PdfAnnotation.FLAGS_INVISIBLE" 
and "PdfAnnotation.FLAGS_NOVIEW",
but generated PDF file has the 
same property (no view and no print).
Please someone let me know how 
to get the right result.
 
Thank you,