Here is the thread for a refresher…I am still suck in embedding a swf in a well formatted page using tables. -----------Thread-------------
Dear All:
I have looked at the examples in Chapter 16 – for embedding a flex application
in PDF. I need help in layout of the pdf.
I have a Table – with a header and a footer (image in them) and I want to use
the middle cell of the table to place the .swf. I see that the .swf is added
as an annotation to the document and cannot be added to the table or to a cell.
So wondering how I can do it.
Thanks
Reply………
The best way to do that, is by using a cell event (chapter 5).
Create a PdfPCellEvent subclass that adds the annotation.
Use the rectangle that is passed to the layout() method to position the
annotation.
-------Followup Question
Sorry, I am not sure I understand this.
public class MyPDFCellEvent implements PdfPCellEvent {
public void cellLayout(PdfPCell pdfPCell, Rectangle rect,
PdfContentByte[] canvas) {
}
}
I want to add RichMediaAnnotation to the table and I do not see how. You
mention that I can add the annotation to the PdfPCellEvent? How is this
accomplished.
Thanks
Sanjeev Sharma
Technical Leader
[cid:5BB1326C-C82B-49D6-9398-3136E5D23D28]
15455 Dallas Parkway Tel: (972) 759-4289
Suite 600 Mob:(469) 865-3537
Addison, TX 75001 Fax: (972) 764-3224
http://www.infovista.com<http://www.infovista.com/>
<<inline: C610C878-478B-48AD-809D-5F26EC69117E[6].png>>
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
