Changeset 23863 in osm
- Timestamp:
- 2010-10-27T15:37:44+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport
- Files:
-
- 1 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/.classpath
r23861 r23863 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 5 5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 <classpathentry kind="lib" path="lib/PDFClown.jar"/>7 6 <classpathentry kind="lib" path="lib/pdfbox.jar" sourcepath="D:/Projects/Community/OSM/josm/pdfimport/pdfbox-1.3.1/pdfbox/src/main/java"/> 8 7 <classpathentry kind="output" path="bin"/> -
applications/editors/josm/plugins/pdfimport/build.xml
r23703 r23863 45 45 <property name="plugin.dist.dir" value="../../dist" /> 46 46 <property name="plugin.name" value="${ant.project.name}" /> 47 <property name="libpdf" value="lib/pdfbox.jar"/> 47 48 <property name="plugin.jar" value="${plugin.dist.dir}/${plugin.name}.jar" /> 48 49 … … 65 66 <classpath> 66 67 <pathelement location="${josm}"/> 68 <pathelement location="${libpdf}"/> 67 69 </classpath> 68 70 </javac> … … 81 83 82 84 <target name="dist" depends="compile,revision"> 85 <unjar dest="${plugin.build.dir}" src="${libpdf}"/> 83 86 <copy todir="${plugin.build.dir}/images"> 84 87 <fileset dir="images" /> -
applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PdfBoxParser.java
r23862 r23863 40 40 PDRectangle pageSize = page.findMediaBox(); 41 41 Dimension pageDimension = pageSize.createDimension(); 42 int rotation = page.getRotation(); 42 43 43 GraphicsProcessor p = new GraphicsProcessor(target, pageDimension.getHeight());44 GraphicsProcessor p = new GraphicsProcessor(target, rotation, pageDimension.getHeight()); 44 45 PageDrawer drawer = new PageDrawer(); 45 46 drawer.drawPage(p, page, pageDimension);
Note:
See TracChangeset
for help on using the changeset viewer.