I don't think I can attach files through this, and I'm at work, so I can only
post here. Here is an isolated example of what I am seeing.
<html><body>
<span id="t1" class="left">*this is the same length as the text in my
report that i really want to used here please.</span>
<br><br>
<span id="t2" class="left">ABCDEFGHIJKLMNOPQRSTUVWXYZ AGAIN OVER AND OVER
AGAIN UNTIL THE END OF THE LINE. THIS IS A MUCH LONGER SENTENCE. DO RE MI FA
SO LA TI DO. ABCDEFGHIJKLMNOPQRSTUVWXYZ. LOTS OF WORDS LOTS AND LOTS AND
LOTS AND LOTS OF SMALLER WORDS. IS THE TEXT ALMOST OVER YET? ARE WE THERE
YET. SO CLOSE. YES, WE ARE SO CLOSE.</span>
<br><br>
<span id="t3" class="left" >THIS IS A REALLY COOL PRODUCT AND I AM SO
CLOSE TO GETTING THE RIGHT PDF, JUST LIKE I AM CLOSE TO END OF LINE.</span>
<br><br>
<span id="Span1" class="center">*this is the same length as the text in my
report that i really want to used here please..</span>
<br><br>
<span id="Span2" class="center">ABCDEFGHIJKLMNOPQRSTUVWXYZ AGAIN OVER AND
OVER AGAIN UNTIL THE END OF THE LINE. THIS IS A MUCH LONGER SENTENCE. DO RE
MI FA SO LA TI DO. ABCDEFGHIJKLMNOPQRSTUVWXYZ. LOTS OF WORDS LOTS AND LOTS
AND LOTS AND LOTS OF SMALLER WORDS. IS THE TEXT ALMOST OVER YET? ARE WE
THERE YET. SO CLOSE. YES, WE ARE SO CLOSE.</span>
<br><br>
<span id="Span3" class="center" >THIS IS A REALLY COOL PRODUCT AND I AM SO
CLOSE TO GETTING THE RIGHT PDF, JUST LIKE I AM CLOSE TO END OF LINE..</span>
<br><br>
<span id="Span7" class="justify">*this is the same length as the text in
my report that i really want to used here please.</span>
<br><br>
<span id="Span8" class="justify">ABCDEFGHIJKLMNOPQRSTUVWXYZ AGAIN OVER AND
OVER AGAIN UNTIL THE END OF THE LINE. THIS IS A MUCH LONGER SENTENCE. DO RE
MI FA SO LA TI DO. ABCDEFGHIJKLMNOPQRSTUVWXYZ. LOTS OF WORDS LOTS AND LOTS
AND LOTS AND LOTS OF SMALLER WORDS. IS THE TEXT ALMOST OVER YET? ARE WE
THERE YET. SO CLOSE. YES, WE ARE SO CLOSE.</span>
<br><br>
<span id="Span9" class="justify" >THIS IS A REALLY COOL PRODUCT AND I AM
SO CLOSE TO GETTING THE RIGHT PDF, JUST LIKE I AM CLOSE TO END OF LINE.</span>
<br><br>
<span id="Span4" class="right">*this is the same length as the text in my
report that i really want to used here please.</span>
<br><br>
<span id="Span5" class="right">ABCDEFGHIJKLMNOPQRSTUVWXYZ AGAIN OVER AND
OVER AGAIN UNTIL THE END OF THE LINE. THIS IS A MUCH LONGER SENTENCE. DO RE
MI FA SO LA TI DO. ABCDEFGHIJKLMNOPQRSTUVWXYZ. LOTS OF WORDS LOTS AND LOTS
AND LOTS AND LOTS OF SMALLER WORDS. IS THE TEXT ALMOST OVER YET? ARE WE
THERE YET. SO CLOSE. YES, WE ARE SO CLOSE.</span>
<br><br>
<span id="Span6" class="right" >THIS IS A REALLY COOL PRODUCT AND I AM SO
CLOSE TO GETTING THE RIGHT PDF, JUST LIKE I AM CLOSE TO END OF LINE.</span>
</body></html>
Ok, so its the exact same thing with class=
["left","center","justify","right"]. My stylesheet...
stylesheet.LoadStyle("left", "size", "8px")
stylesheet.LoadStyle("left", "align", "left")
stylesheet.LoadStyle("justify", "size", "8px")
stylesheet.LoadStyle("justify", "align", "justify")
stylesheet.LoadStyle("center", "size", "8px")
stylesheet.LoadStyle("center", "align", "center")
stylesheet.LoadStyle("right", "size", "8px")
stylesheet.LoadStyle("right", "align", "right")
(I just broke the alphabet into groups of 5 letters so that words were smaller
and more typical, but I'm not gonna go thru and change this post LOL!)
Each group is the same despite different class names. they are all left
aligned and the first line of what is technically a "paragraph" is indented.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions