I'm adding a Paragraph to my Document that has an Image within it. The
following code segment adds it, right aligned, with text wrap, and puts some
text around it. This works fine.
Image img = Image.getInstance("image.png");
img.setAlignment(Image.RIGHT | Image.TEXTWRAP);
Paragraph p = new Para
Bruno Lowagie (iText lowagie.com> writes:
> Have you tried wrapping the image in a Chunk?
Wrapping the Image in a Chunk did the trick. I don't suppose you could shed
some light on why iText behaves like this? :p
Thanks again for all the help, I appreciate it!
-
> R.Greg wrote:
> > Suppose I ditch the thought of adding the Image in a
> > Paragraph and adding that Paragraph to my Table/PdfPTable. Suppose I tag
> > the
> > text with an Anchor, then I open up the Document with PdfReader.
>
> Now you have completely lost me. Why are you introducing Anchor?
GAMBELLI Raffaele prismaeng.it> writes:
>
> In my work, I have also to provide both writing system, PDF and RTF.
> In the beginning, I used for both the writers Table class.
> I have many internal objects generated parsing a xml printing template, then I
convert these objects in
> Itext Element
Sorry, I fudged the code a bit copying and pasting. Here's how it 'should'
look:
// Add Warning Images
PdfReader docReader = new PdfReader(tempFilename);
HashMap table = docReader.getNamedDestination();
// AnchorFactory keeps track of all the Anchor objects I've requested, so I know
// the name
> Certainly not.
> There might be some workarounds, like using SimpleTable
> (translates to PdfPTable for PDF, and to Table for RTF, HTML);
> or you could create a Table as well as a PdfPTable, pause the
> PdfWriter before adding the Table, then resume, and pause
> the Rtf/HtmlWriter before adding
Bruno Lowagie (iText lowagie.com> writes:
>
> R.Greg wrote:
> > I was hoping someone here could shed some light on this.
>
> Not as long as you're using Table instead of PdfPTable.
> br,
> Bruno
Does Table just not support that functionality? Unfortunately, I have a
requirement that I be able
> Hi,
>
>
> I am creating a pdf
> file consisting of chapters, sections and subsections. Now I want to add an
> jFreeChart Chart into a chapter or a section.
I, too, am using JFreeChart in my application. I simply add the charts as Image
objects to Paragraphs, as follows:
Paragraph result
I've got a lot of data that's sorted out in tables for easy analysis. There are
some situations where I want to flag some bit of data as important. I've
noticed some odd behavior with respect to Images and Tables, and I was hoping
someone here could shed some light on this.
Below is some code
I'm creating a report based on several input files. One section of the report
is an appendix, listing a good deal of information. I want to be able to
crosslink items in the body of the report to information in the appendix, but
there's no guarantee that the destination will actually be there in
Here's what I want:
- A footer
- With user-defined, centered text
- And a right-aligned page number
I've managed to create a multi-line footer, but both the text and the page
number are right-aligned. Is it just wishful thinking at this point, or can I
somehow modify the footer's data, perhaps b
11 matches
Mail list logo