Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Question about HTMLWorker

mdcapurro

2007-06-20

Replies:


I don't understand.

I have to take a change inside the htmlworker and not at ListArray returned by it?

I use this :  style.loadTagStyle("li","list-style-position","inside"); but is not work...and i try style.loadTagStyle("ul","compact","compact"); too but the symbol of the list are one line up of the text.

Thanks for any help!!

Daniela



"Paulo Soares" <psoares@consiste.pt>
Enviado Por: itext-questions-bounces@lists.sourceforge.net

19/06/2007 19:15
Favor responder a Post all your questions about iText here

       
        Para:        "Post all your questions about iText here" <itext-questions@lists.sourceforge.net>
        cc:        
        Assunto:        Re: [iText-questions] Question about HTMLWorker



It's easier to process the html.

Paulo

----- Original Message -----
From: <mdcapurro@sanepar.com.br>
To: <itext-questions@lists.sourceforge.net>
Sent: Tuesday, June 19, 2007 9:44 PM
Subject: [iText-questions] Question about HTMLWorker


> HI.
>
> I have an html source like this:
>
> <ul>
> <li><p>bla bla bla</p></li>
> <li><p>bla bla bla</p></li>
> <li><p>bla bla bla</p></li>
> </ul>
>
> Because there are a <p>, the htmlworker, correctly, make a new line. But i
> need "delete" this new line.
>
> I try using:
>
> if (e instanceof List){
>                        .....
>                         }
>
> but i don't know how to "delete" the first new line inside the text.
>
> Any help is welcome!!!!
>
> Daniela


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.