Does anyone know how can we add byte[] to Document.
I can't convert it to String because it is binary data ( combo of image &
text )
Mahesh Bhagia
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listin
addByteArrayToDocument(Document d, byte[] b)
{
d.add(new Chunk(new String(b)));
}
--- "Bhagia, Mahesh" <[EMAIL PROTECTED]>
wrote:
>
> Does anyone know how can we add byte[] to Document.
>
> Mahesh
>
>
> ___
> iText-questions mailing list
> [EMAI
Does anyone know how can we add byte[] to Document.
Mahesh
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
That's a corruption in the class. One of the most common causes is to have
uploaded the jar with FTP in ASCII mode instead of binary.
Best Regards,
Paulo Soares
> -Original Message-
> From: Bhagia, Mahesh [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 16:46
> To: '[EMAIL PR
Code Snapshot:
Font font= new Font(Font.COURIER, 16, Font.BOLD, new
java.awt.Color(255, 0, 0));
trace(LogManager.INFO,methodName, "BEFORE DOC PDF SERVLET") ;
Document doc = new Document(PageSize.LETTER, 30, 30, 30, 30);
trace(LogManager.INFO,met
You are using different versions of iText. Note that the last version
available (0.81) improves a lot in the Table alignment.
Best Regards,
Paulo Soares
> -Original Message-
> From: Prohaska, Jennifer [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 14:48
> To: '[EMAIL PROTEC
Antoine BLANC writes:
> I send you the modified files if you want to add it to the next iText
> release.
OK, I have put the changes in the CVS repository.
Bruno
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/l
hello !!
I've try to put a new page in an HTML document when I print it but it's
doesn't work !! :-(
So I've modified some files to add page break in my HTML Document when I
print it.
I send you the modified files if you want to add it to the next iText
release.
modification :
HTMLWriter : metho
I said:
>> I don't remember the exact nature of the problem, but as
>> soon as I find some time, I will have a look at it.
Paulo replied:
> This is not really a problem. The method is called before anything is
> writen and there's no way that it can guess what the user is going to
> do next.
And
I don't know if anyone has seen this before, but I thought it's worth a post
just in case someone has. Any advice is greatly appreciated.
Here's what's happening. I've created a Bill of Lading document using iText
1.1. The IDE I'm using is IBM's VisualAge for Java. For initial testing,
I'm
Another possibility might be to set up one Java
process that runs as a PDF print server, accepting
socket connections to be fed PDF documents over
streams, to which you should be able to write directly
with iText. The print server could use ghostScript or
some other application to print the PDFs.
This is not really a problem. The method is called before anything is writen
and there's no way that it can guess what the user is going to do next.
Best Regards,
Paulo Soares
> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 9:33
>
Hi,
>> For the second application we want to print all letters at one go or
>> with some control but we don't want to create 3000-5000 physical
>> files, and print. If we accumulate these letters into a single file,
>> one file will be too big since letters have logos too and two,
>> printin
I forward your question to the mailing list:
Haseen ul Haq writes:
> Bruno Lowagie,
>
> My name is Haseen ul Haq and I am working for an Insurance Company in
> Ohio, USA. We are developing a distributed application where we print PDF
> letters ultimately. We have used your libarary to gen
[EMAIL PROTECTED] writes:
> Hello!
>
> I have create a servlet which creates a document in pdf. It function with
> Netscape but not with the msy in spite of the code which should be ok. And
> I do not believe that it is because of plug-in.
If it works with one browser but not with another,
cha
Archana Venkat writes:
> In IE, it displays a blank page. I did the
> workaround for that, by giving
> res.setContentLength(bytearray.size(). Does not seem
> to help.
This is a MSIE bug, check the MS support pages:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q293792
http://support.m
No, we didn't made our objects serializable.
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
[EMAIL PROTECTED] writes:
>
>
> Hi. Is there any way to set the default font for a pdf document using itext?
No, this is not yet supported.
People who want another default font usually derive their
own classes myPhrase, myParagraph,... with their default font.
__
Wilson AJ writes:
> If you add headers and footers in the onStartPage method, you
> sometimes have a blank page too many.
And that is why I add headers and footers in the onEndPage.
I don't remember the exact nature of the problem, but as
soon as I find some time, I will have a look at it.
Matt Benson writes:
> I have written an application that can create multiple
> reports simultaneously using iText in multiple
> Threads.
I have a Servlet project where different documents
can be generated by different users. Each document
is constructed and filled in a seperate thread.
While the
Hi. Is there any way to set the default font for a pdf document using itext?
Thanks.
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Hello!
I have create a servlet which creates a document in pdf. It function with
Netscape but not with the msy in spite of the code which should be ok. And
I do not believe that it is because of plug-in.
PS: I translated the text with a tools
thank you
public void init(ServletConfig config)
Hi Everybody,
I am trying to generate a PDF document using a
servlet. This servlet calls the mainframe pgm and
displays the data. I call the mainframe pgm several
times, and get a String msg(one big msg) and display
it in PDF. In IE, it displays a blank page. I did the
workaround for that, by gi
23 matches
Mail list logo