Private sub useHtmlWorker()
Dim document As New Document(PageSize.A4)
Dim fs As New System.IO.FileStream(System.IO.Path.GetTempPath
& "itext5.pdf", IO.FileMode.Create)
Dim pdfWriter As iTextSharp.text.pdf.PdfWriter =
iTextSharp.text.pdf.PdfWriter.GetInstance(document, fs)
document.Open()
Can someone explain how to use HtmlWorker and ColumnText?
> PdfContentByte cb = pdfWriter.getDirectContent();
>
> ColumnText ct = new ColumnText(cb);
> ct.setSimpleColumn(...);
> ct.setYLine(...);
> if (list != null) {
> for (int i=0; i < list.size(); i++) {
> ct.addElement((E
Just point at itextsharp.sln
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Rebecca
> Sent: Friday, July 22, 2005 4:35 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Re: iTextSharp
>
> Ok, thanks. I got the CVS mo
I am trying to
retrieve an image from a specific location (
string imageFile =
dr["file1"].ToString(); //
"c:\Inetpub\www\Maynard\uploads\webImage1.jpg"
itext.Image.getInstance(imageFile)
but when I feed the image path to
the getInstance() method it returns Image file
not found. I
Ok, thanks. I got the CVS module. I use vs.net 2003, what type of project
should I create in order to build? A C# Web App?
>
> There are no SaxParsers, see the static methods in
> iTextSharp.text.html.HtmlParser. Note that this class is only in the
> CVS.
>
-
how can i generate an soft line wrap in rtf for word with itext?
in itext there are only paragraph and phrase and so on, but no possibility for
setting the line divider.
\par hallo \par hallo \par \par
should be
\par hallo \line hallo \line hallo \par
\line also good for marking over a lot o
Hi
I
am facing problem in changing width of cell of table.It changes when less no of
cell is there but when no of cell
increases.I want to know that when i have to put long data in a cell and
let us assume that no of cell is 8 then how
each entry in
a cell will be in one line. i
There's no bug. Your PDF has overprint items. If in the original PDF you enable
the overprint preview the rectangle also disappears. When transparency is used
the rendering mode changes and apparently it's equivalent to entering the
overprint preview.
> -Original Message-
> From: Nauru
I am displaying a table that is much longer, column-wise than a page. How can
I enable horizontal scrolling for the columns, instead of have it scroll
vertically, into new pages?
---
SF.Net email is sponsored by: Discover Easy Linux Migratio
JPanel panel = new JPanel();
com.lowagie.text.Document document = new com.lowagie.text.Document();
PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream("ASEDG2D.pdf"));
document.open();
PdfContentByte cb = writer.getDirectContent();
Graphics2D g2d = cb.createGraphics(Pa
Hi,
you may look at JFreeChart package to look how the creation of a PDF
from a JPanel is done.
Bianca wrote:
>I just want to put my GUI (SWT) into a PDF, but I can't make it.Also can't
>find a hint in this mailinglist or on any other website... So somebody can
>help me?!
>
>I've got a JPanel, ca
I'm a little confused...can you provide an actual example, including adding
the pdfpcell to the table? Also, does the table have to be a pdftable or can
it just be a regular table? I also don't know the syntax to set the font
object up.
Thanks,
Kyle
I just want to put my GUI (SWT) into a PDF, but I can't make it.Also can't
find a hint in this mailinglist or on any other website... So somebody can
help me?!
I've got a JPanel, can get a Graphics or Graphics2D from it.
I also know how to create a PdfContentByte and get a Graphics2d from it to
d
At 04:16 AM 7/22/2005, Markus Enders wrote:
I know that Acrobat 5 will display the thumbnails automatically, but
for backward compatibility we need thumbnails for Acrobat 4 as well.
How many Acrobat 4 users do you have? The numbers from
Adobe show that Acrobat 4 is less than 5% of en
You can add thumbnails to a doc with iText but iText can't generate the
images.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Markus Enders
> Sent: Friday, July 22, 2005 9:16 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-que
Dear iText users,
we are creating PDFs from images and creating bookmarks using iText.
Both works very well and fast. From a customer we have the demand to
integrate thumbnails in the PDF. This means, that every page should be
available as a thumbnail in the PDF.
I know that Acrobat 5 will d
See the example DumpFontNames.java in http://itextpdf.sf.net.
- Original Message -
From: "sreeram ramesh kumar" <[EMAIL PROTECTED]>
To:
Sent: Thursday, July 21, 2005 8:47 PM
Subject: [iText-questions] non embedded fonts
Hi,
Is there a way to identify if there are any non embedded fonts
ColumnText.showTextAligned()
- Original Message -
From: "Joao Cardoso" <[EMAIL PROTECTED]>
To:
Sent: Friday, July 22, 2005 2:08 AM
Subject: [iText-questions] Underlined fonts on direct content
Hello!
I'm using iText for a personal toy project.
I am facing the a strange problem.
When
Joao Cardoso wrote:
When using the following code
int style = 0;
style += textStyle.isUscore() ? Font.UNDERLINE : 0;
Font font = FontFactory.getFont(textStyle.getFontName(),
textStyle.getFontSize(),style);
baseFont = font.getCalculatedBaseFont(false
19 matches
Mail list logo