--- On Mon, 4/6/09, Pauli Borodulin <[email protected]> wrote:

> From: Pauli Borodulin <[email protected]>
> Subject: Re: [iText-questions] HTMLWorker: Stylesheet not affecting p elements
> To: [email protected], "Post all your questions about iText here" 
> <[email protected]>
> Date: Monday, April 6, 2009, 12:31 PM
> Hi!
> 
> Harakiri wrote:
> > Change the code of HTMLWorker - its not implemented
> correctly (depending on your viewpoint =) - simply change
> the above code to
> > [...]
> >         // create newline for P
> >        
> currentParagraph.add(factoryProperties.createChunk("\n",
> >                 cprops));
> > [...]
> 
> Err... I didn't ask for a kludge. I was asking whether
> the p element handling could easily be fixed to allow
> "after" and "before" styles. The margin
> between paragraphs is not simply a "extra blank
> row" as you suggest -- it has to be a feature that can
> be controlled.

oh how very sorry i am that i could not please you with my answer and i could 
not satisfy your needs with my example even tho you paid me consultant fees 
...wait you didnt..

next time i suggest being more specific and more polite and thankful at least 
when somebody takes the time to reply to YOUR problem - you wrote 

"Since iText's HTMLWorker doesn't add any margin after p elements while 
 web browsers by default do"

i showed you how you can by default add a new line - this is exactly what 
browsers do

i can promise you, you wont get any answers with your attitude on this list


      

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to