Changeset 29912 in osm
- Timestamp:
- 2013-09-04T19:35:00+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PageDrawer.java
r25349 r29912 30 30 import org.apache.pdfbox.pdmodel.PDPage; 31 31 import org.apache.pdfbox.pdmodel.PDResources; 32 import org.apache.pdfbox.pdmodel.common.PDRectangle;33 32 import org.apache.pdfbox.pdmodel.graphics.PDGraphicsState; 34 33 import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation; … … 65 64 { 66 65 super( ResourceLoader.loadProperties( 67 " pdfimport/pdfbox/PageDrawer.properties", true ) );66 "resources/pdfimport/pdfbox/PageDrawer.properties", true ) ); 68 67 } 69 68 … … 89 88 } 90 89 91 List annotations = page.getAnnotations();90 List<?> annotations = page.getAnnotations(); 92 91 for( int i=0; i<annotations.size(); i++ ) 93 92 { 94 93 PDAnnotation annot = (PDAnnotation)annotations.get( i ); 95 PDRectangle rect = annot.getRectangle();96 94 String appearanceName = annot.getAppearanceStream(); 97 95 PDAppearanceDictionary appearDictionary = annot.getAppearance(); … … 102 100 appearanceName = "default"; 103 101 } 104 Map appearanceMap = appearDictionary.getNormalAppearance();102 Map<?, ?> appearanceMap = appearDictionary.getNormalAppearance(); 105 103 if (appearanceMap != null) { 106 104 PDAppearanceStream appearance =
Note:
See TracChangeset
for help on using the changeset viewer.