You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by "Chavan, Avinash" <av...@capgemini.com> on 2015/08/11 13:05:36 UTC

Hiding decorative images with the Artifact tag in PDF documents via PDFBox

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
--------------------------------------------------------------
[cid:image001.gif@01D0D453.BFFB35B0]Avinash R. Chavan
Consultant, P3 | Apps2, MCT-JAVA
Capgemini India | Mumbai 6
Mob.: + 91-9833265880
Extn: 2279311
Email: avinash.chavan@capgemini.com
www.capgemini.com<http://www.capgemini.com/>
People matter, results count
_______________________________________________________________
[cid:image002.gif@01D0D453.BFFB35B0]


Re: Hiding decorative images with the Artifact tag in PDF documents via PDFBox

Posted by John Hewson <jo...@jahewson.com>.
> On 11 Aug 2015, at 05:05, Bharath Raj Pathi <bh...@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.chavan@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.chavan@capgemini.com <av...@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.pathi@cloudio.io
> Cyber Towers, HITECH City, Hyderabad, India 500081


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


Re: Hiding decorative images with the Artifact tag in PDF documents via PDFBox

Posted by Bharath Raj Pathi <bh...@cloudio.io>.
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?

On Tue, Aug 11, 2015 at 4:35 PM, Chavan, Avinash <
avinash.chavan@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.chavan@capgemini.com <av...@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.pathi@cloudio.io
Cyber Towers, HITECH City, Hyderabad, India 500081

Re: Hiding decorative images with the Artifact tag in PDF documents via PDFBox

Posted by John Hewson <jo...@jahewson.com>.
> On 11 Aug 2015, at 04:25, Duff Johnson <du...@pdfa.org> wrote:
> 
>> 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?
> 
> At a high level, this requires implementation of “Tagged PDF” - clause 14.8 in ISO 32000-1.
> 
> Specifically with respect to artifacts, see 14.8.2.2.2.
> 
> Implementing tagged PDF is one of several topics that will be discussed in technical detail at the forthcoming PDF Technical Conference. More information: http://www.pdfa.org/event/pdf-technical-conference-2015/
> 
> Sessions addressing tagged PDF include:
> 
> - PDF/UA 101
> - Tagging page content
> - Automating the creation of PDF/UA documents
> - Creating structured PDF
> - PDF and the Open Web Platform
> - Transforming PDF into HTML

Hi Duff,

This looks like a great event. I’m thinking of attending as I live nearby.

— John

> Duff Johnson
> 
> Executive Director
> PDF Association
> 
> p  +1.617 283 4226
> e  duff.johnson@pdfa.org
> w  http://www.pdfa.org
> l  http://www.linkedin.com/in/duffjohnson/
> 
> PDF Association · Association for Digital Document Standards e.V.
> Neue Kantstrasse 14 · 14057 Berlin · Germany
> Tel +49 30 4439 0310 Fax: +49 30 3940 5099 
> District Court: Berlin-Charlottenburg VR 26099 B
> 
> Join us at the PDF Technical Conference 2015, October 19-20, San Jose, California!
> 
> More information: http://www.pdfa.org/technical-conference
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
> 


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


Re: Hiding decorative images with the Artifact tag in PDF documents via PDFBox

Posted by Duff Johnson <du...@pdfa.org>.
> 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?

At a high level, this requires implementation of “Tagged PDF” - clause 14.8 in ISO 32000-1.

Specifically with respect to artifacts, see 14.8.2.2.2.

Implementing tagged PDF is one of several topics that will be discussed in technical detail at the forthcoming PDF Technical Conference. More information: http://www.pdfa.org/event/pdf-technical-conference-2015/

Sessions addressing tagged PDF include:

- PDF/UA 101
- Tagging page content
- Automating the creation of PDF/UA documents
- Creating structured PDF
- PDF and the Open Web Platform
- Transforming PDF into HTML

Duff Johnson

Executive Director
PDF Association

p  +1.617 283 4226
e  duff.johnson@pdfa.org
w  http://www.pdfa.org
l  http://www.linkedin.com/in/duffjohnson/

PDF Association · Association for Digital Document Standards e.V.
Neue Kantstrasse 14 · 14057 Berlin · Germany
Tel +49 30 4439 0310 Fax: +49 30 3940 5099 
District Court: Berlin-Charlottenburg VR 26099 B

Join us at the PDF Technical Conference 2015, October 19-20, San Jose, California!

More information: http://www.pdfa.org/technical-conference


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