[iText-questions] Problems in setting encryption options

2004-01-27 Thread June Ni
Hi, This line of code works correctly - only allow SAVE operation, print is disabled. docWriter.setEncryption(PdfWriter.STRENGTH40BITS, null, null, PdfWriter.AllowCopy); However this line of code does not work correctly - Not only the PRINT is enabled, but the SAVE is also enabled. docWriter.

[iText-questions] set default line space for all Paragraphs, Phrases, and Chunks in a pdf file

2004-01-06 Thread June Ni
Hi, Our business user request to reduce the space between all lines in a pdf file. The file contains tables with Chunks added in Cells, Phrases, and Paragraphs. Is there a way to set the default line space to a specific number rather than using setLeading() in every Phrase and Paragraph? Than