Thanks for the answer. I will try it today.

Michael

2006/6/30, Paulo Soares <[EMAIL PROTECTED]>:
The right interface to use is HyphenationEvent. Have a look at the class
HyphenationAuto for an implementation example. You'll use this with
Chunk.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On
> Behalf Of Michael Caletka
> Sent: Friday, June 30, 2006 1:07 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Conditional Hyphen
>
> Okay, I now have found out how the SplitCharacter works (you
> could have mentioned, that it was an interface, and that
> there's an example in the tutorial...).
>
> I have tried it now, and I'm only half-satisfied, because
> when it does the break, you don't get a dash (or hyphen) on
> the end of the breaking line. The Conditioned Hyphen (or Soft
> Hyphen) in MS-Word works differently. It is only visible,
> when it comes to a line-break, else not. So I can set as many
> of these signs in a long word, and if the event of new-line
> occurs it will break at one of the intended positions plus
> produce a visible hyphen. The SplitCharacter just splits at a
> certain sign, which is not the same functionality.
>
> So my initial question remains: Is there something like a
> Conditioned/Soft Hyphen in PDF and iText?
>
> All the best
> Michael
>
>
> 2006/6/30, Paulo Soares < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED] > >:
>
>       Create a customized SplitCharacter.
>
>       Paulo
>
>       > -----Original Message-----
>       > From: [EMAIL PROTECTED]
>       > [mailto:[EMAIL PROTECTED] ] On
>       > Behalf Of Michael Caletka
>       > Sent: Friday, June 30, 2006 9:08 AM
>       > To: [email protected]
>       > Subject: [iText-questions] Conditional Hyphen
>       >
>       > Just like the Protected Space, is there a way to add a
>       > Conditional Hyphen to text in the PDF-File (Breaking a long
>       > word, if it doesn't fit on a line any more at an
> appropriate spot)?
>       > Many thanks
>       > Michael
>       >


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to