Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1e31aef
Add Eclipse project metadata
lemmy Feb 6, 2012
32a984d
Fix Eclipse project metadata
lemmy Feb 6, 2012
560285a
BREE set to JavaSE-1.6
lemmy Feb 8, 2012
1c8a04d
Add tycho based p2 repo build
lemmy Feb 8, 2012
f0cd4e3
Ignore bin/ folders
Feb 8, 2012
0b54e66
Fix incorrect version number breaking the build
lemmy Feb 9, 2012
8e39016
Align pom.xml version with Manifest
lemmy Feb 9, 2012
1531252
Increase compiler target version to 1.6. to make Maven compiler plugin
lemmy Feb 9, 2012
9c96180
Remove help bundle. It is tailored for Texclipse only.
lemmy Feb 16, 2012
b7b3bf1
Update to tycho 0.14.0 release
lemmy Feb 16, 2012
7126689
Proof-of-concept for auto-trimming of page margins
robamler May 10, 2012
e948ea1
Automatically trim page margins (issue #20)
robamler May 13, 2012
52128f4
Fix rounding of scaled page size
robamler May 13, 2012
9c2ec95
autoresize.
francesco-kriegel Feb 19, 2014
ad41063
autoresize.
francesco-kriegel Feb 19, 2014
ceee77d
Bump Tycho version to 0.24 and build against Mars release
lemmy Apr 8, 2016
8227d7f
Merge remote-tracking branch 'borisvl/master'
lemmy Apr 8, 2016
e6b557b
Merge remote-tracking branch 'robamler/autotrim'
lemmy Apr 8, 2016
57a7796
Trim PDFs by default which means that the top/bottom/left/right
lemmy Apr 8, 2016
cb24291
Merge remote-tracking branch 'francesco-kriegel/master'
lemmy Apr 8, 2016
f9c4ccd
Turn on autotrim by default
lemmy Apr 8, 2016
5103e5e
Extended automatic resize capability
francesco-kriegel Feb 22, 2017
f25ab4c
Merge with latest version of lemmy/master
francesco-kriegel Mar 21, 2017
5114fc4
Merge with latest version of lemmy/master
francesco-kriegel Mar 21, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*/target/
*/bin
.DS_Store
10 changes: 2 additions & 8 deletions de.vonloesch.pdf4eclipse.feature/feature.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="de.vonloesch.pdf4eclipse"
id="de.vonloesch.pdf4eclipse.feature"
label="PDF4Eclipse"
version="1.1.0"
version="1.1.0.qualifier"
provider-name="Boris von Loesch">

<description url="http://borisvl.github.com/Pdf4Eclipse">
Expand Down Expand Up @@ -131,12 +131,6 @@ This Agreement is governed by the laws of the State of New York and the intellec
version="0.0.0"
unpack="false"/>

<plugin
id="de.vonloesch.pdf4eclipse.help"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.jpedal.pdf"
download-size="0"
Expand Down
16 changes: 16 additions & 0 deletions de.vonloesch.pdf4eclipse.feature/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<artifactId>de.vonloesch.pdf4eclipse.feature</artifactId>
<version>1.1.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
2 changes: 1 addition & 1 deletion de.vonloesch.pdf4eclipse.help/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Help
Bundle-SymbolicName: de.vonloesch.pdf4eclipse.help; singleton:=true
Bundle-Version: 1.1.0
Bundle-Version: 1.1.0.qualifier
Require-Bundle: org.eclipse.help
17 changes: 17 additions & 0 deletions de.vonloesch.pdf4eclipse.help/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>parent</artifactId>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>de.vonloesch.pdf4eclipse.help</artifactId>
<packaging>eclipse-plugin</packaging>
<version>1.1.0-SNAPSHOT</version>
</project>
17 changes: 17 additions & 0 deletions de.vonloesch.pdf4eclipse.p2repository/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.vonloesch.pdf4eclipse.p2repository</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.UpdateSiteBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions de.vonloesch.pdf4eclipse.p2repository/category.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/de.vonloesch.pdf4eclipse.feature_1.1.0.qualifier.jar" id="de.vonloesch.pdf4eclipse.feature" version="1.1.0.qualifier">
<category name="tychodemo.category"/>
</feature>
<category-def name="tychodemo.category" label="PDF4Eclipse Category">
<description>
PDF4Eclipse Category
</description>
</category-def>
</site>
17 changes: 17 additions & 0 deletions de.vonloesch.pdf4eclipse.p2repository/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent</artifactId>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<artifactId>de.vonloesch.pdf4eclipse.p2repository</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-repository</packaging>

</project>
18 changes: 9 additions & 9 deletions de.vonloesch.pdf4eclipse/.classpath
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry exported="true" kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="lib/jbig2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/PDFrenderer.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry exported="true" kind="lib" path="lib/jbig2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/PDFrenderer.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions de.vonloesch.pdf4eclipse/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
62 changes: 34 additions & 28 deletions de.vonloesch.pdf4eclipse/.project
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.vonloesch.pdf4Eclipse</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>de.vonloesch.pdf4Eclipse</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions de.vonloesch.pdf4eclipse/.settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Wed Feb 08 14:49:27 PST 2012
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
2 changes: 2 additions & 0 deletions de.vonloesch.pdf4eclipse/OSGI-INF/l10n/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ command.description.0 = Set the zoom level
command.name.0 = Zoom
commandParameter.name = zoomlevel
command.name.1 = Toggle highlight
command.name.2 = Toggle auto-trimming
command.tooltip = Zoom out
command.tooltip.0 = Fit page to window
command.tooltip.1 = Fit page to window width
command.tooltip.2 = Zoom in
command.tooltip.3 = Toggle link highlighting
command.tooltip.4 = Trim Page Margins
context.name = PDF viewer
3 changes: 2 additions & 1 deletion de.vonloesch.pdf4eclipse/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ bin.includes = plugin.xml,\
icons/,\
lib/,\
OSGI-INF/l10n/bundle.properties

lib/jbig2.jar,\
lib/PDFrenderer.jar
Binary file added de.vonloesch.pdf4eclipse/icons/autotrim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de.vonloesch.pdf4eclipse/lib/jbig2.jar
Binary file not shown.
37 changes: 35 additions & 2 deletions de.vonloesch.pdf4eclipse/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,27 @@
</class>
</state>
</command>
<command
categoryId="de.vonloesch.pdf4Eclipse.category"
defaultHandler="de.vonloesch.pdf4eclipse.editors.handlers.ToggleAutoTrimHandler"
helpContextId="de.vonloesch.pdf4eclipse.annotationsToggleAutoTrim"
id="PDFViewer.command.ToggleAutoTrim"
name="%command.name.2">
<state
id="org.eclipse.ui.commands.toggleState">
<class
class="org.eclipse.ui.handlers.RegistryToggleState">
<parameter
name="persisted"
value="true">
</parameter>
<parameter
name="default"
value="false">
</parameter>
</class>
</state>
</command>
<category
id="de.vonloesch.pdf4Eclipse.category"
name="Pdf4Eclipse">
Expand Down Expand Up @@ -133,7 +154,7 @@
<command
commandId="PDFViewer.command.Zoom"
icon="icons/arrow-move.png"
style="push"
style="toggle"
tooltip="%command.tooltip.0">
<visibleWhen
checkEnabled="false">
Expand All @@ -149,7 +170,7 @@
<command
commandId="PDFViewer.command.Zoom"
icon="icons/arrow-resize.png"
style="push"
style="toggle"
tooltip="%command.tooltip.1">
<visibleWhen
checkEnabled="false">
Expand Down Expand Up @@ -190,6 +211,18 @@
</reference>
</visibleWhen>
</command>
<command
commandId="PDFViewer.command.ToggleAutoTrim"
icon="icons/autotrim.png"
style="toggle"
tooltip="%command.tooltip.4">
<visibleWhen
checkEnabled="false">
<reference
definitionId="PDFViewer.definitions.isPDFEditorActive">
</reference>
</visibleWhen>
</command>
</toolbar>
</menuContribution>
</extension>
Expand Down
17 changes: 17 additions & 0 deletions de.vonloesch.pdf4eclipse/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>parent</artifactId>
<groupId>de.vonloesch.pdf4eclipse</groupId>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>de.vonloesch.pdf4Eclipse</artifactId>
<packaging>eclipse-plugin</packaging>
<version>1.1.0-SNAPSHOT</version>
</project>
Loading