[ 
https://issues.apache.org/jira/browse/PDFBOX-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15380675#comment-15380675
 ] 

Tilman Hausherr commented on PDFBOX-3330:
-----------------------------------------

for the migration guide, part "PDF Resources Handling", please add something 
like this:

in 2.0, you don't get a resource map like with {{resources.getFonts()}} or 
{{resources.getXObjects()}}, instead you can get a name list with 
{{resource.getFontNames())}} or {{resources.getXObjectNames()}} and then get 
the resource with {{resources.getFont(COSName fontName)}} or 
{{resources.getXObject(COSName xObjectName)}}. As shown by 
http://stackoverflow.com/q/38369096/535646 , some people just can't press 
ALT-space in their IDE to see what methods are available.

> Enhance and update PDFBox website & documentation
> -------------------------------------------------
>
>                 Key: PDFBOX-3330
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3330
>             Project: PDFBox
>          Issue Type: Task
>          Components: Documentation
>            Reporter: Maruan Sahyoun
>
> General purpose ticket to track enhancements to the website and documentation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to