Thanks!  

Paulo Soares wrote:
> 
> The links work for me but I attach the XMLs.
> 
> Paulo 
> 
>> -----Original Message-----
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On 
>> Behalf Of ghoul11
>> Sent: Friday, October 26, 2007 5:11 PM
>> To: [email protected]
>> Subject: Re: [iText-questions] Romeo & Juliette example
>> 
>> 
>> Thanks for your reply.  I  should have been more clear.  The 
>> links to the xml
>> files in this paragraph are giving 404 errors.
>> 
>> Romeo and Juliet: XML to PDF:
>> In this example, we combine some of the most interesting 
>> functionalities of
>> iText. We have an XML file (playRomeoJuliet.xml) containing 
>> the complete
>> play 'Romeo and Juliet' by William Shakespeare. We have 
>> defined a tagmap
>> (tagmapRomeoJuliet.xml) that translates the tags in the XML 
>> to tags that can
>> be understood by iText. iText will parse the XML and generate 
>> the PDF file
>> using this tagmap.
>> A Speaker-class was written to keep track of all the 
>> different speakers. As
>> you can see in the page event implementation, we update the 
>> list of speakers
>> in the onGenericTag method. We do some initialisations in the 
>> onOpenDocument
>> method, we keep track of the current act in the onChapter 
>> method, we add
>> this information as a header on every even page of the 
>> document and also put
>> a 'page X of Y'-footer in the onPageEnd method and finally, 
>> we set the value
>> of this Y in the onCloseDocument method. After the document 
>> is parsed, we
>> retrieve the alphabetical list of speaker from out event 
>> class and add an
>> extra page with this info.
>> 
>> 
>> ghoul11 wrote:
>> > 
>> > Hi all,
>> > 
>> > Does anyone know where I can find the Romeo & Juliette XML 
>> example?  I'm
>> > trying to hit the links from the iText site here
>> > 
>> http://itextdocs.lowagie.com/tutorial/directcontent/pageevents
>> /index.php
>> > but they are no longer valid.
>> > 
>> > Also, has anyone had experience with formatting text in a 
>> paragraph?  For
>> > example, if I have a text string (that amounts to a paragraph in the
>> > finished letter), what if I want to have the 3rd word in 
>> the paragraph
>> > bolded, for example.  I don't want to have to break this 
>> section down into
>> > smaller pieces like chunks or smaller paragraphs for 
>> maintenance purposes. 
>> > I'm having trouble findign documentation on this.  Any ideas?
>> > 
>> > Thanks in advance
> 
> 
> 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.
> 
> 
> 
>  
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Romeo---Juliette-example-tf4697695.html#a13432022
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to