> On 11 Aug 2015, at 05:05, Bharath Raj Pathi <bharath.pa...@cloudio.io> wrote:
> 
> Hi,
> I need to put a table in pdf document with dynamic column labels and
> dynamic rows.
> I used to do with iText Library.
> I want to achieve this using PDFBox.
> Can anybody suggest me to achieve that?

You’ll have to do the table layout yourself, PDFBox doesn’t offer any 
high-level APIs. You can use PDFont#getStringWidth(String) to perform the 
calculations and PDPageContentStrea#showText(String) to display the text, then 
draw some lines for the columns/rows.

— John

> On Tue, Aug 11, 2015 at 4:35 PM, Chavan, Avinash <
> avinash.cha...@capgemini.com> wrote:
> 
>> Hi,
>> 
>> Please refer this link:
>> http://www.w3.org/WAI/GL/2011/WD-WCAG20-TECHS-20110621/pdf.html#PDF4
>> 
>> I want to achieve this using PDFBox.
>> 
>> I am unsure of how to achieve it.
>> 
>> Could you please point me in the right direction?
>> 
>> 
>> 
>> *Thanks & Regards                  *
>> *--------------------------------------------------------------*
>> [image: Email_CBE.gif]*Avinash R. Chavan*
>> Consultant, P3 | Apps2, MCT-JAVA
>> Capgemini India | Mumbai 6
>> Mob.: + 91-9833265880
>> 
>> Extn: 2279311
>> Email: *avinash.cha...@capgemini.com <avinash.cha...@capgemini.com>*
>> www.capgemini.com
>> *People matter, results count*
>> _______________________________________________________________
>> [image: image002.gif@01C8807F.D8C32A10]
>> 
>> 
>> 
> 
> 
> 
> -- 
> Best Regards,
> Bharath Raj Pathi | *Associate Software Developer*
> *CloudIO* Business Applications Platform / *Oracle*  Business Applications
> +91 9177477440| cloudio.io/ | bharath.pa...@cloudio.io
> Cyber Towers, HITECH City, Hyderabad, India 500081


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to