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 =
ColumnText.showTextAligned()
- Original Message -
From: Joao Cardoso [EMAIL PROTECTED]
To: itext-questions@lists.sourceforge.net
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
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
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
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, can
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 =
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
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:
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 toput 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 am also
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
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.
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. It
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 module. I
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++) {
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()
15 matches
Mail list logo