Hi Bruno,
The problem was in the Adobe Illustrator that I Used. When opening the pdf
there the dotted lines was all over the place. When downgrading the
illustrator it all worked fine. I also used pdftron for generating jpg from
the pdf. It had the same effect as Illustrator. When using ImageMagi
Mathias Nilsson wrote:
and I'm not implying that itext is doing anything wrong. It's just that I
can't get it right.
Then you have to provide a standalone example that reproduces the
problem, just as I'm now providing you with an example mashed up from
two existing examples that works as expe
I am adding it to the chunk. Separator is the chunk and sep the dottedline.
and I'm not implying that itext is doing anything wrong. It's just that I
can't get it right.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25290372.html
Sent from the
Mathias Nilsson wrote:
> Also when using the DottedLineSeparator my pdf get's corrupted. If I open
> it in acrobat and resave then everythings works fine again.
Please read these simple rules:
Provide us with a standalone example that allows us to reproduce the
problem, and we'll have a look
And by the way:
Mathias Nilsson wrote:
> DottedLineSeparator sep = new DottedLineSeparator();
> paragraph.add( separator );
You're adding a separator straight to the Paragraph? Why aren't you
wrapping the separator in a Chunk as is done in the examples?
br,
Bruno
-
Also when using the DottedLineSeparator my pdf get's corrupted. If I open
it in acrobat and resave then everythings works fine again.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25288833.html
Sent from the iText - General mailing list arc
Hi,
When using the DottedLineSeparator I get a dotted border around other tables
that is not defined dotted.
public void onRender(com.lowagie.text.Paragraph paragraph) {
DottedLineSeparator sep = new DottedLineSeparator();
sep.setAlignment( Elemen