Changeset 34609 in osm for applications
- Timestamp:
- 2018-08-28T01:28:13+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport
- Files:
-
- 16 added
- 3 deleted
- 31 edited
- 31 copied
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/.checkstyle
r32542 r34609 10 10 <filter name="DerivedFiles" enabled="true"/> 11 11 <filter name="FilesFromPackage" enabled="true"> 12 <filter-data value="src/ pdfimport/pdfbox/operators"/>12 <filter-data value="src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators"/> 13 13 <filter-data value="data"/> 14 14 <filter-data value="images"/> -
applications/editors/josm/plugins/pdfimport/.classpath
r34541 r34609 12 12 <classpathentry kind="lib" path="lib/fontbox-1.8.12.jar"/> 13 13 <classpathentry kind="lib" path="lib/jempbox-1.8.12.jar"/> 14 <classpathentry kind="lib" path="lib/pdfbox-1.8.12.jar" />14 <classpathentry kind="lib" path="lib/pdfbox-1.8.12.jar" sourcepath="C:/Users/vippy/.m2/repository/org/apache/pdfbox/pdfbox/1.8.12/pdfbox-1.8.12-sources.jar"/> 15 15 <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> 16 16 <classpathentry kind="output" path="bin"/> -
applications/editors/josm/plugins/pdfimport/README
r34435 r34609 70 70 ================= 71 71 . Building: 72 . add pdfimport/src to your buildpath73 72 . add to buildpath|libraries: josm-custom.jar, fontbox-...jar, jempbox...jar, pdfbox...jar 74 73 . build with ant, if any resources have changed (at least after svn update); eclipse cant handle build of resources, etc -
applications/editors/josm/plugins/pdfimport/build.xml
r34541 r34609 10 10 --> 11 11 <property name="plugin.author" value="extropy"/> 12 <property name="plugin.class" value=" pdfimport.PdfImportPlugin"/>12 <property name="plugin.class" value="org.openstreetmap.josm.plugins.pdfimport.PdfImportPlugin"/> 13 13 <property name="plugin.description" value="Import PDF file into a layer and convert pdf lines to ways."/> 14 14 <property name="plugin.icon" value="images/pdf_import.png"/> -
applications/editors/josm/plugins/pdfimport/resources/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PageDrawer.properties
r23991 r34609 18 18 # org.apache.pdfbox.util.PDFStreamEngine class. 19 19 # To change the behaviour of the system, remplace the class name by a new class name. 20 b= pdfimport.pdfbox.operators.CloseFillNonZeroAndStrokePath21 B= pdfimport.pdfbox.operators.FillNonZeroAndStrokePath22 b*= pdfimport.pdfbox.operators.CloseFillEvenOddAndStrokePath23 B*= pdfimport.pdfbox.operators.FillEvenOddAndStrokePath20 b=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.CloseFillNonZeroAndStrokePath 21 B=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.FillNonZeroAndStrokePath 22 b*=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.CloseFillEvenOddAndStrokePath 23 B*=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.FillEvenOddAndStrokePath 24 24 #BDC org.apache.pdfbox.util.operator.NotImplemented ##Begin Marked Content -- section 10.5 25 BI= pdfimport.pdfbox.operators.BeginInlineImage25 BI=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.BeginInlineImage 26 26 #BMC org.apache.pdfbox.util.operator.NotImplemented ##Begin Marked Content -- section 10.5 27 27 BT=org.apache.pdfbox.util.operator.BeginText 28 28 #BX org.apache.pdfbox.util.operator.NotImplemented 29 c= pdfimport.pdfbox.operators.CurveTo29 c=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.CurveTo 30 30 cm=org.apache.pdfbox.util.operator.Concatenate 31 31 CS=org.apache.pdfbox.util.operator.SetStrokingColorSpace 32 32 cs=org.apache.pdfbox.util.operator.SetNonStrokingColorSpace 33 d= pdfimport.pdfbox.operators.SetLineDashPattern33 d=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SetLineDashPattern 34 34 #d0 org.apache.pdfbox.util.operator.NotImplemented 35 35 #d1 org.apache.pdfbox.util.operator.NotImplemented 36 Do= pdfimport.pdfbox.operators.Invoke36 Do=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.Invoke 37 37 #DP org.apache.pdfbox.util.operator.NotImplemented ##Marked Content Point-- section 10.5 38 38 #El org.apache.pdfbox.util.operator.NotImplemented … … 40 40 ET=org.apache.pdfbox.util.operator.EndText 41 41 #EX org.apache.pdfbox.util.operator.NotImplemented 42 f= pdfimport.pdfbox.operators.FillNonZeroRule43 F= pdfimport.pdfbox.operators.FillNonZeroRule44 f*= pdfimport.pdfbox.operators.FillEvenOddRule42 f=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.FillNonZeroRule 43 F=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.FillNonZeroRule 44 f*=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.FillEvenOddRule 45 45 G=org.apache.pdfbox.util.operator.SetStrokingGrayColor 46 46 g=org.apache.pdfbox.util.operator.SetNonStrokingGrayColor 47 47 gs=org.apache.pdfbox.util.operator.SetGraphicsStateParameters 48 h= pdfimport.pdfbox.operators.ClosePath48 h=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.ClosePath 49 49 #i org.apache.pdfbox.util.operator.NotImplemented 50 50 #ID org.apache.pdfbox.util.operator.NotImplemented 51 j= pdfimport.pdfbox.operators.SetLineJoinStyle52 J= pdfimport.pdfbox.operators.SetLineCapStyle51 j=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SetLineJoinStyle 52 J=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SetLineCapStyle 53 53 K=org.apache.pdfbox.util.operator.SetStrokingCMYKColor 54 54 k=org.apache.pdfbox.util.operator.SetNonStrokingCMYKColor 55 l= pdfimport.pdfbox.operators.LineTo56 m= pdfimport.pdfbox.operators.MoveTo57 M= pdfimport.pdfbox.operators.SetLineMiterLimit55 l=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.LineTo 56 m=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.MoveTo 57 M=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SetLineMiterLimit 58 58 #MP org.apache.pdfbox.util.operator.NotImplemented ##Marked Content Point-- section 10.5 59 n= pdfimport.pdfbox.operators.EndPath59 n=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.EndPath 60 60 q=org.apache.pdfbox.util.operator.GSave 61 61 Q=org.apache.pdfbox.util.operator.GRestore 62 re= pdfimport.pdfbox.operators.AppendRectangleToPath62 re=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.AppendRectangleToPath 63 63 RG=org.apache.pdfbox.util.operator.SetStrokingRGBColor 64 64 rg=org.apache.pdfbox.util.operator.SetNonStrokingRGBColor 65 65 #ri org.apache.pdfbox.util.operator.NotImplemented 66 66 s=org.apache.pdfbox.util.operator.CloseAndStrokePath 67 S= pdfimport.pdfbox.operators.StrokePath67 S=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.StrokePath 68 68 SC=org.apache.pdfbox.util.operator.SetStrokingColor 69 69 sc=org.apache.pdfbox.util.operator.SetNonStrokingColor 70 70 SCN=org.apache.pdfbox.util.operator.SetStrokingColor 71 71 scn=org.apache.pdfbox.util.operator.SetNonStrokingColor 72 sh= pdfimport.pdfbox.operators.SHFill72 sh=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SHFill 73 73 T*=org.apache.pdfbox.util.operator.NextLine 74 74 Tc=org.apache.pdfbox.util.operator.SetCharSpacing … … 84 84 Tw=org.apache.pdfbox.util.operator.SetWordSpacing 85 85 Tz=org.apache.pdfbox.util.operator.SetHorizontalTextScaling 86 v= pdfimport.pdfbox.operators.CurveToReplicateInitialPoint87 w= pdfimport.pdfbox.operators.SetLineWidth88 W pdfimport.pdfbox.operators.ClipNonZeroRule89 W* pdfimport.pdfbox.operators.ClipEvenOddRule90 y= pdfimport.pdfbox.operators.CurveToReplicateFinalPoint86 v=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.CurveToReplicateInitialPoint 87 w=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.SetLineWidth 88 W org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.ClipNonZeroRule 89 W* org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.ClipEvenOddRule 90 y=org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators.CurveToReplicateFinalPoint 91 91 \'=org.apache.pdfbox.util.operator.MoveAndShow 92 92 \"=org.apache.pdfbox.util.operator.SetMoveAndShow -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/DuplicateNodesFinder.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.geom.Point2D; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/FilePlacement.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/FilePlacement18.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldBool.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import javax.swing.Action; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldDouble.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldHex.java
r34608 r34609 2 2 * License: GPL. For details, see LICENSE file. 3 3 */ 4 package pdfimport;4 package org.openstreetmap.josm.plugins.pdfimport; 5 5 6 6 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldInteger.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldLong.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiFieldString.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import javax.swing.JTextField; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiPanel.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import java.awt.Component; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/GuiProjections.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 2 3 package pdfimport;3 package org.openstreetmap.josm.plugins.pdfimport; 4 4 5 5 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/LayerContents.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.geom.Point2D; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/LayerInfo.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/LoadPdfDialog.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 42 42 import org.openstreetmap.josm.gui.progress.ProgressRenderer; 43 43 import org.openstreetmap.josm.gui.progress.swing.SwingRenderingProgressMonitor; 44 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PdfBoxParser; 44 45 import org.openstreetmap.josm.tools.Logging; 45 46 import pdfimport.pdfbox.PdfBoxParser;47 46 48 47 public class LoadPdfDialog extends JFrame { -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/OrthogonalShapesFilter.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.geom.Point2D; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/OsmBuilder.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/ParallelSegmentsFinder.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.geom.AffineTransform; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PathOptimizer.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.Color; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfImportAction.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfImportPlugin.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import org.openstreetmap.josm.gui.MainApplication; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfMultiPath.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.util.List; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/PdfPath.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.awt.geom.Point2D; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/Preferences.java
r34608 r34609 2 2 * License: GPL. For details, see LICENSE file. 3 3 */ 4 package pdfimport;4 package org.openstreetmap.josm.plugins.pdfimport; 5 5 6 6 import org.openstreetmap.josm.spi.preferences.Config; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/Preview.java
r34608 r34609 2 2 * License: GPL. For details, see LICENSE file. 3 3 */ 4 package pdfimport;4 package org.openstreetmap.josm.plugins.pdfimport; 5 5 6 6 import org.openstreetmap.josm.gui.MainApplication; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/ProjectionInfo.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport;2 package org.openstreetmap.josm.plugins.pdfimport; 3 3 4 4 import java.util.HashMap; -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/GraphicsProcessor.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport.pdfbox;2 package org.openstreetmap.josm.plugins.pdfimport.pdfbox; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 16 16 17 17 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 18 19 import pdfimport.LayerInfo; 20 import pdfimport.PathOptimizer; 21 import pdfimport.PdfPath; 18 import org.openstreetmap.josm.plugins.pdfimport.LayerInfo; 19 import org.openstreetmap.josm.plugins.pdfimport.PathOptimizer; 20 import org.openstreetmap.josm.plugins.pdfimport.PdfPath; 22 21 23 22 public class GraphicsProcessor { -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PageDrawer.java
r34608 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox; 18 18 19 19 import java.awt.BasicStroke; … … 63 63 public PageDrawer() throws IOException { 64 64 super(ResourceLoader.loadProperties( 65 "resources/ pdfimport/pdfbox/PageDrawer.properties", true));65 "resources/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PageDrawer.properties", true)); 66 66 } 67 67 -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PdfBoxParser.java
r34608 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport.pdfbox;2 package org.openstreetmap.josm.plugins.pdfimport.pdfbox; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 14 14 import org.apache.pdfbox.util.PDFStreamEngine; 15 15 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 16 17 import pdfimport.PathOptimizer; 16 import org.openstreetmap.josm.plugins.pdfimport.PathOptimizer; 18 17 19 18 public class PdfBoxParser extends PDFStreamEngine { -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/AppendRectangleToPath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 25 25 import org.apache.pdfbox.util.PDFOperator; 26 26 import org.apache.pdfbox.util.operator.OperatorProcessor; 27 28 import pdfimport.pdfbox.PageDrawer; 27 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 29 28 30 29 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/BeginInlineImage.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.io.IOException; … … 23 23 import org.apache.pdfbox.util.PDFOperator; 24 24 import org.apache.pdfbox.util.operator.OperatorProcessor; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/ClipEvenOddRule.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 26 26 import org.apache.pdfbox.util.PDFOperator; 27 27 import org.apache.pdfbox.util.operator.OperatorProcessor; 28 29 import pdfimport.pdfbox.PageDrawer; 28 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 30 29 31 30 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/ClipNonZeroRule.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 26 26 import org.apache.pdfbox.util.PDFOperator; 27 27 import org.apache.pdfbox.util.operator.OperatorProcessor; 28 29 import pdfimport.pdfbox.PageDrawer; 28 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 30 29 31 30 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/CloseFillEvenOddAndStrokePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Path2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/CloseFillNonZeroAndStrokePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Path2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/ClosePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.io.IOException; … … 23 23 import org.apache.pdfbox.util.PDFOperator; 24 24 import org.apache.pdfbox.util.operator.OperatorProcessor; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 /** 28 27 * Implementation of content stream operator for page drawer. -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/CurveTo.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Point2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/CurveToReplicateFinalPoint.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Point2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/CurveToReplicateInitialPoint.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 25 25 import org.apache.pdfbox.util.PDFOperator; 26 26 import org.apache.pdfbox.util.operator.OperatorProcessor; 27 28 import pdfimport.pdfbox.PageDrawer; 27 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 29 28 30 29 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/EndPath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.util.List; … … 22 22 import org.apache.pdfbox.util.PDFOperator; 23 23 import org.apache.pdfbox.util.operator.OperatorProcessor; 24 25 import pdfimport.pdfbox.PageDrawer; 24 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 26 25 27 26 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/FillEvenOddAndStrokePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Path2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/FillEvenOddRule.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 26 26 import org.apache.pdfbox.util.PDFOperator; 27 27 import org.apache.pdfbox.util.operator.OperatorProcessor; 28 29 import pdfimport.pdfbox.PageDrawer; 28 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 30 29 31 30 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/FillNonZeroAndStrokePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Path2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/FillNonZeroRule.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.GeneralPath; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/Invoke.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.io.IOException; … … 32 32 import org.apache.pdfbox.util.PDFOperator; 33 33 import org.apache.pdfbox.util.operator.OperatorProcessor; 34 35 import pdfimport.pdfbox.PageDrawer; 34 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 36 35 37 36 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/LineTo.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Point2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/MoveTo.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Point2D; … … 27 27 import org.apache.pdfbox.util.PDFOperator; 28 28 import org.apache.pdfbox.util.operator.OperatorProcessor; 29 30 import pdfimport.pdfbox.PageDrawer; 29 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 31 30 32 31 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SHFill.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.geom.Path2D; … … 24 24 import org.apache.pdfbox.util.PDFOperator; 25 25 import org.apache.pdfbox.util.operator.OperatorProcessor; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SetLineCapStyle.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.BasicStroke; … … 23 23 import org.apache.pdfbox.cos.COSBase; 24 24 import org.apache.pdfbox.util.PDFOperator; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SetLineDashPattern.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.BasicStroke; … … 24 24 import org.apache.pdfbox.pdmodel.graphics.PDLineDashPattern; 25 25 import org.apache.pdfbox.util.PDFOperator; 26 27 import pdfimport.pdfbox.PageDrawer; 26 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 28 27 29 28 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SetLineJoinStyle.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.BasicStroke; … … 23 23 import org.apache.pdfbox.cos.COSBase; 24 24 import org.apache.pdfbox.util.PDFOperator; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SetLineMiterLimit.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.BasicStroke; … … 23 23 import org.apache.pdfbox.cos.COSBase; 24 24 import org.apache.pdfbox.util.PDFOperator; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/SetLineWidth.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.awt.BasicStroke; … … 23 23 import org.apache.pdfbox.cos.COSBase; 24 24 import org.apache.pdfbox.util.PDFOperator; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/src/org/openstreetmap/josm/plugins/pdfimport/pdfbox/operators/StrokePath.java
r34541 r34609 15 15 * limitations under the License. 16 16 */ 17 package pdfimport.pdfbox.operators;17 package org.openstreetmap.josm.plugins.pdfimport.pdfbox.operators; 18 18 19 19 import java.io.IOException; … … 23 23 import org.apache.pdfbox.util.PDFOperator; 24 24 import org.apache.pdfbox.util.operator.OperatorProcessor; 25 26 import pdfimport.pdfbox.PageDrawer; 25 import org.openstreetmap.josm.plugins.pdfimport.pdfbox.PageDrawer; 27 26 28 27 /** -
applications/editors/josm/plugins/pdfimport/test/unit/org/openstreetmap/josm/plugins/pdfimport/pdfbox/PDFParserTest.java
r32542 r34609 1 1 // License: GPL. For details, see LICENSE file. 2 package pdfimport.pdfbox;2 package org.openstreetmap.josm.plugins.pdfimport.pdfbox; 3 3 4 4 import static org.junit.Assert.assertEquals; … … 10 10 import org.openstreetmap.josm.TestUtils; 11 11 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 12 13 import pdfimport.PathOptimizer; 12 import org.openstreetmap.josm.plugins.pdfimport.PathOptimizer; 14 13 15 14 public class PDFParserTest {
Note:
See TracChangeset
for help on using the changeset viewer.