diff options
Diffstat (limited to 'trunk')
103 files changed, 1862 insertions, 4415 deletions
diff --git a/trunk/.classpath b/trunk/.classpath new file mode 100644 index 00000000..adc920e5 --- /dev/null +++ b/trunk/.classpath @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/trunk/.project b/trunk/.project new file mode 100644 index 00000000..7e9ecdbb --- /dev/null +++ b/trunk/.project @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>pdf-over</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/trunk/.settings/org.eclipse.core.resources.prefs b/trunk/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..3e3d9a5e --- /dev/null +++ b/trunk/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +#Thu Aug 02 13:13:02 CEST 2012 +eclipse.preferences.version=1 +encoding/<project>=UTF-8 diff --git a/trunk/.settings/org.eclipse.jdt.core.prefs b/trunk/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..3e73d18e --- /dev/null +++ b/trunk/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,98 @@ +#Fri Aug 03 18:09:51 CEST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled +org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL,LOW +org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,NOTE diff --git a/trunk/.settings/org.eclipse.m2e.core.prefs b/trunk/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 00000000..73eef8d9 --- /dev/null +++ b/trunk/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Thu Aug 02 12:02:50 CEST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/trunk/.settings/org.eclipse.mylyn.tasks.ui.prefs b/trunk/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 00000000..f77f9d23 --- /dev/null +++ b/trunk/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +#Fri Aug 03 18:56:03 CEST 2012 +eclipse.preferences.version=1 +project.repository.kind=jira +project.repository.url=http\://jira.egovlabs.gv.at diff --git a/trunk/pdf-over-gui/.classpath b/trunk/pdf-over-gui/.classpath new file mode 100644 index 00000000..0f53f3e2 --- /dev/null +++ b/trunk/pdf-over-gui/.classpath @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"/> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> + <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/> + <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.m2e.MAVEN2_CLASSPATH_CONTAINER"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/trunk/pdf-over-gui/.project b/trunk/pdf-over-gui/.project new file mode 100644 index 00000000..fed987a6 --- /dev/null +++ b/trunk/pdf-over-gui/.project @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>pdf-over-gui</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/trunk/pdf-over-gui/.settings/org.eclipse.core.resources.prefs b/trunk/pdf-over-gui/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..3ce90f38 --- /dev/null +++ b/trunk/pdf-over-gui/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,7 @@ +#Fri Aug 03 17:20:36 CEST 2012 +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/<project>=UTF-8 diff --git a/trunk/pdf-over-gui/.settings/org.eclipse.jdt.core.prefs b/trunk/pdf-over-gui/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..3e73d18e --- /dev/null +++ b/trunk/pdf-over-gui/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,98 @@ +#Fri Aug 03 18:09:51 CEST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled +org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL,LOW +org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,NOTE diff --git a/trunk/pdf-over-gui/.settings/org.eclipse.m2e.core.prefs b/trunk/pdf-over-gui/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 00000000..22a219d4 --- /dev/null +++ b/trunk/pdf-over-gui/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Thu Aug 02 12:06:01 CEST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/trunk/pdf-over-gui/.settings/org.eclipse.mylyn.tasks.ui.prefs b/trunk/pdf-over-gui/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 00000000..9d4b915d --- /dev/null +++ b/trunk/pdf-over-gui/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +#Fri Aug 03 18:56:11 CEST 2012 +eclipse.preferences.version=1 +project.repository.kind=jira +project.repository.url=http\://jira.egovlabs.gv.at diff --git a/trunk/pdf-over-gui/pom.xml b/trunk/pdf-over-gui/pom.xml new file mode 100644 index 00000000..e8d8f53a --- /dev/null +++ b/trunk/pdf-over-gui/pom.xml @@ -0,0 +1,104 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>pdf-over</artifactId> + <groupId>a-sit.at</groupId> + <version>4.0.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + <artifactId>pdf-over-gui</artifactId> + <name>PDF-Over GUI</name> + + <dependencies> + <dependency> + <groupId>org.eclipse.swt</groupId> + <artifactId>${swt.artifactId}</artifactId> + <version>3.8</version> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>linux</id> + <activation> + <os> + <name>linux</name> + <arch>x86</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.gtk.linux.x86</swt.artifactId> + </properties> + </profile> + <profile> + <id>linux-64</id> + <activation> + <os> + <name>linux</name> + <arch>amd64</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.gtk.linux.x86_64</swt.artifactId> + </properties> + </profile> + + <profile> + <id>windows</id> + <activation> + <os> + <family>windows</family> + <arch>x86</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.win32.win32.x86</swt.artifactId> + </properties> + </profile> + <profile> + <id>windows-64</id> + <activation> + <os> + <family>windows</family> + <arch>amd64</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.win32.win32.x86_64</swt.artifactId> + </properties> + </profile> + + <profile> + <id>mac</id> + <activation> + <os> + <name>mac os x</name> + <arch>x86</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.cocoa.macosx</swt.artifactId> + </properties> + </profile> + <profile> + <id>mac-64</id> + <activation> + <os> + <name>mac os x</name> + <arch>amd64</arch> + </os> + </activation> + <properties> + <swt.artifactId>org.eclipse.swt.cocoa.macosx.x86_64</swt.artifactId> + </properties> + </profile> + </profiles> + + <repositories> + <repository> + <id>swt-repo</id> + <url>https://swt-repo.googlecode.com/svn/repo/</url> + </repository> + </repositories> +</project>
\ No newline at end of file diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java index 1093f0fd..c68a3f90 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/DeveloperMain.java @@ -9,8 +9,7 @@ public class DeveloperMain { * @param args */ public static void main(String[] args) { - Workflow flow = new Workflow(); - flow.SetCmdArgs(args); + Workflow flow = new Workflow(args); flow.Start(); } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/Main.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java index 2eb27630..2eb27630 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/Main.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Main.java diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/Workflow.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/Workflow.java index 14dbbcae..bc0e290c 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/Workflow.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/Workflow.java @@ -7,13 +7,19 @@ import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; +import at.asit.pdfover.gui.workflow.states.PrepareConfigurationState; + public class Workflow { + public Workflow(String[] cmdLineArgs) { + setCmdLineAargs(cmdLineArgs); + } + /** * @uml.property name="state" * @uml.associationEnd multiplicity="(1 1)" aggregation="shared" * inverse="workflow1:at.asit.pdfover.gui.workflow.WorkflowState" */ - private WorkflowState state = new at.asit.pdfover.gui.workflow.states.PrepareConfigurationState(); + private WorkflowState state = new PrepareConfigurationState(); /** * Getter of the property <tt>state</tt> @@ -22,38 +28,38 @@ public class Workflow { * @uml.property name="state" */ public WorkflowState getState() { - return state; + return this.state; } - private String[] CmdArgs = new String[] {}; + private String[] cmdLineArgs = new String[] {}; /** - * Sets the Cmd Arguments + * sets the command line arguments * - * @param args + * @param cmdLineArgs */ - public void SetCmdArgs(String[] args) { - this.CmdArgs = args; + private void setCmdLineAargs(String[] cmdLineArgs) { + this.cmdLineArgs = cmdLineArgs; } /** - * Gets the Cmd Arguments + * Gets the command line arguments * - * @return + * @return the command line arguments */ public String[] GetCmdArgs() { - return this.CmdArgs; + return this.cmdLineArgs; } - private Properties persistent_state = new Properties(); + private Properties persistentState = new Properties(); /** - * Gets the Persistent State + * Gets the persistent state * - * @return + * @return the persistent state */ public Properties GetPersistentState() { - return this.persistent_state; + return this.persistentState; } /** @@ -62,8 +68,8 @@ public class Workflow { public void Update() { WorkflowState next = null; do { - this.state.Update(this); - next = this.state.NextState(); + this.state.update(this); + next = this.state.nextState(); } while (next != null); } @@ -74,23 +80,23 @@ public class Workflow { private Composite container = null; private void CreateMainWindow() { - //TODO: Instanciate Main Window Class + //TODO: Instantiate Main Window Class this.display = Display.getDefault(); - shell = new Shell(); - shell.setSize(608, 340); - shell.setText("PDFOver 4.0!! :)"); + this.shell = new Shell(); + this.shell.setSize(608, 340); + this.shell.setText("PDFOver 4.0!! :)"); - container = new Composite(shell, SWT.NONE); - container.setBounds(20, 44, 572, 257); + this.container = new Composite(this.shell, SWT.NONE); + this.container.setBounds(20, 44, 572, 257); - shell.open(); - shell.layout(); + this.shell.open(); + this.shell.layout(); } /** * Gets the Shell for drawing the ui * - * @return + * @return Composite */ public Composite GetComposite() { // TODO: implement @@ -144,7 +150,7 @@ public class Workflow { } } display.dispose(); - } + } } } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/WorkflowState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/WorkflowState.java index 5a4f1776..f9d10d08 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/WorkflowState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/WorkflowState.java @@ -10,9 +10,9 @@ public abstract class WorkflowState { /** * Gets the next logical state or null if this their is no state transition - * @return + * @return the next state (or null) */ - public WorkflowState NextState() { + public WorkflowState nextState() { return this._next; } @@ -20,7 +20,7 @@ public abstract class WorkflowState { * Sets the next logical state * @param state */ - protected void SetNextState(WorkflowState state) { + protected void setNextState(WorkflowState state) { this._next = state; } @@ -28,5 +28,5 @@ public abstract class WorkflowState { * Perform main logic for this state * @param workflow */ - public abstract void Update(Workflow workflow); + public abstract void update(Workflow workflow); } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java index 7c249ef2..657de4be 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/BKUSelectionState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class BKUSelectionState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/DataSourceSelectionState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/DataSourceSelectionState.java index a6c92ba3..11b8c4ae 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/DataSourceSelectionState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/DataSourceSelectionState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class DataSourceSelectionState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java index d984ea7f..a11364f2 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class OutputState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java index 54ed8b31..c2b31247 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class PositioningState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java index 65abeea1..31d8a604 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class PrepareConfigurationState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java index 5dc96ade..ba6e7dc4 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class PrepareSigningState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java index 4753de48..ed54d82f 100644 --- a/trunk/pdf-over/pdf-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java @@ -7,7 +7,7 @@ import at.asit.pdfover.gui.workflow.WorkflowState; public class SigningState extends WorkflowState { @Override - public void Update(Workflow workflow) { + public void update(Workflow workflow) { // TODO Auto-generated method stub } diff --git a/trunk/pdf-over-signator/.classpath b/trunk/pdf-over-signator/.classpath new file mode 100644 index 00000000..0f53f3e2 --- /dev/null +++ b/trunk/pdf-over-signator/.classpath @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"/> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> + <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/> + <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.m2e.MAVEN2_CLASSPATH_CONTAINER"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/trunk/pdf-over-signator/.project b/trunk/pdf-over-signator/.project new file mode 100644 index 00000000..e6d690af --- /dev/null +++ b/trunk/pdf-over-signator/.project @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>pdf-over-signator</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/trunk/pdf-over-signator/.settings/org.eclipse.core.resources.prefs b/trunk/pdf-over-signator/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..7f5422a4 --- /dev/null +++ b/trunk/pdf-over-signator/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,7 @@ +#Thu Aug 02 13:12:39 CEST 2012 +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/<project>=UTF-8 diff --git a/trunk/pdf-over-signator/.settings/org.eclipse.jdt.core.prefs b/trunk/pdf-over-signator/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..3e73d18e --- /dev/null +++ b/trunk/pdf-over-signator/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,98 @@ +#Fri Aug 03 18:09:51 CEST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled +org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL,LOW +org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,NOTE diff --git a/trunk/pdf-over-signator/.settings/org.eclipse.m2e.core.prefs b/trunk/pdf-over-signator/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 00000000..031daaa1 --- /dev/null +++ b/trunk/pdf-over-signator/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Thu Aug 02 12:30:29 CEST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/trunk/pdf-over-signator/.settings/org.eclipse.mylyn.tasks.ui.prefs b/trunk/pdf-over-signator/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 00000000..c50cb4e0 --- /dev/null +++ b/trunk/pdf-over-signator/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +#Fri Aug 03 18:56:19 CEST 2012 +eclipse.preferences.version=1 +project.repository.kind=jira +project.repository.url=http\://jira.egovlabs.gv.at diff --git a/trunk/pdf-over-signator/pom.xml b/trunk/pdf-over-signator/pom.xml new file mode 100644 index 00000000..a6cddab4 --- /dev/null +++ b/trunk/pdf-over-signator/pom.xml @@ -0,0 +1,18 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>pdf-over</artifactId> + <groupId>a-sit.at</groupId> + <version>4.0.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + <artifactId>pdf-over-signator</artifactId> + <name>PDF-Over Signator</name> + <dependencies> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + </dependency> + </dependencies> +</project>
\ No newline at end of file diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java new file mode 100644 index 00000000..812ddc88 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java @@ -0,0 +1,39 @@ +package at.asit.pdfover.signator; + +import java.io.ByteArrayInputStream; +import java.io.InputStream; + +/** + * A DocumentSource using a byte[] to store the document content + */ +public class ByteArrayDocumentSource implements DocumentSource { + + /** + * Document content + */ + protected byte[] data; + + /** + * Constructor with byte[] content + * @param data the document content + */ + public ByteArrayDocumentSource(byte[] data) { + this.data = data; + } + + @Override + public InputStream getInputStream() { + return new ByteArrayInputStream(this.data); + } + + @Override + public int getLength() { + return this.data.length; + } + + @Override + public byte[] getByteArray() { + return this.data; + } + +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/DocumentSource.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/DocumentSource.java new file mode 100644 index 00000000..8b444020 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/DocumentSource.java @@ -0,0 +1,27 @@ +package at.asit.pdfover.signator; + +import java.io.InputStream; + +/** + * A Document Source + */ +public interface DocumentSource { + + /** + * Gets Document as Input Stream + * @return InputStream of the document + */ + public InputStream getInputStream(); + + /** + * Get Length of document + * @return length of the document + */ + public int getLength(); + + /** + * Get Document as byte[] + * @return byte[] of the Document + */ + public byte[] getByteArray(); +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java new file mode 100644 index 00000000..e86b7100 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Emblem.java @@ -0,0 +1,12 @@ +package at.asit.pdfover.signator; + +/** + * Provides a logo for a signature block + */ +public interface Emblem { + /** + * Return the file name of the Emblem + * @return the file name + */ + public String getFileName(); +} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLRequest.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java index 74ad5862..9b393e46 100644 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLRequest.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLRequest.java @@ -1,13 +1,12 @@ -package at.asit.pdfover.pdfsigner; +package at.asit.pdfover.signator; /** - * Securtiy Layer Request - * @author afitzek + * Security Layer Request */ public interface SLRequest { /** * Gets the signature data for this request * @return The document source */ - public DocumentSource GetSignatureData(); + public DocumentSource getSignatureData(); } diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLResponse.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLResponse.java new file mode 100644 index 00000000..88adc117 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SLResponse.java @@ -0,0 +1,25 @@ +package at.asit.pdfover.signator; + +/** + * Security Layer response + */ +public class SLResponse { + + private String response; + + /** + * Create a new Security Layer response + * @param response the SLResponse + */ + public SLResponse(String response) { + this.response = response; + } + + /** + * Get the Security Layer response text + * @return the Security Layer response text + */ + public String getSLRespone() { + return this.response; + } +} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResult.java index 8069da4e..7a8d4d0d 100644 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResult.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResult.java @@ -1,10 +1,9 @@ -package at.asit.pdfover.pdfsigner; +package at.asit.pdfover.signator; import java.security.cert.X509Certificate; /** * Signature Result containing the signed document as document source - * @author afitzek */ public interface SignResult { @@ -12,17 +11,17 @@ public interface SignResult { * Getter of the property <tt>signaturePosition</tt> * @return Returns the signaturePosition. */ - public SignaturePosition GetSignaturePosition(); + public SignaturePosition getSignaturePosition(); /** * Gets the signed Document * @return Returns the documentSource. */ - public DocumentSource GetSignedDocument(); + public DocumentSource getSignedDocument(); /** * Gets the signer certificate * @return The signer x509 certificate */ - public X509Certificate GetSignerCertificate(); + public X509Certificate getSignerCertificate(); } diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java new file mode 100644 index 00000000..dc0986cf --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java @@ -0,0 +1,52 @@ +package at.asit.pdfover.signator; + +import java.security.cert.X509Certificate; + +/** + * The result of a signature operation + */ +public class SignResultImpl implements SignResult { + + private SignaturePosition position; + private DocumentSource source; + private X509Certificate certificate; + + @Override + public SignaturePosition getSignaturePosition() { + return this.position; + } + + @Override + public DocumentSource getSignedDocument() { + return this.source; + } + + @Override + public X509Certificate getSignerCertificate() { + return this.certificate; + } + + /** + * Set the signer certificate + * @param x509Certificate the signer certificate + */ + public void setSignerCertificate(X509Certificate x509Certificate) { + this.certificate = x509Certificate; + } + + /** + * Set the signature position + * @param postion the signature position + */ + public void setSignaturePosition(SignaturePosition postion) { + this.position = postion; + } + + /** + * Set the signed document + * @param source DocumentSource containing the signed document + */ + public void setSignedDocument(DocumentSource source) { + this.source = source; + } +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signator.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signator.java new file mode 100644 index 00000000..4ba0b981 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signator.java @@ -0,0 +1,58 @@ +package at.asit.pdfover.signator; + +import java.util.EnumMap; +import java.util.Map; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * PDF Signator Interface + */ +public class Signator { + + private static Logger log = LoggerFactory.getLogger(Signator.class); + + /** + * List of available PDF signing libraries + */ + public enum Signers { + /** + * PDF-AS + */ + PDFAS + }; + + private static Map<Signers, SignerFactory> factoryMap; + + static { + factoryMap = new EnumMap<Signers, SignerFactory>(Signers.class); + + try { + Class<?> pdfAsClass = Class.forName("at.asit.pdfover.signer.pdfas.PDFASSignerFactory"); + SignerFactory factory = (SignerFactory)pdfAsClass.newInstance(); + registerSigner(Signers.PDFAS, factory); + } catch (ClassNotFoundException e) { + log.error("PDF Signer Factory not found", e); + throw new RuntimeException("PDF Signer Factory not found", e); + } catch (InstantiationException e) { + log.error("PDF Signer Factory could not be instantiated", e); + throw new RuntimeException("PDF Signer Factory could not be instantiated", e); + } catch (IllegalAccessException e) { + log.error("PDF Signer Factory could not accessed", e); + throw new RuntimeException("PDF Signer Factory could not accessed", e); + } + } + + private static void registerSigner(Signers signer, SignerFactory factory) { + factoryMap.put(signer, factory); + } + + /** + * Gets a PDF Signer according to the chosen signer library + * @param signer the chosen Signer type + * @return the PDF Signer + */ + public static Signer getSigner(Signers signer) { + return factoryMap.get(signer).createSigner(); + } +} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureDimension.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java index 57f628af..8d47cb19 100644 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureDimension.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java @@ -1,8 +1,7 @@ -package at.asit.pdfover.pdfsigner; +package at.asit.pdfover.signator; /** - * The Dimensions of the visible signature block - * @author afitzek + * The dimensions of the visible signature block */ public class SignatureDimension { @@ -17,44 +16,54 @@ public class SignatureDimension { protected int height; /** - * Sets the width for the dimension - * @param value - */ - public void SetWidth(int value) { - this.width = value; - } - - /** * Constructor * @param width The width of the signature block * @param height The height of the signature block */ public SignatureDimension(int width, int height) { + setDimension(width, height); + } + + /** + * Sets the the dimension of the signature block + * @param width The width + * @param height The height + */ + public void setDimension(int width, int height) + { + setWidth(width); + setHeight(height); + } + + /** + * Sets the width for the dimension + * @param width + */ + public void setWidth(int width) { this.width = width; - this.height = height; } - + /** * Gets the width of the visible Signature block - * @return + * @return the width */ - public int GetWidth() { + public int getWidth() { return this.width; } /** * Sets the height for the dimension - * @param value + * @param height */ - public void SetHeight(int value) { - this.height = value; + public void setHeight(int height) { + this.height = height; } /** * Gets the height of the visible Signature block - * @return + * @return the height */ - public int GetHeight() { + public int getHeight() { return this.height; } } diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java new file mode 100644 index 00000000..d41ba24d --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java @@ -0,0 +1,45 @@ +package at.asit.pdfover.signator; + +/** + * Base class for signature exceptions + */ +public class SignatureException extends Exception { + + /** + * + */ + private static final long serialVersionUID = 711578398780816710L; + + + /** + * Empty constructor + */ + public SignatureException() { + super(); + } + + /** + * Constructor with causing exception + * @param cause the cause + */ + public SignatureException(Throwable cause) { + super(cause); + } + + /** + * Constructor with message + * @param msg the message + */ + public SignatureException(String msg) { + super(msg); + } + + /** + * Constructor with message and causing exception + * @param message the message + * @param cause the cause + */ + public SignatureException(String message, Throwable cause) { + super(message, cause); + } +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java new file mode 100644 index 00000000..3fa9c7ce --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java @@ -0,0 +1,117 @@ +package at.asit.pdfover.signator; + +/** + * The Signature Parameter + */ +public abstract class SignatureParameter { + + /** + * The Signature Position + * @uml.property name="signaturePosition" + * @uml.associationEnd + */ + protected SignaturePosition signaturePosition = null; + + /** + * The signature Device + */ + protected String keyIdentifier = null; + + /** + * The input document + * @uml.property name="documentSource" + * @uml.associationEnd + */ + protected DocumentSource documentSource = null; + + /** + * holds the collimating mark + * @uml.property name="collimark" + * @uml.associationEnd + */ + protected Emblem emblem; + + /** + * Getter of the property <tt>signaturePosition</tt> + * @return Returns the signaturePosition. + */ + public SignaturePosition getSignaturePosition() { + return this.signaturePosition; + } + + /** + * Setter of the property <tt>signaturePosition</tt> + * @param signaturePosition The signaturePosition to set. + */ + public void setSignaturePosition(SignaturePosition signaturePosition) { + this.signaturePosition = signaturePosition; + } + + /** + * Getter of the property <tt>keyIdentifier</tt> + * @return Returns the keyIdentifier. + */ + public String getKeyIdentifier() { + return this.keyIdentifier; + } + + /** + * Setter of the property <tt>keyIdentifier</tt> + * @param keyIdentifier The keyIdentifier to set. + */ + public void setKeyIdentifier(String keyIdentifier) { + this.keyIdentifier = keyIdentifier; + } + + /** + * Getter of the property <tt>documentSource</tt> + * @return Returns the documentSource. + */ + public DocumentSource getInputDocument() { + return this.documentSource; + } + + /** + * Setter of the property <tt>documentSource</tt> + * @param inputDocument The documentSource to set. + */ + public void setInputDocument(DocumentSource inputDocument) { + this.documentSource = inputDocument; + } + + /** + * Gets the Dimension to display the Placeholder + * @return the placeholder dimensions + */ + public abstract SignatureDimension getPlaceholderDimension(); + + /** + * Gets the Emblem + * @return the Emblem + */ + public Emblem getEmblem() { + return this.emblem; + } + + /** + * Sets the Emblem + * @param emblem The new Emblem + */ + public void setEmblem(Emblem emblem) { + this.emblem = emblem; + } + + /** + * Sets generic properties + * @param key + * @param value + */ + public abstract void setProperty(String key, String value); + + /** + * Gets generic properties + * @param key + * @return associated value + */ + public abstract String getProperty(String key); +} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignaturePosition.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java index 82f37deb..59fa4864 100644 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignaturePosition.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java @@ -1,9 +1,8 @@ -package at.asit.pdfover.pdfsigner; +package at.asit.pdfover.signator; /** * Represents the position of a visible signature block - * @author afitzek */ public class SignaturePosition { /** @@ -19,99 +18,90 @@ public class SignaturePosition { /** * The page value of the position */ - protected int page = 1; + protected int page = 0; - protected boolean auto = true; + /** + * Whether automatic positioning is used + */ + protected boolean autoPositioning; /** * Default constructor + * No position given, hence automatic positioning will be used */ public SignaturePosition() { + this.autoPositioning = true; } /** - * X - Y Constructor Page = 1 + * X - Y Constructor (Page = 0) * @param x The x value of the position * @param y The y value of the position */ public SignaturePosition(float x, float y) { - this.x = x; - this.y = y; + this.autoPositioning = false; + setPosition(x, y); } /** * Constructor - * @param x The x value of the position - * @param y The y value of the position - * @param page The page value of the position + * @param x The x value of the signature position + * @param y The y value of the signature position + * @param page The page value of the signature position */ public SignaturePosition(float x, float y, int page) { - this.x = x; - this.y = y; - this.page = page; + this.autoPositioning = false; + setPosition(x, y); + setPage(page); } /** - * Sets X value of position - * @param value the new x value + * Sets new position + * @param x the new x value + * @param y the new y value */ - public void SetX(float value) { - this.x = value; + public void setPosition(float x, float y) { + this.x = x; + this.y = y; } - + /** * Gets the X value of the position * @return float the x value of the position */ - public float GetX() { + public float getX() { return this.x; } - - /** - * Sets Y value of position - * @param value the new y value - */ - public void SetY(float value) { - this.y = value; - } - + /** * Gets the Y value of the position * @return float the y value of the position */ - public float GetY() { + public float getY() { return this.y; } - + /** * Sets Page value of position - * @param value the new page value + * @param page the new page value */ - public void SetPage(int value) { - this.page = value; + public void setPage(int page) { + this.page = page; } - + /** * Gets the Page value of the position * @return int the page value of the position */ - public int GetPage() { + public int getPage() { return this.page; } /** - * Sets Page value of position - * @param value the new page value - */ - public void SetAuto(boolean value) { - this.auto = value; - } - - /** - * Gets the Page value of the position - * @return int the page value of the position + * Gets whether automatic positioning is used + * @return true if the signature position is determined automatically */ - public boolean GetAuto() { - return this.auto; + public boolean useAutoPositioning() { + return this.autoPositioning; } } diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signer.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signer.java new file mode 100644 index 00000000..fd7bee09 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/Signer.java @@ -0,0 +1,33 @@ +package at.asit.pdfover.signator; + +/** + * PDF Signer base Class + * This class should be extended to support libraries such as PDF-AS or PADES. + */ +public interface Signer { + + /** + * Prepare a signature + * Defines signature parameters, the pdf library prepares the pdf document to sign and + * creates a Security Layer Request. + * @param parameter The signature parameters + * @return The signing state (contains the prepared document and the signature request + * @throws SignatureException + */ + public SigningState prepare(SignatureParameter parameter) throws SignatureException; + + /** + * Adds the signature to the document. + * The SL Response has to be set in the state + * @param state The signing state + * @return The signature Result + * @throws SignatureException + */ + public SignResult sign(SigningState state) throws SignatureException; + + /** + * Creates new signing profile + * @return The new Profile + */ + public SignatureParameter newParameter(); +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignerFactory.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignerFactory.java new file mode 100644 index 00000000..6c0b6487 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignerFactory.java @@ -0,0 +1,15 @@ +package at.asit.pdfover.signator; + +import at.asit.pdfover.signator.Signer; + +/** + * A Signer factory + * Creates Signer instances + */ +public abstract class SignerFactory { + /** + * Create a Signer + * @return the new Signer + */ + public abstract Signer createSigner(); +} diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java new file mode 100644 index 00000000..c1e82da3 --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java @@ -0,0 +1,19 @@ +package at.asit.pdfover.signator; + +/** + * The state of the pdf signing library + */ +public interface SigningState { + + /** + * Gets the Security Layer Request to create the signature + * @return The Signature Request + */ + public abstract SLRequest getSignatureRequest(); + + /** + * Sets the Security Layer Response to the Signature Request + * @param value The Signature Response + */ + public abstract void setSignatureResponse(SLResponse value); +} diff --git a/trunk/pdf-over-signer/.project b/trunk/pdf-over-signer/.project new file mode 100644 index 00000000..e0b219a0 --- /dev/null +++ b/trunk/pdf-over-signer/.project @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>pdf-over-signer</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/trunk/pdf-over-signer/.settings/org.eclipse.core.resources.prefs b/trunk/pdf-over-signer/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..3e3d9a5e --- /dev/null +++ b/trunk/pdf-over-signer/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,3 @@ +#Thu Aug 02 13:13:02 CEST 2012 +eclipse.preferences.version=1 +encoding/<project>=UTF-8 diff --git a/trunk/pdf-over-signer/.settings/org.eclipse.jdt.core.prefs b/trunk/pdf-over-signer/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..3e73d18e --- /dev/null +++ b/trunk/pdf-over-signer/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,98 @@ +#Fri Aug 03 18:09:51 CEST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled +org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL,LOW +org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,NOTE diff --git a/trunk/pdf-over-signer/.settings/org.eclipse.m2e.core.prefs b/trunk/pdf-over-signer/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 00000000..64d42840 --- /dev/null +++ b/trunk/pdf-over-signer/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Thu Aug 02 12:33:28 CEST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/trunk/pdf-over-signer/.settings/org.eclipse.mylyn.tasks.ui.prefs b/trunk/pdf-over-signer/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 00000000..e915ba17 --- /dev/null +++ b/trunk/pdf-over-signer/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +#Fri Aug 03 18:56:26 CEST 2012 +eclipse.preferences.version=1 +project.repository.kind=jira +project.repository.url=http\://jira.egovlabs.gv.at diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.classpath b/trunk/pdf-over-signer/pdf-over-sigpdfas/.classpath new file mode 100644 index 00000000..0f53f3e2 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.classpath @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"/> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"/> + <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/> + <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.m2e.MAVEN2_CLASSPATH_CONTAINER"/> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.project b/trunk/pdf-over-signer/pdf-over-sigpdfas/.project new file mode 100644 index 00000000..a8f28341 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.project @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>pdf-over-sigpdfas</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.m2e.core.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.m2e.core.maven2Nature</nature> + </natures> +</projectDescription> diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.core.resources.prefs b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..7f5422a4 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,7 @@ +#Thu Aug 02 13:12:39 CEST 2012 +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/<project>=UTF-8 diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.jdt.core.prefs b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..3e73d18e --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,98 @@ +#Fri Aug 03 18:09:51 CEST 2012 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning +org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=warning +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsMethodTypeParameters=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=protected +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.taskCaseSensitive=enabled +org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,NORMAL,LOW +org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,NOTE diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.m2e.core.prefs b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 00000000..62e91186 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,5 @@ +#Thu Aug 02 12:33:52 CEST 2012 +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.mylyn.tasks.ui.prefs b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.mylyn.tasks.ui.prefs new file mode 100644 index 00000000..c6aa7359 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/.settings/org.eclipse.mylyn.tasks.ui.prefs @@ -0,0 +1,4 @@ +#Fri Aug 03 18:56:31 CEST 2012 +eclipse.preferences.version=1 +project.repository.kind=jira +project.repository.url=http\://jira.egovlabs.gv.at diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/pom.xml b/trunk/pdf-over-signer/pdf-over-sigpdfas/pom.xml new file mode 100644 index 00000000..7a1122ea --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/pom.xml @@ -0,0 +1,24 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>pdf-over-signer</artifactId> + <groupId>a-sit.at</groupId> + <version>4.0.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + <artifactId>pdf-over-sigpdfas</artifactId> + <name>PDF-Over PDF-AS Signer</name> + <dependencies> + <dependency> + <groupId>a-sit.at</groupId> + <artifactId>pdf-over-signator</artifactId> + <version>${project.parent.version}</version> + </dependency> + <dependency> + <groupId>knowcenter</groupId> + <artifactId>pdf-as</artifactId> + <version>3.2</version> + </dependency> + </dependencies> +</project>
\ No newline at end of file diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/ByteArrayPdfAsDataSource.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java index 874a08e9..0fa23192 100644 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/ByteArrayPdfAsDataSource.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java @@ -1,35 +1,41 @@ -package at.asit.pdfover.pdfsigner.pdfas; +package at.asit.pdfover.signer.pdfas; import java.io.ByteArrayInputStream; import java.io.InputStream; import at.gv.egiz.pdfas.api.io.DataSource; -public class ByteArrayPdfAsDataSource implements DataSource { +public class ByteArrayPDFASDataSource implements DataSource { private byte[] data; - public ByteArrayPdfAsDataSource(byte[] data) { + public ByteArrayPDFASDataSource(byte[] data) { this.data = data; } + @Override public InputStream createInputStream() { return new ByteArrayInputStream(this.data); } + @Override public int getLength() { return this.data.length; } + @Override public byte[] getAsByteArray() { return this.data; } + @Override public String getMimeType() { return "application/pdf"; } + @Override public String getCharacterEncoding() { + //TODO return null; } diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java new file mode 100644 index 00000000..756478d3 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java @@ -0,0 +1,73 @@ +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.SignatureException; +import at.gv.egiz.pdfas.api.PdfAs; +import at.gv.egiz.pdfas.api.exceptions.PdfAsException; +import at.gv.egiz.pdfas.api.internal.PdfAsInternal; + +/** + * Encapsulates PDF AS API Object to need just one initialization + * @author afitzek + */ +public class PDFASHelper { + + /** + * PDF AS Object + */ + private static PdfAs pdfAs = null; + + /** + * Internal Pdf AS Object + */ + private static PdfAsInternal pdfAsInternal = null; + + /** + * Creates PDF AS Object + * @return + * @throws PdfAsException + */ + private static PdfAs createPdfAs() throws PdfAsException { + return new at.gv.egiz.pdfas.impl.api.PdfAsObject(); + } + + /** + * Creates a PDF-AS Internal object + * @return the PDF-AS Internal object + * @throws PdfAsException + */ + private static PdfAsInternal createPdfAsInternal() throws PdfAsException { + return new at.gv.egiz.pdfas.impl.api.internal.PdfAsInternalObject(); + } + + /** + * Gets PDF-AS Object + * @return the PDF-AS Object + * @throws SignatureException + */ + public static synchronized PdfAs getPdfAs() throws SignatureException { + if (pdfAs == null) { + try { + pdfAs = createPdfAs(); + } catch(PdfAsException e) { + throw new SignatureException(e); + } + } + return pdfAs; + } + + /** + * Gets PDF-AS Internal object + * @return the PDF-AS Internal object + * @throws SignatureException + */ + public static synchronized PdfAsInternal getPdfAsInternal() throws SignatureException { + if(pdfAsInternal == null) { + try { + pdfAsInternal = createPdfAsInternal(); + } catch(PdfAsException e) { + throw new SignatureException(e); + } + } + return pdfAsInternal; + } +} diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java new file mode 100644 index 00000000..7130f53a --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java @@ -0,0 +1,18 @@ +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.DocumentSource; +import at.asit.pdfover.signator.SLRequest; + +public class PDFASSLRequest implements SLRequest { + + public PDFASSLRequest(String slRequest) { + /// Analyze Request ... + } + + @Override + public DocumentSource getSignatureData() { + // TODO Auto-generated method stub + return null; + } + +} diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSigner.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java index 0cbaef1b..949bbce1 100644 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSigner.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java @@ -1,13 +1,13 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.ByteArrayDocumentSource; -import at.asit.pdfover.pdfsigner.PDFSignatureException; -import at.asit.pdfover.pdfsigner.PDFSignerInterface; -import at.asit.pdfover.pdfsigner.SignResult; -import at.asit.pdfover.pdfsigner.SignResultImpl; -import at.asit.pdfover.pdfsigner.SignatureParameter; -import at.asit.pdfover.pdfsigner.SignaturePosition; -import at.asit.pdfover.pdfsigner.SigningState; +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.ByteArrayDocumentSource; +import at.asit.pdfover.signator.SignatureException; +import at.asit.pdfover.signator.Signer; +import at.asit.pdfover.signator.SignResult; +import at.asit.pdfover.signator.SignResultImpl; +import at.asit.pdfover.signator.SignatureParameter; +import at.asit.pdfover.signator.SignaturePosition; +import at.asit.pdfover.signator.SigningState; import at.gv.egiz.pdfas.api.PdfAs; import at.gv.egiz.pdfas.api.sign.SignParameters; import at.gv.egiz.pdfas.api.sign.SignatureDetailInformation; @@ -19,48 +19,53 @@ import at.gv.egiz.pdfas.api.internal.PdfAsInternal; /** * PDF AS Signer Implementation - * - * @author afitzek */ -public class PDFASSigner implements PDFSignerInterface { +public class PDFASSigner implements Signer { + /** + * The profile ID + */ protected static final String PROFILE_ID = "SIGNATURBLOCK_DE"; + /** + * The template URL + */ protected static final String URL_TEMPLATE = "http://pdfover.4.gv.at/template"; @Override - public SigningState Prepare(SignatureParameter parameter) - throws PDFSignatureException { + public SigningState prepare(SignatureParameter parameter) + throws SignatureException { try { - PDFASSignatureParameter sign_para = null; + PdfAsSignatureParameter sign_para = null; - if (PDFASSignatureParameter.class.isInstance(parameter)) { - sign_para = PDFASSignatureParameter.class.cast(parameter); + if (PdfAsSignatureParameter.class.isInstance(parameter)) { + sign_para = PdfAsSignatureParameter.class.cast(parameter); } if (sign_para == null) { - throw new PDFSignatureException("Incorrect SignatureParameter!"); + throw new SignatureException("Incorrect SignatureParameter!"); } - PdfAs pdfas = PDFASHelper.GetPdfAs(); - + PdfAs pdfas = PDFASHelper.getPdfAs(); + PDFASSigningState state = new PDFASSigningState(); SignParameters params = new SignParameters(); - params.setSignaturePositioning(sign_para.GetPDFASPositioning()); + params.setSignaturePositioning(sign_para.getPDFASPositioning()); params.setSignatureDevice(Constants.SIGNATURE_DEVICE_BKU); params.setSignatureType(Constants.SIGNATURE_TYPE_BINARY); params.setSignatureProfileId(PROFILE_ID); - - if(parameter.GetCollimatingMark() != null) { - params.setProfileOverrideValue("SIG_LABEL", parameter.GetCollimatingMark().GetFileName()); + + if (parameter.getEmblem() != null) { + params.setProfileOverrideValue("SIG_LABEL", parameter + .getEmblem().getFileName()); } - - params.setDocument(sign_para.GetPDFASDataSource()); + + params.setDocument(sign_para.getPDFASDataSource()); state.setSignParameters(params); - - PdfAsInternal pdfasInternal = PDFASHelper.GetPdfAsInternal(); + + PdfAsInternal pdfasInternal = PDFASHelper.getPdfAsInternal(); // Prepares the document SignatureDetailInformation sdi = pdfas.prepareSign(params); @@ -73,16 +78,16 @@ public class PDFASSigner implements PDFSignerInterface { PDFASSLRequest request = new PDFASSLRequest(slRequest); - state.SetSLSignatureRequest(request); + state.setSignatureRequest(request); return state; } catch (PdfAsException e) { - throw new PDFSignatureException(e); + throw new SignatureException(e); } } @Override - public SignResult Sign(SigningState state) throws PDFSignatureException { + public SignResult sign(SigningState state) throws SignatureException { try { PDFASSigningState sstate = null; @@ -91,20 +96,20 @@ public class PDFASSigner implements PDFSignerInterface { } if (sstate == null) { - throw new PDFSignatureException("Incorrect SigningState!"); + throw new SignatureException("Incorrect SigningState!"); } // Retrieve objects - PdfAs pdfas = PDFASHelper.GetPdfAs(); + PdfAs pdfas = PDFASHelper.getPdfAs(); - PdfAsInternal pdfasInternal = PDFASHelper.GetPdfAsInternal(); + PdfAsInternal pdfasInternal = PDFASHelper.getPdfAsInternal(); SignParameters params = sstate.getSignParameters(); - + // Prepare Output sink ByteArrayDataSink data = new ByteArrayDataSink(); params.setOutput(data); - + SignatureDetailInformation sdi = sstate .getSignatureDetailInformation(); @@ -113,35 +118,34 @@ public class PDFASSigner implements PDFSignerInterface { // Perform signature at.gv.egiz.pdfas.api.sign.SignResult signResult = pdfasInternal .finishLocalSign(pdfas, params, sdi, bkuParams, false, - sstate.GetSLSignatureResponse().GetSLRespone()); + sstate.getSignatureResponse().getSLRespone()); - // Preparing Result Response + // Preparing Result Response SignResultImpl result = new SignResultImpl(); // Set Signer Certificate - result.SetSignerCertificate(signResult.getSignerCertificate()); + result.setSignerCertificate(signResult.getSignerCertificate()); at.gv.egiz.pdfas.api.sign.pos.SignaturePosition pdfasPos = signResult .getSignaturePosition(); // Set Signature position SignaturePosition pos = new SignaturePosition(pdfasPos.getX(), pdfasPos.getY(), pdfasPos.getPage()); - pos.SetAuto(sstate.getPDFAsSignatureParameter() - .GetSignaturePosition().GetAuto()); - result.SetSignaturePosition(pos); +/* pos.SetAuto(sstate.getPDFAsSignatureParameter() + .getSignaturePosition().useAutoPositioning());*/ + result.setSignaturePosition(pos); + + // Set signed Document + result.setSignedDocument(new ByteArrayDocumentSource(data.getData())); - // Set signed Document - result.SetSignedDocument(new ByteArrayDocumentSource(data.getData())); - return result; } catch (PdfAsException e) { - throw new PDFSignatureException(e); + throw new SignatureException(e); } } @Override - public SignatureParameter GetParameter() { - return new PDFASSignatureParameter(); + public SignatureParameter newParameter() { + return new PdfAsSignatureParameter(); } - } diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java new file mode 100644 index 00000000..eaf9637f --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java @@ -0,0 +1,12 @@ +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.Signer; +import at.asit.pdfover.signator.SignerFactory; + +public class PDFASSignerFactory extends SignerFactory { + + @Override + public Signer createSigner() { + return new PDFASSigner(); + } +} diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java new file mode 100644 index 00000000..8b8216c6 --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java @@ -0,0 +1,87 @@ +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.SLRequest; +import at.asit.pdfover.signator.SLResponse; +import at.asit.pdfover.signator.SigningState; +import at.gv.egiz.pdfas.api.sign.SignatureDetailInformation; + +/** + * Signing State for PDFAS Wrapper + * @author afitzek + */ +public class PDFASSigningState implements SigningState { + + /** + * The Signature Layer request + */ + protected SLRequest slrequest; + + /** + * The Signature Layer response + */ + protected SLResponse slresponse; + + @Override + public SLRequest getSignatureRequest() { + return this.slrequest; + } + + @Override + public void setSignatureResponse(SLResponse response) { + this.slresponse = response; + } + + /** + * Sets the SL Request + * @param request The SL Request + */ + public void setSignatureRequest(SLRequest request) { + this.slrequest = request; + } + + /** + * Gets the SL Response + * @return The SL Repsonse object + */ + public SLResponse getSignatureResponse() { + return this.slresponse; + } + + + // ---------------------------------------- + // PDF AS Specific stuff + // ---------------------------------------- + + protected SignatureDetailInformation signatureDetailInformation; + + protected at.gv.egiz.pdfas.api.sign.SignParameters signParameters; + + protected PdfAsSignatureParameter pdfAsSignatureParameter; + + public PdfAsSignatureParameter getPdfAsSignatureParameter() { + return pdfAsSignatureParameter; + } + + public void setPdfAsSignatureParameter( + PdfAsSignatureParameter pdfAsSignatureParameter) { + this.pdfAsSignatureParameter = pdfAsSignatureParameter; + } + + public at.gv.egiz.pdfas.api.sign.SignParameters getSignParameters() { + return signParameters; + } + + public void setSignParameters( + at.gv.egiz.pdfas.api.sign.SignParameters signParameters) { + this.signParameters = signParameters; + } + + public SignatureDetailInformation getSignatureDetailInformation() { + return signatureDetailInformation; + } + + public void setSignatureDetailInformation( + SignatureDetailInformation signatureDetailInformation) { + this.signatureDetailInformation = signatureDetailInformation; + } +} diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java new file mode 100644 index 00000000..7332a13e --- /dev/null +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java @@ -0,0 +1,37 @@ +package at.asit.pdfover.signer.pdfas; + +import at.asit.pdfover.signator.SignatureDimension; +import at.asit.pdfover.signator.SignatureParameter; +import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning; +import at.gv.egiz.pdfas.api.io.DataSource; + +public class PdfAsSignatureParameter extends SignatureParameter { + + @Override + public SignatureDimension getPlaceholderDimension() { + // TODO Auto-generated method stub + return null; + } + + public SignaturePositioning getPDFASPositioning() { + // TODO: implement Signature creation + return new SignaturePositioning(); + } + + public DataSource getPDFASDataSource() { + // TODO: implement Signature creation + return new ByteArrayPDFASDataSource(null); + } + + @Override + public void setProperty(String key, String value) { + // TODO Auto-generated method stub + + } + + @Override + public String getProperty(String key) { + // TODO Auto-generated method stub + return null; + } +} diff --git a/trunk/pdf-over-signer/pom.xml b/trunk/pdf-over-signer/pom.xml new file mode 100644 index 00000000..f09aaa5d --- /dev/null +++ b/trunk/pdf-over-signer/pom.xml @@ -0,0 +1,16 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>pdf-over</artifactId> + <groupId>a-sit.at</groupId> + <version>4.0.0-SNAPSHOT</version> + <relativePath>..</relativePath> + </parent> + <artifactId>pdf-over-signer</artifactId> + <name>PDF-Over PDF-Signer libraries</name> + <packaging>pom</packaging> + <modules> + <module>pdf-over-sigpdfas</module> + </modules> +</project>
\ No newline at end of file diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about.html b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about.html deleted file mode 100644 index 6c5fbd8d..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about.html +++ /dev/null @@ -1,301 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> -<title>About</title> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>August 17, 2006</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p> - -<h3>Third Party Content</h3> - -<p>The Content includes items that have been sourced from third parties as set out below. If you -did not receive this Content directly from the Eclipse Foundation, the following is provided -for informational purposes only, and you should look to the Redistributor’s license for -terms and conditions of use.</p> - -<h4>Gnome Binding</h4> - -<p>The "Gnome Binding" is a binding to the Gnome API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the Gnome Binding:</p> -<ul> - <li>libswt-gnome-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Gnome Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/gnome (but not including any sub-directories)</li> -</ul> - -<p>The Gnome Binding contains portions of Gnome ("Library"). Gnome is made available by The Free Software Foundation. Use of the Library is governed by the terms and -conditions of the GNU Lesser General Public License Version 2.1 ("LGPL"). Use of the Gnome Binding on a standalone -basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at -<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p> - -<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work -containing portions of the Library (e.g. the Gnome Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all -other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the Gnome Binding such modifications shall be -governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined -work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p> - -<h4>GTK+ Binding</h4> - -<p>The "GTK+ Binding" is a binding to the GTK+ API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the GTK+ Binding:</p> -<ul> - <li>libswt-atk-gtk-xxxx.so (where "xxxx" is the version number)</li> - <li>libswt-pi-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the GTK+ Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/accessibility/gtk (but not including any sub-directories)</li> - <li>The contents of the directory org/eclipse/swt/internal/cde (but not including any sub-directories)</li> - <li>The contents of the directory org/eclipse/swt/internal/gtk (but not including any sub-directories)</li> -</ul> - -<p>The GTK+ Binding contains portions of GTK+ ("Library"). GTK+ is made available by The Free Software Foundation. Use of the Library is governed by the terms and -conditions of the GNU Lesser General Public License Version 2.1 ("LGPL"). Use of the GTK+ Binding on a standalone -basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at -<a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>.</p> - -<p>In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work -containing portions of the Library (e.g. the GTK+ Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all -other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the GTK+ Binding such modifications shall be -governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined -work is provided for debugging purposes so there is no need to reverse engineer the combined work.</p> - -<h4>WebKitGTK+ Binding</h4> - -<p>The "WebKitGTK+ Binding" is a binding to the WebKitGTK+ API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the WebKitGTK+ Binding:</p> - -<ul> - <li>libswt-webkit-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the WebKitGTK+ Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/webkit (but not including any sub-directories)</li> -</ul> - -<p> -The WebKitGTK+ Binding contains portions of WebKitGTK+ ("Library"). WebKitGTK+ is made available by the WebKitGTK+ open source project (<a href="http://webkitgtk.org/" target="_blank">http://webkit.org/</a>). Use of the Library is governed by the terms and conditions of the GNU Lesser General Public License Version 2.1 ("LGPL"). Use of the WebKitGTK+ Binding on a standalone basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>. </p> - -<p> -In accordance with Section 6 of the LGPL, you may combine or link a "work that uses the Library" (e.g. the SWT) with the Library to produce a work containing portions of the Library (e.g. the WebKitGTK+ Binding) and distribute that work under the terms of your choice (e.g. the EPL) provided you comply with all other terms and conditions of Section 6 as well as other Sections of the LGPL. Please note, if you modify the WebKitGTK+ Binding such modifications shall be governed by the terms and conditions of the LGPL. Also note, the terms of the EPL permit you to modify the combined work and the source code of the combined work is provided for debugging purposes so there is no need to reverse engineer the combined work.<p> - -<p>The WebKitGTK+ Binding also contains portions of the WebKit JavaScriptCore code which is made available by the WebKit open source project (<a href="http://webkit.org/" target="_blank">http://webkit.org/</a>). The WebKit JavaScriptCore code was obtained under the terms of the BSD license. A copy of the BSD license is provided (<a href="about_files/webkit-bsd.txt"target="_blank">webkit-bsd.txt</a>) and is also available at <a href="http://webkit.org/coding/bsd-license.html" target="_blank">http://webkit.org/coding/bsd-license.html</a>. </p> - -<h4>libsoup</h4> - -<p>The "WebKitGTK+ Binding" also includes a binding to the libsoup API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the WebKitGTK+ Binding:</p> -<ul> - <li>libswt-webkit-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the WebKitGTK+ Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/webkit (but not including any sub-directories)</li> -</ul> - -<p>The WebKitGTK+ Binding contains portions of libsoup ("Library"). libsoup is made available by The GNOME Project (<a href="http://live.gnome.org/LibSoup" target="_blank">http://live.gnome.org/LibSoup/</a>). Use of the Library is governed by the terms and conditions of the GNU Lesser General Public License Version 2.1 ("LGPL"). Use of the WebKitGTK+ Binding on a standalone basis, is also governed by the terms and conditions of the LGPL. A copy of the LGPL is provided with the Content (<a href="about_files/lgpl-v21.txt" target="_blank">lgpl-v21.txt</a>) and is also available at <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">http://www.gnu.org/licenses/lgpl.html</a>. </p> - -<h4>Mozilla Binding</h4> - -<p>The "Mozilla Binding" is a binding to the Mozilla API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the Mozilla Binding:</p> -<ul> - <li>libswt-mozilla-gtk-xxxx.so (where "xxxx" is the version number)</li> - <li>libswt-mozilla-gcc3-gtk-xxxx.so (where "xxxx" is the version number)</li> - <li>libswt-xulrunner-gtk-xxxx.so (where "xxxx" is the version number)</li> - <li>libswt-xpcominit-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Mozilla Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/mozilla (but not including any sub-directories)</li> -</ul> - -<p>The Mozilla Binding contains portions of Mozilla ("Mozilla"). Mozilla is made available by Mozilla.org. Use of Mozilla is governed by the terms and -conditions of the Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at -<a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p> - -<h4>XULRunner 1.9 (subset, derivative work)</h4> - -The libraries libswt-xulrunner-gtk-xxxx.so, libswt-mozilla-gtk-xxxx.so, and libswt-mozilla-gcc3-gtk-xxxx.so (where "xxxx" is the version number) contain a small portion of XULRunner 1.9 content (header files) -that have been modified from the Original Code provided by mozilla.org, and whose Initial Developer is Netscape Communications Corporation. Use of this code is governed by -the terms and conditions of the Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is provided with the Content (<a href="./about_files/mpl-v11.txt">mpl-v11.txt</a>) -and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>. -<p>The changed files are: -<ul> - <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptContext.h</code> - <li>org.eclipse.swt/Eclipse SWT Mozilla/common/library/nsIScriptGlobalObject.h</code> -</ul> -Changes to the original files were made by SWT on April 7, 2009 and are marked with trailing comment <em>"//SWT-20090407"</em>. - -<h4>Cairo Binding</h4> - -<p>The "Cairo Binding" is a binding to the Cairo API. The Content may include any or all of the following files:</p> - -<p>The following files in the plug-in JAR shall be defined as the native code portion of the Cairo Binding:</p> -<ul> - <li>libswt-cairo-gtk-xxxx.so (where "xxxx" is the version number)</li> -</ul> - -<p>The following files in both the plug-in JAR and the src.zip shall be defined respectively as the bytecode and source code portions of the Cairo Binding:</p> -<ul> - <li>The contents of the directory org/eclipse/swt/internal/cairo (but not including any sub-directories)</li> -</ul> - -<p>The Cairo Binding contains portions of Cairo ("Cairo"). Cairo is made available by the Cairo project at -<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>. Use of Cairo by the Cairo Binding is governed by the terms and -conditions of the Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is -provided with the Content (<a href="about_files/mpl-v11.txt" target="_blank">mpl-v11.txt</a>) and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</a>.</p> - -<h4>Cairo for Linux</h4> - -<p>Refer to the file <a href="about_files/about_cairo.html">about_files/about_cairo.html</a> for licensing details about "Cairo for Linux." - -<h4>Independent JPEG Group's JPEG software release 6b</h4> - -<p>This software is based in part on the work of the Independent JPEG Group's JPEG software release 6b ("LIBJPEG"). -LIBJPEG was used to implement the decoding of JPEG format files in Java (TM). The Content does NOT include any portion of the LIBJPEG file ansi2knr.c.</p> - -<p>Your use of LIBJPEG is subject to the terms and conditions located in the <a href="about_files/IJG_README">about_files/IJG_README</a> file which is included -with the Content.</p> - -<p>The IJG's website is located at <a href="http://ijg.org/" target="_blank">http://ijg.org</a>.</p> - -<p>The class org.eclipse.swt.internal.image.JPEGFileFormat is based on following files from LIBJPEG:</p> - -<ul> - <li>cderror.h</li> - <li>cdjpeg.h</li> - <li>jchuff.h</li> - <li>jdcolor.c</li> - <li>jdct.h</li> - <li>jdhuff.h</li> - <li>jerror.h</li> - <li>jidctint.c</li> - <li>jinclude.h</li> - <li>jmemsys.h</li> - <li>jmorecfg.h</li> - <li>jpegint.h</li> - <li>jpeglib.h</li> - <li>jversion.h</li> - <li>transupp.h</li> -</ul> - -<p>The class org.eclipse.swt.internal.image.JPEGDecoder is based on the following files from LIBJPEG:</p> - -<ul> - <li>jcapimin.c</li> - <li>jcapistd.c</li> - <li>jccoefct.c</li> - <li>jccolor.c</li> - <li>jcdctmgr.c</li> - <li>jchuff.c</li> - <li>jcinit.c</li> - <li>jcmainct.c</li> - <li>jcmarker.c</li> - <li>jcmaster.c</li> - <li>jcomapi.c</li> - <li>jcparam.c</li> - <li>jcphuff.c</li> - <li>jcprepct.c</li> - <li>jcsample.c</li> - <li>jctrans.c</li> - <li>jdapimin.c</li> - <li>jdapistd.c</li> - <li>jdatadst.c</li> - <li>jdatasrc.c</li> - <li>jdcoefct.c</li> - <li>jdcolor.c</li> - <li>jddctmgr.c</li> - <li>jdhuff.c</li> - <li>jdinput.c</li> - <li>jdmainct.c</li> - <li>jdmarker.c</li> - <li>jdmaster.c</li> - <li>jdmerge.c</li> - <li>jdphuff.c</li> - <li>jdpostct.c</li> - <li>jdsample.c</li> - <li>jdtrans.c</li> - <li>jerror.c</li> - <li>jfdctflt.c</li> - <li>jfdctfst.c</li> - <li>jfdctint.c</li> - <li>jidctflt.c</li> - <li>jidctfst.c</li> - <li>jidctint.c</li> - <li>jidctred.c</li> - <li>jpegtran.c</li> - <li>jquant1.c</li> - <li>jquant2.c</li> - <li>jutils.c</li> - <li>cderror.h</li> - <li>cdjpeg.h</li> - <li>jchuff.h</li> - <li>jconfig.h</li> - <li>jdct.h</li> - <li>jdhuff.h</li> - <li>jerror.h</li> - <li>jinclude.h</li> - <li>jmorecfg.h</li> - <li>jpegint.h</li> - <li>jpeglib.h</li> - <li>jversion.h</li> - <li>transupp.h</li> -</ul> - -<p>The following changes were made to the LIBJPEG code in the Content:</p> - -<ol> - <li>In Java, pointer math is not allowed so indexing was used instead.</li> - <li>Function pointers were replaced with switch statements.</li> - <li>The virtual memory, tracing and progress monitoring were removed.</li> - <li>The error handling was simplified and now uses Java exceptions.</li> -</ol> - -<h4>PuTTY 0.58 (derivative work)</h4> - -<p>Portions of the SWT class org/eclipse/swt/internal/image/PngDeflater are based on PuTTY's sshzlib.c. PuTTY is made available by Mozilla.org. Use of PuTTY is governed by the terms and -conditions of the the following MIT-style license: </p> -<blockquote> - <p><em>PuTTY is copyright 1997-2007 Simon Tatham.</em> </p> - <p><em>Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, and CORE SDI S.A.</em> </p> - <p><em>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</em> </p> - <p><em>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</em> </p> - <p><em>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SIMON TATHAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</em> </p> -</blockquote> -<p>A copy of the license is also available at <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html" target="_blank">http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html</a>.</p> - -<p><small>Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.</small></p> - -</body> -</html>
\ No newline at end of file diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/IJG_README b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/IJG_README deleted file mode 100644 index 86cc2066..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/IJG_README +++ /dev/null @@ -1,385 +0,0 @@ -The Independent JPEG Group's JPEG software -========================================== - -README for release 6b of 27-Mar-1998 -==================================== - -This distribution contains the sixth public release of the Independent JPEG -Group's free JPEG software. You are welcome to redistribute this software and -to use it for any purpose, subject to the conditions under LEGAL ISSUES, below. - -Serious users of this software (particularly those incorporating it into -larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to -our electronic mailing list. Mailing list members are notified of updates -and have a chance to participate in technical discussions, etc. - -This software is the work of Tom Lane, Philip Gladstone, Jim Boucher, -Lee Crocker, Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi, -Guido Vollbeding, Ge' Weijers, and other members of the Independent JPEG -Group. - -IJG is not affiliated with the official ISO JPEG standards committee. - - -DOCUMENTATION ROADMAP -===================== - -This file contains the following sections: - -OVERVIEW General description of JPEG and the IJG software. -LEGAL ISSUES Copyright, lack of warranty, terms of distribution. -REFERENCES Where to learn more about JPEG. -ARCHIVE LOCATIONS Where to find newer versions of this software. -RELATED SOFTWARE Other stuff you should get. -FILE FORMAT WARS Software *not* to get. -TO DO Plans for future IJG releases. - -Other documentation files in the distribution are: - -User documentation: - install.doc How to configure and install the IJG software. - usage.doc Usage instructions for cjpeg, djpeg, jpegtran, - rdjpgcom, and wrjpgcom. - *.1 Unix-style man pages for programs (same info as usage.doc). - wizard.doc Advanced usage instructions for JPEG wizards only. - change.log Version-to-version change highlights. -Programmer and internal documentation: - libjpeg.doc How to use the JPEG library in your own programs. - example.c Sample code for calling the JPEG library. - structure.doc Overview of the JPEG library's internal structure. - filelist.doc Road map of IJG files. - coderules.doc Coding style rules --- please read if you contribute code. - -Please read at least the files install.doc and usage.doc. Useful information -can also be found in the JPEG FAQ (Frequently Asked Questions) article. See -ARCHIVE LOCATIONS below to find out where to obtain the FAQ article. - -If you want to understand how the JPEG code works, we suggest reading one or -more of the REFERENCES, then looking at the documentation files (in roughly -the order listed) before diving into the code. - - -OVERVIEW -======== - -This package contains C software to implement JPEG image compression and -decompression. JPEG (pronounced "jay-peg") is a standardized compression -method for full-color and gray-scale images. JPEG is intended for compressing -"real-world" scenes; line drawings, cartoons and other non-realistic images -are not its strong suit. JPEG is lossy, meaning that the output image is not -exactly identical to the input image. Hence you must not use JPEG if you -have to have identical output bits. However, on typical photographic images, -very good compression levels can be obtained with no visible change, and -remarkably high compression levels are possible if you can tolerate a -low-quality image. For more details, see the references, or just experiment -with various compression settings. - -This software implements JPEG baseline, extended-sequential, and progressive -compression processes. Provision is made for supporting all variants of these -processes, although some uncommon parameter settings aren't implemented yet. -For legal reasons, we are not distributing code for the arithmetic-coding -variants of JPEG; see LEGAL ISSUES. We have made no provision for supporting -the hierarchical or lossless processes defined in the standard. - -We provide a set of library routines for reading and writing JPEG image files, -plus two sample applications "cjpeg" and "djpeg", which use the library to -perform conversion between JPEG and some other popular image file formats. -The library is intended to be reused in other applications. - -In order to support file conversion and viewing software, we have included -considerable functionality beyond the bare JPEG coding/decoding capability; -for example, the color quantization modules are not strictly part of JPEG -decoding, but they are essential for output to colormapped file formats or -colormapped displays. These extra functions can be compiled out of the -library if not required for a particular application. We have also included -"jpegtran", a utility for lossless transcoding between different JPEG -processes, and "rdjpgcom" and "wrjpgcom", two simple applications for -inserting and extracting textual comments in JFIF files. - -The emphasis in designing this software has been on achieving portability and -flexibility, while also making it fast enough to be useful. In particular, -the software is not intended to be read as a tutorial on JPEG. (See the -REFERENCES section for introductory material.) Rather, it is intended to -be reliable, portable, industrial-strength code. We do not claim to have -achieved that goal in every aspect of the software, but we strive for it. - -We welcome the use of this software as a component of commercial products. -No royalty is required, but we do ask for an acknowledgement in product -documentation, as described under LEGAL ISSUES. - - -LEGAL ISSUES -============ - -In plain English: - -1. We don't promise that this software works. (But if you find any bugs, - please let us know!) -2. You can use this software for whatever you want. You don't have to pay us. -3. You may not pretend that you wrote this software. If you use it in a - program, you must acknowledge somewhere in your documentation that - you've used the IJG code. - -In legalese: - -The authors make NO WARRANTY or representation, either express or implied, -with respect to this software, its quality, accuracy, merchantability, or -fitness for a particular purpose. This software is provided "AS IS", and you, -its user, assume the entire risk as to its quality and accuracy. - -This software is copyright (C) 1991-1998, Thomas G. Lane. -All Rights Reserved except as specified below. - -Permission is hereby granted to use, copy, modify, and distribute this -software (or portions thereof) for any purpose, without fee, subject to these -conditions: -(1) If any part of the source code for this software is distributed, then this -README file must be included, with this copyright and no-warranty notice -unaltered; and any additions, deletions, or changes to the original files -must be clearly indicated in accompanying documentation. -(2) If only executable code is distributed, then the accompanying -documentation must state that "this software is based in part on the work of -the Independent JPEG Group". -(3) Permission for use of this software is granted only if the user accepts -full responsibility for any undesirable consequences; the authors accept -NO LIABILITY for damages of any kind. - -These conditions apply to any software derived from or based on the IJG code, -not just to the unmodified library. If you use our work, you ought to -acknowledge us. - -Permission is NOT granted for the use of any IJG author's name or company name -in advertising or publicity relating to this software or products derived from -it. This software may be referred to only as "the Independent JPEG Group's -software". - -We specifically permit and encourage the use of this software as the basis of -commercial products, provided that all warranty or liability claims are -assumed by the product vendor. - - -ansi2knr.c is included in this distribution by permission of L. Peter Deutsch, -sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA. -ansi2knr.c is NOT covered by the above copyright and conditions, but instead -by the usual distribution terms of the Free Software Foundation; principally, -that you must include source code if you redistribute it. (See the file -ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part -of any program generated from the IJG code, this does not limit you more than -the foregoing paragraphs do. - -The Unix configuration script "configure" was produced with GNU Autoconf. -It is copyright by the Free Software Foundation but is freely distributable. -The same holds for its supporting scripts (config.guess, config.sub, -ltconfig, ltmain.sh). Another support script, install-sh, is copyright -by M.I.T. but is also freely distributable. - -It appears that the arithmetic coding option of the JPEG spec is covered by -patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot -legally be used without obtaining one or more licenses. For this reason, -support for arithmetic coding has been removed from the free JPEG software. -(Since arithmetic coding provides only a marginal gain over the unpatented -Huffman mode, it is unlikely that very many implementations will support it.) -So far as we are aware, there are no patent restrictions on the remaining -code. - -The IJG distribution formerly included code to read and write GIF files. -To avoid entanglement with the Unisys LZW patent, GIF reading support has -been removed altogether, and the GIF writer has been simplified to produce -"uncompressed GIFs". This technique does not use the LZW algorithm; the -resulting GIF files are larger than usual, but are readable by all standard -GIF decoders. - -We are required to state that - "The Graphics Interchange Format(c) is the Copyright property of - CompuServe Incorporated. GIF(sm) is a Service Mark property of - CompuServe Incorporated." - - -REFERENCES -========== - -We highly recommend reading one or more of these references before trying to -understand the innards of the JPEG software. - -The best short technical introduction to the JPEG compression algorithm is - Wallace, Gregory K. "The JPEG Still Picture Compression Standard", - Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44. -(Adjacent articles in that issue discuss MPEG motion picture compression, -applications of JPEG, and related topics.) If you don't have the CACM issue -handy, a PostScript file containing a revised version of Wallace's article is -available at ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz. The file (actually -a preprint for an article that appeared in IEEE Trans. Consumer Electronics) -omits the sample images that appeared in CACM, but it includes corrections -and some added material. Note: the Wallace article is copyright ACM and IEEE, -and it may not be used for commercial purposes. - -A somewhat less technical, more leisurely introduction to JPEG can be found in -"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by -M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1. This book provides -good explanations and example C code for a multitude of compression methods -including JPEG. It is an excellent source if you are comfortable reading C -code but don't know much about data compression in general. The book's JPEG -sample code is far from industrial-strength, but when you are ready to look -at a full implementation, you've got one here... - -The best full description of JPEG is the textbook "JPEG Still Image Data -Compression Standard" by William B. Pennebaker and Joan L. Mitchell, published -by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1. Price US$59.95, 638 pp. -The book includes the complete text of the ISO JPEG standards (DIS 10918-1 -and draft DIS 10918-2). This is by far the most complete exposition of JPEG -in existence, and we highly recommend it. - -The JPEG standard itself is not available electronically; you must order a -paper copy through ISO or ITU. (Unless you feel a need to own a certified -official copy, we recommend buying the Pennebaker and Mitchell book instead; -it's much cheaper and includes a great deal of useful explanatory material.) -In the USA, copies of the standard may be ordered from ANSI Sales at (212) -642-4900, or from Global Engineering Documents at (800) 854-7179. (ANSI -doesn't take credit card orders, but Global does.) It's not cheap: as of -1992, ANSI was charging $95 for Part 1 and $47 for Part 2, plus 7% -shipping/handling. The standard is divided into two parts, Part 1 being the -actual specification, while Part 2 covers compliance testing methods. Part 1 -is titled "Digital Compression and Coding of Continuous-tone Still Images, -Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS -10918-1, ITU-T T.81. Part 2 is titled "Digital Compression and Coding of -Continuous-tone Still Images, Part 2: Compliance testing" and has document -numbers ISO/IEC IS 10918-2, ITU-T T.83. - -Some extensions to the original JPEG standard are defined in JPEG Part 3, -a newer ISO standard numbered ISO/IEC IS 10918-3 and ITU-T T.84. IJG -currently does not support any Part 3 extensions. - -The JPEG standard does not specify all details of an interchangeable file -format. For the omitted details we follow the "JFIF" conventions, revision -1.02. A copy of the JFIF spec is available from: - Literature Department - C-Cube Microsystems, Inc. - 1778 McCarthy Blvd. - Milpitas, CA 95035 - phone (408) 944-6300, fax (408) 944-6314 -A PostScript version of this document is available by FTP at -ftp://ftp.uu.net/graphics/jpeg/jfif.ps.gz. There is also a plain text -version at ftp://ftp.uu.net/graphics/jpeg/jfif.txt.gz, but it is missing -the figures. - -The TIFF 6.0 file format specification can be obtained by FTP from -ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz. The JPEG incorporation scheme -found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems. -IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6). -Instead, we recommend the JPEG design proposed by TIFF Technical Note #2 -(Compression tag 7). Copies of this Note can be obtained from ftp.sgi.com or -from ftp://ftp.uu.net/graphics/jpeg/. It is expected that the next revision -of the TIFF spec will replace the 6.0 JPEG design with the Note's design. -Although IJG's own code does not support TIFF/JPEG, the free libtiff library -uses our library to implement TIFF/JPEG per the Note. libtiff is available -from ftp://ftp.sgi.com/graphics/tiff/. - - -ARCHIVE LOCATIONS -================= - -The "official" archive site for this software is ftp.uu.net (Internet -address 192.48.96.9). The most recent released version can always be found -there in directory graphics/jpeg. This particular version will be archived -as ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz. If you don't have -direct Internet access, UUNET's archives are also available via UUCP; contact -help@uunet.uu.net for information on retrieving files that way. - -Numerous Internet sites maintain copies of the UUNET files. However, only -ftp.uu.net is guaranteed to have the latest official version. - -You can also obtain this software in DOS-compatible "zip" archive format from -the SimTel archives (ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/), or -on CompuServe in the Graphics Support forum (GO CIS:GRAPHSUP), library 12 -"JPEG Tools". Again, these versions may sometimes lag behind the ftp.uu.net -release. - -The JPEG FAQ (Frequently Asked Questions) article is a useful source of -general information about JPEG. It is updated constantly and therefore is -not included in this distribution. The FAQ is posted every two weeks to -Usenet newsgroups comp.graphics.misc, news.answers, and other groups. -It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/ -and other news.answers archive sites, including the official news.answers -archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/. -If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu -with body - send usenet/news.answers/jpeg-faq/part1 - send usenet/news.answers/jpeg-faq/part2 - - -RELATED SOFTWARE -================ - -Numerous viewing and image manipulation programs now support JPEG. (Quite a -few of them use this library to do so.) The JPEG FAQ described above lists -some of the more popular free and shareware viewers, and tells where to -obtain them on Internet. - -If you are on a Unix machine, we highly recommend Jef Poskanzer's free -PBMPLUS software, which provides many useful operations on PPM-format image -files. In particular, it can convert PPM images to and from a wide range of -other formats, thus making cjpeg/djpeg considerably more useful. The latest -version is distributed by the NetPBM group, and is available from numerous -sites, notably ftp://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/. -Unfortunately PBMPLUS/NETPBM is not nearly as portable as the IJG software is; -you are likely to have difficulty making it work on any non-Unix machine. - -A different free JPEG implementation, written by the PVRG group at Stanford, -is available from ftp://havefun.stanford.edu/pub/jpeg/. This program -is designed for research and experimentation rather than production use; -it is slower, harder to use, and less portable than the IJG code, but it -is easier to read and modify. Also, the PVRG code supports lossless JPEG, -which we do not. (On the other hand, it doesn't do progressive JPEG.) - - -FILE FORMAT WARS -================ - -Some JPEG programs produce files that are not compatible with our library. -The root of the problem is that the ISO JPEG committee failed to specify a -concrete file format. Some vendors "filled in the blanks" on their own, -creating proprietary formats that no one else could read. (For example, none -of the early commercial JPEG implementations for the Macintosh were able to -exchange compressed files.) - -The file format we have adopted is called JFIF (see REFERENCES). This format -has been agreed to by a number of major commercial JPEG vendors, and it has -become the de facto standard. JFIF is a minimal or "low end" representation. -We recommend the use of TIFF/JPEG (TIFF revision 6.0 as modified by TIFF -Technical Note #2) for "high end" applications that need to record a lot of -additional data about an image. TIFF/JPEG is fairly new and not yet widely -supported, unfortunately. - -The upcoming JPEG Part 3 standard defines a file format called SPIFF. -SPIFF is interoperable with JFIF, in the sense that most JFIF decoders should -be able to read the most common variant of SPIFF. SPIFF has some technical -advantages over JFIF, but its major claim to fame is simply that it is an -official standard rather than an informal one. At this point it is unclear -whether SPIFF will supersede JFIF or whether JFIF will remain the de-facto -standard. IJG intends to support SPIFF once the standard is frozen, but we -have not decided whether it should become our default output format or not. -(In any case, our decoder will remain capable of reading JFIF indefinitely.) - -Various proprietary file formats incorporating JPEG compression also exist. -We have little or no sympathy for the existence of these formats. Indeed, -one of the original reasons for developing this free software was to help -force convergence on common, open format standards for JPEG files. Don't -use a proprietary file format! - - -TO DO -===== - -The major thrust for v7 will probably be improvement of visual quality. -The current method for scaling the quantization tables is known not to be -very good at low Q values. We also intend to investigate block boundary -smoothing, "poor man's variable quantization", and other means of improving -quality-vs-file-size performance without sacrificing compatibility. - -In future versions, we are considering supporting some of the upcoming JPEG -Part 3 extensions --- principally, variable quantization and the SPIFF file -format. - -As always, speeding things up is of great interest. - -Please send bug reports, offers of help, etc. to jpeg-info@uunet.uu.net. diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/about_cairo.html b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/about_cairo.html deleted file mode 100644 index 01323077..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/about_cairo.html +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> -<html> -<head> -<title>About</title> -<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> -</head> -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>March 27, 2006</p> -<h3>License</h3> - -<p>The Eclipse Foundation has included the following package for your convenience:</p> - -<h4>Cairo 1.0.2 for Linux</h4> - -<p>Cairo for Linux ("Cairo") is developed by The Cairo Project (<a href="http://www.cairographics.org" target="_blank">http://www.cairographics.org</a>):</p> - -<p>Cairo is delivered in the following file ("Cairo Library"):</p> -<ul> - <li>libcairo-swt.so</li> -</ul> - -<p>which was compiled from Cairo source code available at <a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>.</p> - -<p>Your use of the Cairo code in binary form is subject to -the terms and conditions of Mozilla Public License Version 1.1 ("MPL"). A copy of the MPL is provided (<a href="mpl-v11.txt" target="blank">mpl-v11.txt</a>) -and is also available at <a href="http://www.mozilla.org/MPL/MPL-1.1.html" target="_blank">http://www.mozilla.org/MPL/MPL-1.1.html.</a> - -<h4>pixman 0.1.6</h4> - -<p>pixman ("pixman") is packaged within the Cairo Library and was compiled from source code available at -<a href="http://www.cairographics.org/snapshots" target="_blank">http://www.cairographics.org/snapshots</a>. -pixman includes the following packages:</p> - -<ul> - <li>libpixregion</li> - <li>libic</li> - <li>slim</li> -</ul> - -Your use of pixman is subject to the terms and conditions of the licenses in <a href="pixman-licenses.txt" target="blank">pixman-licenses.txt</a>.</p> - -<p>If you did not receive the Cairo Library directly from the Eclipse Foundation, the package is being redistributed by another party ("Redistributor") and different terms and conditions may -apply its use. Check the Redistributor's license that was provided with the content. If no such license exists, contact the Redistributor.</p> - -</body> -</html>
\ No newline at end of file diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/lgpl-v21.txt b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/lgpl-v21.txt deleted file mode 100644 index 807db791..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/lgpl-v21.txt +++ /dev/null @@ -1,506 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - <one line to give the library's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - <signature of Ty Coon>, 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - - - diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/mpl-v11.txt b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/mpl-v11.txt deleted file mode 100644 index 7714141d..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/mpl-v11.txt +++ /dev/null @@ -1,470 +0,0 @@ - MOZILLA PUBLIC LICENSE - Version 1.1 - - --------------- - -1. Definitions. - - 1.0.1. "Commercial Use" means distribution or otherwise making the - Covered Code available to a third party. - - 1.1. "Contributor" means each entity that creates or contributes to - the creation of Modifications. - - 1.2. "Contributor Version" means the combination of the Original - Code, prior Modifications used by a Contributor, and the Modifications - made by that particular Contributor. - - 1.3. "Covered Code" means the Original Code or Modifications or the - combination of the Original Code and Modifications, in each case - including portions thereof. - - 1.4. "Electronic Distribution Mechanism" means a mechanism generally - accepted in the software development community for the electronic - transfer of data. - - 1.5. "Executable" means Covered Code in any form other than Source - Code. - - 1.6. "Initial Developer" means the individual or entity identified - as the Initial Developer in the Source Code notice required by Exhibit - A. - - 1.7. "Larger Work" means a work which combines Covered Code or - portions thereof with code not governed by the terms of this License. - - 1.8. "License" means this document. - - 1.8.1. "Licensable" means having the right to grant, to the maximum - extent possible, whether at the time of the initial grant or - subsequently acquired, any and all of the rights conveyed herein. - - 1.9. "Modifications" means any addition to or deletion from the - substance or structure of either the Original Code or any previous - Modifications. When Covered Code is released as a series of files, a - Modification is: - A. Any addition to or deletion from the contents of a file - containing Original Code or previous Modifications. - - B. Any new file that contains any part of the Original Code or - previous Modifications. - - 1.10. "Original Code" means Source Code of computer software code - which is described in the Source Code notice required by Exhibit A as - Original Code, and which, at the time of its release under this - License is not already Covered Code governed by this License. - - 1.10.1. "Patent Claims" means any patent claim(s), now owned or - hereafter acquired, including without limitation, method, process, - and apparatus claims, in any patent Licensable by grantor. - - 1.11. "Source Code" means the preferred form of the Covered Code for - making modifications to it, including all modules it contains, plus - any associated interface definition files, scripts used to control - compilation and installation of an Executable, or source code - differential comparisons against either the Original Code or another - well known, available Covered Code of the Contributor's choice. The - Source Code can be in a compressed or archival form, provided the - appropriate decompression or de-archiving software is widely available - for no charge. - - 1.12. "You" (or "Your") means an individual or a legal entity - exercising rights under, and complying with all of the terms of, this - License or a future version of this License issued under Section 6.1. - For legal entities, "You" includes any entity which controls, is - controlled by, or is under common control with You. For purposes of - this definition, "control" means (a) the power, direct or indirect, - to cause the direction or management of such entity, whether by - contract or otherwise, or (b) ownership of more than fifty percent - (50%) of the outstanding shares or beneficial ownership of such - entity. - -2. Source Code License. - - 2.1. The Initial Developer Grant. - The Initial Developer hereby grants You a world-wide, royalty-free, - non-exclusive license, subject to third party intellectual property - claims: - (a) under intellectual property rights (other than patent or - trademark) Licensable by Initial Developer to use, reproduce, - modify, display, perform, sublicense and distribute the Original - Code (or portions thereof) with or without Modifications, and/or - as part of a Larger Work; and - - (b) under Patents Claims infringed by the making, using or - selling of Original Code, to make, have made, use, practice, - sell, and offer for sale, and/or otherwise dispose of the - Original Code (or portions thereof). - - (c) the licenses granted in this Section 2.1(a) and (b) are - effective on the date Initial Developer first distributes - Original Code under the terms of this License. - - (d) Notwithstanding Section 2.1(b) above, no patent license is - granted: 1) for code that You delete from the Original Code; 2) - separate from the Original Code; or 3) for infringements caused - by: i) the modification of the Original Code or ii) the - combination of the Original Code with other software or devices. - - 2.2. Contributor Grant. - Subject to third party intellectual property claims, each Contributor - hereby grants You a world-wide, royalty-free, non-exclusive license - - (a) under intellectual property rights (other than patent or - trademark) Licensable by Contributor, to use, reproduce, modify, - display, perform, sublicense and distribute the Modifications - created by such Contributor (or portions thereof) either on an - unmodified basis, with other Modifications, as Covered Code - and/or as part of a Larger Work; and - - (b) under Patent Claims infringed by the making, using, or - selling of Modifications made by that Contributor either alone - and/or in combination with its Contributor Version (or portions - of such combination), to make, use, sell, offer for sale, have - made, and/or otherwise dispose of: 1) Modifications made by that - Contributor (or portions thereof); and 2) the combination of - Modifications made by that Contributor with its Contributor - Version (or portions of such combination). - - (c) the licenses granted in Sections 2.2(a) and 2.2(b) are - effective on the date Contributor first makes Commercial Use of - the Covered Code. - - (d) Notwithstanding Section 2.2(b) above, no patent license is - granted: 1) for any code that Contributor has deleted from the - Contributor Version; 2) separate from the Contributor Version; - 3) for infringements caused by: i) third party modifications of - Contributor Version or ii) the combination of Modifications made - by that Contributor with other software (except as part of the - Contributor Version) or other devices; or 4) under Patent Claims - infringed by Covered Code in the absence of Modifications made by - that Contributor. - -3. Distribution Obligations. - - 3.1. Application of License. - The Modifications which You create or to which You contribute are - governed by the terms of this License, including without limitation - Section 2.2. The Source Code version of Covered Code may be - distributed only under the terms of this License or a future version - of this License released under Section 6.1, and You must include a - copy of this License with every copy of the Source Code You - distribute. You may not offer or impose any terms on any Source Code - version that alters or restricts the applicable version of this - License or the recipients' rights hereunder. However, You may include - an additional document offering the additional rights described in - Section 3.5. - - 3.2. Availability of Source Code. - Any Modification which You create or to which You contribute must be - made available in Source Code form under the terms of this License - either on the same media as an Executable version or via an accepted - Electronic Distribution Mechanism to anyone to whom you made an - Executable version available; and if made available via Electronic - Distribution Mechanism, must remain available for at least twelve (12) - months after the date it initially became available, or at least six - (6) months after a subsequent version of that particular Modification - has been made available to such recipients. You are responsible for - ensuring that the Source Code version remains available even if the - Electronic Distribution Mechanism is maintained by a third party. - - 3.3. Description of Modifications. - You must cause all Covered Code to which You contribute to contain a - file documenting the changes You made to create that Covered Code and - the date of any change. You must include a prominent statement that - the Modification is derived, directly or indirectly, from Original - Code provided by the Initial Developer and including the name of the - Initial Developer in (a) the Source Code, and (b) in any notice in an - Executable version or related documentation in which You describe the - origin or ownership of the Covered Code. - - 3.4. Intellectual Property Matters - (a) Third Party Claims. - If Contributor has knowledge that a license under a third party's - intellectual property rights is required to exercise the rights - granted by such Contributor under Sections 2.1 or 2.2, - Contributor must include a text file with the Source Code - distribution titled "LEGAL" which describes the claim and the - party making the claim in sufficient detail that a recipient will - know whom to contact. If Contributor obtains such knowledge after - the Modification is made available as described in Section 3.2, - Contributor shall promptly modify the LEGAL file in all copies - Contributor makes available thereafter and shall take other steps - (such as notifying appropriate mailing lists or newsgroups) - reasonably calculated to inform those who received the Covered - Code that new knowledge has been obtained. - - (b) Contributor APIs. - If Contributor's Modifications include an application programming - interface and Contributor has knowledge of patent licenses which - are reasonably necessary to implement that API, Contributor must - also include this information in the LEGAL file. - - (c) Representations. - Contributor represents that, except as disclosed pursuant to - Section 3.4(a) above, Contributor believes that Contributor's - Modifications are Contributor's original creation(s) and/or - Contributor has sufficient rights to grant the rights conveyed by - this License. - - 3.5. Required Notices. - You must duplicate the notice in Exhibit A in each file of the Source - Code. If it is not possible to put such notice in a particular Source - Code file due to its structure, then You must include such notice in a - location (such as a relevant directory) where a user would be likely - to look for such a notice. If You created one or more Modification(s) - You may add your name as a Contributor to the notice described in - Exhibit A. You must also duplicate this License in any documentation - for the Source Code where You describe recipients' rights or ownership - rights relating to Covered Code. You may choose to offer, and to - charge a fee for, warranty, support, indemnity or liability - obligations to one or more recipients of Covered Code. However, You - may do so only on Your own behalf, and not on behalf of the Initial - Developer or any Contributor. You must make it absolutely clear than - any such warranty, support, indemnity or liability obligation is - offered by You alone, and You hereby agree to indemnify the Initial - Developer and every Contributor for any liability incurred by the - Initial Developer or such Contributor as a result of warranty, - support, indemnity or liability terms You offer. - - 3.6. Distribution of Executable Versions. - You may distribute Covered Code in Executable form only if the - requirements of Section 3.1-3.5 have been met for that Covered Code, - and if You include a notice stating that the Source Code version of - the Covered Code is available under the terms of this License, - including a description of how and where You have fulfilled the - obligations of Section 3.2. The notice must be conspicuously included - in any notice in an Executable version, related documentation or - collateral in which You describe recipients' rights relating to the - Covered Code. You may distribute the Executable version of Covered - Code or ownership rights under a license of Your choice, which may - contain terms different from this License, provided that You are in - compliance with the terms of this License and that the license for the - Executable version does not attempt to limit or alter the recipient's - rights in the Source Code version from the rights set forth in this - License. If You distribute the Executable version under a different - license You must make it absolutely clear that any terms which differ - from this License are offered by You alone, not by the Initial - Developer or any Contributor. You hereby agree to indemnify the - Initial Developer and every Contributor for any liability incurred by - the Initial Developer or such Contributor as a result of any such - terms You offer. - - 3.7. Larger Works. - You may create a Larger Work by combining Covered Code with other code - not governed by the terms of this License and distribute the Larger - Work as a single product. In such a case, You must make sure the - requirements of this License are fulfilled for the Covered Code. - -4. Inability to Comply Due to Statute or Regulation. - - If it is impossible for You to comply with any of the terms of this - License with respect to some or all of the Covered Code due to - statute, judicial order, or regulation then You must: (a) comply with - the terms of this License to the maximum extent possible; and (b) - describe the limitations and the code they affect. Such description - must be included in the LEGAL file described in Section 3.4 and must - be included with all distributions of the Source Code. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Application of this License. - - This License applies to code to which the Initial Developer has - attached the notice in Exhibit A and to related Covered Code. - -6. Versions of the License. - - 6.1. New Versions. - Netscape Communications Corporation ("Netscape") may publish revised - and/or new versions of the License from time to time. Each version - will be given a distinguishing version number. - - 6.2. Effect of New Versions. - Once Covered Code has been published under a particular version of the - License, You may always continue to use it under the terms of that - version. You may also choose to use such Covered Code under the terms - of any subsequent version of the License published by Netscape. No one - other than Netscape has the right to modify the terms applicable to - Covered Code created under this License. - - 6.3. Derivative Works. - If You create or use a modified version of this License (which you may - only do in order to apply it to code which is not already Covered Code - governed by this License), You must (a) rename Your license so that - the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", - "MPL", "NPL" or any confusingly similar phrase do not appear in your - license (except to note that your license differs from this License) - and (b) otherwise make it clear that Your version of the license - contains terms which differ from the Mozilla Public License and - Netscape Public License. (Filling in the name of the Initial - Developer, Original Code or Contributor in the notice described in - Exhibit A shall not of themselves be deemed to be modifications of - this License.) - -7. DISCLAIMER OF WARRANTY. - - COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, - WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF - DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. - THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE - IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, - YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE - COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER - OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF - ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. - -8. TERMINATION. - - 8.1. This License and the rights granted hereunder will terminate - automatically if You fail to comply with terms herein and fail to cure - such breach within 30 days of becoming aware of the breach. All - sublicenses to the Covered Code which are properly granted shall - survive any termination of this License. Provisions which, by their - nature, must remain in effect beyond the termination of this License - shall survive. - - 8.2. If You initiate litigation by asserting a patent infringement - claim (excluding declatory judgment actions) against Initial Developer - or a Contributor (the Initial Developer or Contributor against whom - You file such action is referred to as "Participant") alleging that: - - (a) such Participant's Contributor Version directly or indirectly - infringes any patent, then any and all rights granted by such - Participant to You under Sections 2.1 and/or 2.2 of this License - shall, upon 60 days notice from Participant terminate prospectively, - unless if within 60 days after receipt of notice You either: (i) - agree in writing to pay Participant a mutually agreeable reasonable - royalty for Your past and future use of Modifications made by such - Participant, or (ii) withdraw Your litigation claim with respect to - the Contributor Version against such Participant. If within 60 days - of notice, a reasonable royalty and payment arrangement are not - mutually agreed upon in writing by the parties or the litigation claim - is not withdrawn, the rights granted by Participant to You under - Sections 2.1 and/or 2.2 automatically terminate at the expiration of - the 60 day notice period specified above. - - (b) any software, hardware, or device, other than such Participant's - Contributor Version, directly or indirectly infringes any patent, then - any rights granted to You by such Participant under Sections 2.1(b) - and 2.2(b) are revoked effective as of the date You first made, used, - sold, distributed, or had made, Modifications made by that - Participant. - - 8.3. If You assert a patent infringement claim against Participant - alleging that such Participant's Contributor Version directly or - indirectly infringes any patent where such claim is resolved (such as - by license or settlement) prior to the initiation of patent - infringement litigation, then the reasonable value of the licenses - granted by such Participant under Sections 2.1 or 2.2 shall be taken - into account in determining the amount or value of any payment or - license. - - 8.4. In the event of termination under Sections 8.1 or 8.2 above, - all end user license agreements (excluding distributors and resellers) - which have been validly granted by You or any distributor hereunder - prior to termination shall survive termination. - -9. LIMITATION OF LIABILITY. - - UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT - (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL - DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, - OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR - ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY - CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, - WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER - COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN - INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF - LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY - RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW - PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE - EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO - THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. - -10. U.S. GOVERNMENT END USERS. - - The Covered Code is a "commercial item," as that term is defined in - 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer - software" and "commercial computer software documentation," as such - terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 - C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), - all U.S. Government End Users acquire Covered Code with only those - rights set forth herein. - -11. MISCELLANEOUS. - - This License represents the complete agreement concerning subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. This License shall be governed by - California law provisions (except to the extent applicable law, if - any, provides otherwise), excluding its conflict-of-law provisions. - With respect to disputes in which at least one party is a citizen of, - or an entity chartered or registered to do business in the United - States of America, any litigation relating to this License shall be - subject to the jurisdiction of the Federal Courts of the Northern - District of California, with venue lying in Santa Clara County, - California, with the losing party responsible for costs, including - without limitation, court costs and reasonable attorneys' fees and - expenses. The application of the United Nations Convention on - Contracts for the International Sale of Goods is expressly excluded. - Any law or regulation which provides that the language of a contract - shall be construed against the drafter shall not apply to this - License. - -12. RESPONSIBILITY FOR CLAIMS. - - As between Initial Developer and the Contributors, each party is - responsible for claims and damages arising, directly or indirectly, - out of its utilization of rights under this License and You agree to - work with Initial Developer and Contributors to distribute such - responsibility on an equitable basis. Nothing herein is intended or - shall be deemed to constitute any admission of liability. - -13. MULTIPLE-LICENSED CODE. - - Initial Developer may designate portions of the Covered Code as - "Multiple-Licensed". "Multiple-Licensed" means that the Initial - Developer permits you to utilize portions of the Covered Code under - Your choice of the NPL or the alternative licenses, if any, specified - by the Initial Developer in the file described in Exhibit A. - -EXHIBIT A -Mozilla Public License. - - ``The contents of this file are subject to the Mozilla Public License - Version 1.1 (the "License"); you may not use this file except in - compliance with the License. You may obtain a copy of the License at - http://www.mozilla.org/MPL/ - - Software distributed under the License is distributed on an "AS IS" - basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the - License for the specific language governing rights and limitations - under the License. - - The Original Code is ______________________________________. - - The Initial Developer of the Original Code is ________________________. - Portions created by ______________________ are Copyright (C) ______ - _______________________. All Rights Reserved. - - Contributor(s): ______________________________________. - - Alternatively, the contents of this file may be used under the terms - of the _____ license (the "[___] License"), in which case the - provisions of [______] License are applicable instead of those - above. If you wish to allow use of your version of this file only - under the terms of the [____] License and not to allow others to use - your version of this file under the MPL, indicate your decision by - deleting the provisions above and replace them with the notice and - other provisions required by the [___] License. If you do not delete - the provisions above, a recipient may use your version of this file - under either the MPL or the [___] License." - - [NOTE: The text of this Exhibit A may differ slightly from the text of - the notices in the Source Code files of the Original Code. You should - use the text of this Exhibit A rather than the text found in the - Original Code Source Code for Your Modifications.] - diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/pixman-licenses.txt b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/pixman-licenses.txt deleted file mode 100644 index 5d8dca6d..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/pixman-licenses.txt +++ /dev/null @@ -1,92 +0,0 @@ -libpixregion - -Copyright 1987, 1998 The Open Group - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation. - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Except as contained in this notice, the name of The Open Group shall not be -used in advertising or otherwise to promote the sale, use or other dealings -in this Software without prior written authorization from The Open Group. - - -Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. - - All Rights Reserved - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, -provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in -supporting documentation, and that the name of Digital not be -used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. - -DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING -ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL -DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR -ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS -SOFTWARE. - ----------------------------------------------------------------------- -libic - -Copyright © 2001 Keith Packard - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that -the above copyright notice appear in all copies and that both that -copyright notice and this permission notice appear in supporting -documentation, and that the name of Keith Packard not be used in -advertising or publicity pertaining to distribution of the software without -specific, written prior permission. Keith Packard makes no -representations about the suitability of this software for any purpose. It -is provided "as is" without express or implied warranty. - -KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - ----------------------------------------------------------------------- -slim - -slim is Copyright © 2003 Richard Henderson - -Permission to use, copy, modify, distribute, and sell this software -and its documentation for any purpose is hereby granted without fee, -provided that the above copyright notice appear in all copies and that -both that copyright notice and this permission notice appear in -supporting documentation, and that the name of Richard Henderson not be -used in advertising or publicity pertaining to distribution of the -software without specific, written prior permission. Richard Henderson -makes no representations about the suitability of this software for -any purpose. It is provided "as is" without express or implied -warranty. - -RICHARD HENDERSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, -INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO -EVENT SHALL RICHARD HENDERSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF -USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/webkit-bsd.txt b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/webkit-bsd.txt deleted file mode 100644 index b3b07c62..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/about_files/webkit-bsd.txt +++ /dev/null @@ -1,20 +0,0 @@ -BSD License - -Copyright (C) 2009 Apple Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided -that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and -the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and -the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/src.zip b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/src.zip Binary files differdeleted file mode 100644 index b07aa90d..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/src.zip +++ /dev/null diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt-debug.jar b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt-debug.jar Binary files differdeleted file mode 100644 index ce34a176..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt-debug.jar +++ /dev/null diff --git a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt.jar b/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt.jar Binary files differdeleted file mode 100644 index ad014e77..00000000 --- a/trunk/pdf-over/ext_libraries/swt-4.2-gtk-linux-x86_64/swt.jar +++ /dev/null diff --git a/trunk/pdf-over/pdf-gui/pom.xml b/trunk/pdf-over/pdf-gui/pom.xml deleted file mode 100644 index 27abaa6f..00000000 --- a/trunk/pdf-over/pdf-gui/pom.xml +++ /dev/null @@ -1,11 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>pdf-over</artifactId> - <groupId>at.a-sit</groupId> - <version>4.0-SNAPSHOT</version> - <relativePath>..</relativePath> - </parent> - <artifactId>pdf-gui</artifactId> - <name>PDFOver GUI</name> -</project>
\ No newline at end of file diff --git a/trunk/pdf-over/pdf-gui/src/model/PDFOverGUI.ucd b/trunk/pdf-over/pdf-gui/src/model/PDFOverGUI.ucd deleted file mode 100644 index 4895ff45..00000000 --- a/trunk/pdf-over/pdf-gui/src/model/PDFOverGUI.ucd +++ /dev/null @@ -1,123 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<editmodel:ClassDiagramEditModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:editmodel="editmodel.xmi" xmlns:options="options.xmi" name="PDFOverGUI" size="1439,478" id="at.asit.pdfover.gui.workflow.states" metadata="uml2-1.0" initialized="true" tag="1000" key="32303037303533312D31303030207064662D6775692F616669747A656B"> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.1/@sourceConnections.0" name="Workflow" location="389,72" size="180,171" id="at.asit.pdfover.gui.workflow/Workflow" runTimeClassModel="SetCmdArgs([Ljava.lang.String;),GetPersistentState(),Update(),Start(),GetCmdArgs(),GetComposite()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="139,108"> - <children xsi:type="editmodel:MethodEditModel" name="GetCmdArgs" id="at.asit.pdfover.gui.workflow/Workflow#GetCmdArgs()"/> - <children xsi:type="editmodel:MethodEditModel" name="CreateMainWindow" id="at.asit.pdfover.gui.workflow/Workflow#CreateMainWindow()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetPersistentState" id="at.asit.pdfover.gui.workflow/Workflow#GetPersistentState()"/> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow/Workflow#Update()"/> - <children xsi:type="editmodel:MethodEditModel" name="Start" id="at.asit.pdfover.gui.workflow/Workflow#Start()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetComposite" id="at.asit.pdfover.gui.workflow/Workflow#GetComposite()"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.2/@sourceConnections.0 //@children.3/@sourceConnections.0 //@children.4/@sourceConnections.0 //@children.5/@sourceConnections.0 //@children.6/@sourceConnections.0 //@children.7/@sourceConnections.0 //@children.8/@sourceConnections.0" name="WorkflowState" location="690,90" size="180,99" id="at.asit.pdfover.gui.workflow/WorkflowState" runTimeClassModel="NextState(),Update(Lat.asit.pdfover.gui.workflow.Workflow;)"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="86,36"> - <children xsi:type="editmodel:MethodEditModel" name="NextState" id="at.asit.pdfover.gui.workflow/WorkflowState#NextState()"/> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow/WorkflowState#Update(Lat.asit.pdfover.gui.workflow.Workflow;)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:AssociationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState@state+at.asit.pdfover.gui.workflow/Workflow@workflow1" source="//@children.1" target="//@children.0" targetEnd="//@children.1/@sourceConnections.0/@children.1" label="//@children.1/@sourceConnections.0/@children.2" sourceEnd="//@children.1/@sourceConnections.0/@children.0" connectionRouterKind="Manhattan"> - <children xsi:type="editmodel:AssociationEndEditModel" name="state" location="0,49" id="at.asit.pdfover.gui.workflow/WorkflowState@state+at.asit.pdfover.gui.workflow/Workflow@workflow1|at.asit.pdfover.gui.workflow/WorkflowState#state" attachSource="true" multiplicityLabel="//@children.1/@sourceConnections.0/@children.0/@children.1" roleLabel="//@children.1/@sourceConnections.0/@children.0/@children.0" aggregationKind="Aggregration" navigable="true"> - <children xsi:type="editmodel:LabelEditModel" name=" - state" location="642,119" size="41,13" anchorKind="FirstPart"/> - <children xsi:type="editmodel:LabelEditModel" name="1" location="676,146" size="7,13" anchorKind="FirstPart"/> - </children> - <children xsi:type="editmodel:AssociationEndEditModel" name="workflow1" location="180,67" id="at.asit.pdfover.gui.workflow/WorkflowState@state+at.asit.pdfover.gui.workflow/Workflow@workflow1|at.asit.pdfover.gui.workflow/Workflow#workflow1"/> - <children xsi:type="editmodel:WireLabelEditModel" size="0,13" anchorKind="MiddlePart"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="PrepareConfigurationState" location="389,225" size="239,68" id="at.asit.pdfover.gui.workflow.states/PrepareConfigurationState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/PrepareConfigurationState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/PrepareConfigurationState" source="//@children.2" target="//@children.1" targetEnd="//@children.2/@sourceConnections.0/@children.1" sourceEnd="//@children.2/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="196,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,89"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="DataSourceSelectionState" location="765,225" size="233,68" id="at.asit.pdfover.gui.workflow.states/DataSourceSelectionState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/DataSourceSelectionState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/DataSourceSelectionState" source="//@children.3" target="//@children.1" targetEnd="//@children.3/@sourceConnections.0/@children.1" sourceEnd="//@children.3/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="52,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="127,99"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="PositioningState" location="1035,225" size="163,68" id="at.asit.pdfover.gui.workflow.states/PositioningState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/PositioningState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/PositioningState" source="//@children.4" target="//@children.1" targetEnd="//@children.4/@sourceConnections.0/@children.1" sourceEnd="//@children.4/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,5" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="180,81"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="PrepareSigningState" location="426,300" size="195,68" id="at.asit.pdfover.gui.workflow.states/PrepareSigningState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/PrepareSigningState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/PrepareSigningState" source="//@children.5" target="//@children.1" targetEnd="//@children.5/@sourceConnections.0/@children.1" sourceEnd="//@children.5/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="142,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="24,99"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="BKUSelectionState" location="645,300" size="178,68" id="at.asit.pdfover.gui.workflow.states/BKUSelectionState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/BKUSelectionState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/BKUSelectionState" source="//@children.6" target="//@children.1" targetEnd="//@children.6/@sourceConnections.0/@children.1" sourceEnd="//@children.6/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="111,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="66,99"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="SigningState" location="855,300" size="136,68" id="at.asit.pdfover.gui.workflow.states/SigningState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/SigningState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/SigningState" source="//@children.7" target="//@children.1" targetEnd="//@children.7/@sourceConnections.0/@children.1" sourceEnd="//@children.7/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="7,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="172,99"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" name="OutputState" location="489,390" size="132,68" id="at.asit.pdfover.gui.workflow.states/OutputState" runTimeClassModel="Update"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="71,18"> - <children xsi:type="editmodel:MethodEditModel" name="Update" id="at.asit.pdfover.gui.workflow.states/OutputState#Update"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:GeneralizationEditModel" autoLocated="true" id="at.asit.pdfover.gui.workflow/WorkflowState<-at.asit.pdfover.gui.workflow.states/OutputState" source="//@children.8" target="//@children.1" targetEnd="//@children.8/@sourceConnections.0/@children.1" sourceEnd="//@children.8/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:AssociationEndEditModel" location="93,0" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="51,99"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <diagramOptions xsi:type="options:ClassDiagramOptions" properties="wireOptions=1;Product=eUML2" autoName="false"/> - <boardSetting snapToGeometry="true" gridEnabled="true" gridSpacing="15,15" gridOrigin="0,0" rulerUnit="pixel" gridVisibility="false"> - <leftRuler/> - <topRuler/> - </boardSetting> - <classDiagramPreferences xsi:type="editmodel:UMLClassDiagramPreference" showPopupBars="true" showConnectionHandles="true" attributeSorter="Natural" methodSorter="Natural" showClassStereotype="true" showPackageStereotype="true" showDependencyStereotype="true" showInterfaceStereotype="true" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> -</editmodel:ClassDiagramEditModel> diff --git a/trunk/pdf-over/pdf-signer-interface/model/pdf-signer-interface.uml b/trunk/pdf-over/pdf-signer-interface/model/pdf-signer-interface.uml deleted file mode 100644 index 9e849a28..00000000 --- a/trunk/pdf-over/pdf-signer-interface/model/pdf-signer-interface.uml +++ /dev/null @@ -1,485 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Soyatec="http:///schemas/Soyatec/2" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xsi:schemaLocation="http:///schemas/Soyatec/2 platform:/plugin/com.soyatec.core/profiles/Soyatec.profile.uml#_LBLaIPscEdqYc77HqxgcqA"> - <uml:Model xmi:id="_55hnUNcXEeGBQInKWOxaIQ" name="pdf-signer-interface"> - <packageImport xmi:id="_56BWkNcXEeGBQInKWOxaIQ"> - <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#_0"/> - </packageImport> - <packagedElement xmi:type="uml:Package" xmi:id="_58e0t9cXEeGBQInKWOxaIQ" name="at.asit.pdfover.pdfsigner" clientDependency="_58ifENcXEeGBQInKWOxaIQ"> - <packagedElement xmi:type="uml:Class" xmi:id="_6AX2MtcXEeGBQInKWOxaIQ" name="DocumentSource"> - <ownedComment xmi:id="_6Ad80NcXEeGBQInKWOxaIQ"> - <body>A Document Source -@author afitzek</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6Ad80dcXEeGBQInKWOxaIQ" name="PDFSignatureException"> - <ownedComment xmi:id="_6AjcYNcXEeGBQInKWOxaIQ"> - <body>base class for signature exceptions -@author afitzek</body> - </ownedComment> - <generalization xmi:id="_6AhAIdcXEeGBQInKWOxaIQ" general="_6AhAINcXEeGBQInKWOxaIQ"/> - <ownedAttribute xmi:id="_6AhnMNcXEeGBQInKWOxaIQ" name="serialVersionUID" visibility="private" isLeaf="true" isStatic="true"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#long"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6AiOQ9cXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6AiOQdcXEeGBQInKWOxaIQ"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6AiOQtcXEeGBQInKWOxaIQ" value="711578398780816710L"/> - </ownedAttribute> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6AjcYdcXEeGBQInKWOxaIQ" name="SignatureDimension"> - <ownedComment xmi:id="_6A1JMdcXEeGBQInKWOxaIQ"> - <body>The Dimensions of the visible signature block -@author afitzek</body> - </ownedComment> - <ownedAttribute xmi:id="_6AlRkNcXEeGBQInKWOxaIQ" name="height" visibility="protected"> - <ownedComment xmi:id="_6Ant0dcXEeGBQInKWOxaIQ"> - <body>The visible Signature block height</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6Ant09cXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6Ant0tcXEeGBQInKWOxaIQ"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6AlRkdcXEeGBQInKWOxaIQ" name="width" visibility="protected"> - <ownedComment xmi:id="_6Ant1NcXEeGBQInKWOxaIQ"> - <body>The visible Signature block width</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6Ant1tcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6Ant1dcXEeGBQInKWOxaIQ"/> - </ownedAttribute> - <ownedOperation xmi:id="_6Al4oNcXEeGBQInKWOxaIQ" name="SetWidth" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6Ant19cXEeGBQInKWOxaIQ"> - <body>Sets the width for the dimension -@param value</body> - </ownedComment> - <ownedParameter xmi:id="_6Al4odcXEeGBQInKWOxaIQ" name="value"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6Al4otcXEeGBQInKWOxaIQ" name="GetWidth" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6AoU4NcXEeGBQInKWOxaIQ"> - <body>Gets the width of the visible Signature block -@return</body> - </ownedComment> - <ownedParameter xmi:id="_6AmfsNcXEeGBQInKWOxaIQ" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6AmfsdcXEeGBQInKWOxaIQ" name="SignatureDimension" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6AoU4dcXEeGBQInKWOxaIQ"> - <body>Constructor -@param width The width of the signature block -@param height The height of the signature block</body> - </ownedComment> - <ownedParameter xmi:id="_6AmfstcXEeGBQInKWOxaIQ" name="width"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - <ownedParameter xmi:id="_6AnGwNcXEeGBQInKWOxaIQ" name="height"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6AnGwdcXEeGBQInKWOxaIQ" name="SetHeight" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6AoU4tcXEeGBQInKWOxaIQ"> - <body>Sets the height for the dimension -@param value</body> - </ownedComment> - <ownedParameter xmi:id="_6AnGwtcXEeGBQInKWOxaIQ" name="value"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6AnGw9cXEeGBQInKWOxaIQ" name="GetHeight" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6A1JMNcXEeGBQInKWOxaIQ"> - <body>Gets the height of the visible Signature block -@return</body> - </ownedComment> - <ownedParameter xmi:id="_6Ant0NcXEeGBQInKWOxaIQ" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6A1JMtcXEeGBQInKWOxaIQ" name="SLResponse"> - <ownedComment xmi:id="_6A1wQNcXEeGBQInKWOxaIQ"> - <body>Securtiy Layer Response -@author afitzek</body> - </ownedComment> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6A1wQdcXEeGBQInKWOxaIQ" name="CollimatingMark"/> - <packagedElement xmi:type="uml:Interface" xmi:id="_6A2XUNcXEeGBQInKWOxaIQ" name="SigningState"> - <ownedComment xmi:id="_6A5aotcXEeGBQInKWOxaIQ"> - <body>The state of the pdf signing library -@author afitzek</body> - </ownedComment> - <ownedOperation xmi:id="_6A4MgNcXEeGBQInKWOxaIQ" name="GetSLSignatureRequest" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6A5aoNcXEeGBQInKWOxaIQ"> - <body>Gets the Security Layer Request to create the signature -@return The SL Signature Request</body> - </ownedComment> - <ownedParameter xmi:id="_6A4MgtcXEeGBQInKWOxaIQ" type="_6A4MgdcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6A4Mg9cXEeGBQInKWOxaIQ" name="SetSLSignatureResponse" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6A5aodcXEeGBQInKWOxaIQ"> - <body>Sets the Security Layer Request to create the signature -@param value The SL Signature Request</body> - </ownedComment> - <ownedParameter xmi:id="_6A4zkNcXEeGBQInKWOxaIQ" name="value" type="_6A1JMtcXEeGBQInKWOxaIQ"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Interface" xmi:id="_6A4MgdcXEeGBQInKWOxaIQ" name="SLRequest"> - <ownedComment xmi:id="_6BMVktcXEeGBQInKWOxaIQ"> - <body>Securtiy Layer Request -@author afitzek</body> - </ownedComment> - <ownedOperation xmi:id="_6BLugNcXEeGBQInKWOxaIQ" name="GetSignatureData" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BMVkdcXEeGBQInKWOxaIQ"> - <body>Gets the signature data for this request -@return The document source</body> - </ownedComment> - <ownedParameter xmi:id="_6BMVkNcXEeGBQInKWOxaIQ" type="_6AX2MtcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6A5ao9cXEeGBQInKWOxaIQ" name="SignatureParameter" isAbstract="true"> - <ownedComment xmi:id="_6BFn6NcXEeGBQInKWOxaIQ"> - <body>The Signature Parameter -@author afitzek</body> - </ownedComment> - <ownedAttribute xmi:id="_6A_hQNcXEeGBQInKWOxaIQ" name="collimark" visibility="protected" type="_6A1wQdcXEeGBQInKWOxaIQ" association="_6BFA1NcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BDysdcXEeGBQInKWOxaIQ"> - <body>holds the collimating mark</body> - </ownedComment> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BDys9cXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BDystcXEeGBQInKWOxaIQ"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6BAIUNcXEeGBQInKWOxaIQ" name="documentSource" visibility="protected" type="_6AX2MtcXEeGBQInKWOxaIQ" association="_6BFn4NcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BDytNcXEeGBQInKWOxaIQ"> - <body>The signature Device</body> - </ownedComment> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BDyttcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BAIUtcXEeGBQInKWOxaIQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BDytdcXEeGBQInKWOxaIQ" value="null"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6BAIU9cXEeGBQInKWOxaIQ" name="keyIdentifier" visibility="protected" type="_6BAvYNcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BDyt9cXEeGBQInKWOxaIQ"> - <body>The signature Device</body> - </ownedComment> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BDyudcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BAvYtcXEeGBQInKWOxaIQ"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BDyuNcXEeGBQInKWOxaIQ" value="null"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6BAvY9cXEeGBQInKWOxaIQ" name="signaturePosition" visibility="protected" type="_6BAvZNcXEeGBQInKWOxaIQ" association="_6BFn5NcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BEZwNcXEeGBQInKWOxaIQ"> - <body>The Signature Position</body> - </ownedComment> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BEZwtcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BBWcdcXEeGBQInKWOxaIQ" value="1"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BEZwdcXEeGBQInKWOxaIQ" value="null"/> - </ownedAttribute> - <ownedOperation xmi:id="_6BBWctcXEeGBQInKWOxaIQ" name="GetSignaturePosition" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BEZw9cXEeGBQInKWOxaIQ"> - <body>Getter of the property <tt>signaturePosition</tt> -@return Returns the signaturePosition.</body> - </ownedComment> - <ownedParameter xmi:id="_6BBWc9cXEeGBQInKWOxaIQ" type="_6BAvZNcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BBWdNcXEeGBQInKWOxaIQ" name="SetInputDocument" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BEZxNcXEeGBQInKWOxaIQ"> - <body>Setter of the property <tt>documentSource</tt> -@param value The documentSource to set.</body> - </ownedComment> - <ownedParameter xmi:id="_6BBWddcXEeGBQInKWOxaIQ" name="value" type="_6AX2MtcXEeGBQInKWOxaIQ"/> - </ownedOperation> - <ownedOperation xmi:id="_6BB9gNcXEeGBQInKWOxaIQ" name="SetKeyIdentifier" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BEZxdcXEeGBQInKWOxaIQ"> - <body>Setter of the property <tt>KeyIdentifier</tt> -@param value The KeyIdentifier to set.</body> - </ownedComment> - <ownedParameter xmi:id="_6BB9gdcXEeGBQInKWOxaIQ" name="value" type="_6BAvYNcXEeGBQInKWOxaIQ"/> - </ownedOperation> - <ownedOperation xmi:id="_6BB9gtcXEeGBQInKWOxaIQ" name="GetCollimatingMark" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BEZxtcXEeGBQInKWOxaIQ"> - <body>Gets the collimating mark -@return</body> - </ownedComment> - <ownedParameter xmi:id="_6BCkkNcXEeGBQInKWOxaIQ" type="_6A1wQdcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BCkkdcXEeGBQInKWOxaIQ" name="GetInputDocument" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BEZx9cXEeGBQInKWOxaIQ"> - <body>Getter of the property <tt>documentSource</tt> -@return Returns the documentSource.</body> - </ownedComment> - <ownedParameter xmi:id="_6BCkktcXEeGBQInKWOxaIQ" type="_6AX2MtcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BCkk9cXEeGBQInKWOxaIQ" name="SetSignaturePosition" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BFA0NcXEeGBQInKWOxaIQ"> - <body>Setter of the property <tt>signaturePosition</tt> -@param signaturePosition The signaturePosition to set.</body> - </ownedComment> - <ownedParameter xmi:id="_6BCklNcXEeGBQInKWOxaIQ" name="signaturePosition" type="_6BAvZNcXEeGBQInKWOxaIQ"/> - </ownedOperation> - <ownedOperation xmi:id="_6BCkldcXEeGBQInKWOxaIQ" name="SetCollimatingMark" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BFA0dcXEeGBQInKWOxaIQ"> - <body>Sets the collimating mark -@param value The new colimating mark</body> - </ownedComment> - <ownedParameter xmi:id="_6BDLoNcXEeGBQInKWOxaIQ" name="value" type="_6A1wQdcXEeGBQInKWOxaIQ"/> - </ownedOperation> - <ownedOperation xmi:id="_6BDLodcXEeGBQInKWOxaIQ" name="GetPlaceholderDimension" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BFA0tcXEeGBQInKWOxaIQ"> - <body>Gets the Dimension to display the Placeholder -@return the placeholder dimensions</body> - </ownedComment> - <ownedParameter xmi:id="_6BDLotcXEeGBQInKWOxaIQ" type="_6AjcYdcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BDLo9cXEeGBQInKWOxaIQ" name="GetKeyIdentifier" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BFA09cXEeGBQInKWOxaIQ"> - <body>Getter of the property <tt>KeyIdentifier</tt> -@return Returns the KeyIdentifier.</body> - </ownedComment> - <ownedParameter xmi:id="_6BDysNcXEeGBQInKWOxaIQ" type="_6BAvYNcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Class" xmi:id="_6BAvZNcXEeGBQInKWOxaIQ" name="SignaturePosition"> - <ownedComment xmi:id="_6BURZ9cXEeGBQInKWOxaIQ"> - <body>Represents the position of a visible signature block -@author afitzek</body> - </ownedComment> - <ownedAttribute xmi:id="_6BPY4NcXEeGBQInKWOxaIQ" name="page" visibility="protected"> - <ownedComment xmi:id="_6BTDQ9cXEeGBQInKWOxaIQ"> - <body>The page value of the position</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BTqUdcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BPY4tcXEeGBQInKWOxaIQ"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BTqUNcXEeGBQInKWOxaIQ" value="1"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6BP_8NcXEeGBQInKWOxaIQ" name="y" visibility="protected"> - <ownedComment xmi:id="_6BTqUtcXEeGBQInKWOxaIQ"> - <body>The y value of the position</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BTqVNcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BP_8tcXEeGBQInKWOxaIQ"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BTqU9cXEeGBQInKWOxaIQ" value="0"/> - </ownedAttribute> - <ownedAttribute xmi:id="_6BP_89cXEeGBQInKWOxaIQ" name="x" visibility="protected"> - <ownedComment xmi:id="_6BTqVdcXEeGBQInKWOxaIQ"> - <body>The x value of the position</body> - </ownedComment> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BTqV9cXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BP_9dcXEeGBQInKWOxaIQ"/> - <defaultValue xmi:type="uml:LiteralString" xmi:id="_6BTqVtcXEeGBQInKWOxaIQ" value="0"/> - </ownedAttribute> - <ownedOperation xmi:id="_6BP_9tcXEeGBQInKWOxaIQ" name="SignaturePosition" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BTqWNcXEeGBQInKWOxaIQ"> - <body>Constructor -@param x The x value of the position -@param y The y value of the position -@param page The page value of the position</body> - </ownedComment> - <ownedParameter xmi:id="_6BQnANcXEeGBQInKWOxaIQ" name="x"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - <ownedParameter xmi:id="_6BQnAdcXEeGBQInKWOxaIQ" name="y"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - <ownedParameter xmi:id="_6BQnAtcXEeGBQInKWOxaIQ" name="page"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BQnA9cXEeGBQInKWOxaIQ" name="SignaturePosition" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BTqWdcXEeGBQInKWOxaIQ"> - <body>X - Y Constructor Page = 1 -@param x The x value of the position -@param y The y value of the position</body> - </ownedComment> - <ownedParameter xmi:id="_6BROENcXEeGBQInKWOxaIQ" name="x"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - <ownedParameter xmi:id="_6BROEdcXEeGBQInKWOxaIQ" name="y"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BROEtcXEeGBQInKWOxaIQ" name="GetY" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURYNcXEeGBQInKWOxaIQ"> - <body>Gets the Y value of the position -@return int the y value of the position</body> - </ownedComment> - <ownedParameter xmi:id="_6BROE9cXEeGBQInKWOxaIQ" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BROFNcXEeGBQInKWOxaIQ" name="SetX" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURYdcXEeGBQInKWOxaIQ"> - <body>Sets X value of position -@param value the new x value</body> - </ownedComment> - <ownedParameter xmi:id="_6BR1INcXEeGBQInKWOxaIQ" name="value"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BR1IdcXEeGBQInKWOxaIQ" name="SignaturePosition" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURYtcXEeGBQInKWOxaIQ"> - <body>Default constructor</body> - </ownedComment> - </ownedOperation> - <ownedOperation xmi:id="_6BR1ItcXEeGBQInKWOxaIQ" name="SetY" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURY9cXEeGBQInKWOxaIQ"> - <body>Sets Y value of position -@param value the new y value</body> - </ownedComment> - <ownedParameter xmi:id="_6BScMNcXEeGBQInKWOxaIQ" name="value"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BScMdcXEeGBQInKWOxaIQ" name="GetPage" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURZNcXEeGBQInKWOxaIQ"> - <body>Gets the Page value of the position -@return int the page value of the position</body> - </ownedComment> - <ownedParameter xmi:id="_6BScMtcXEeGBQInKWOxaIQ" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BScM9cXEeGBQInKWOxaIQ" name="SetPage" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURZdcXEeGBQInKWOxaIQ"> - <body>Sets Page value of position -@param value the new page value</body> - </ownedComment> - <ownedParameter xmi:id="_6BTDQNcXEeGBQInKWOxaIQ" name="value"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - <ownedOperation xmi:id="_6BTDQdcXEeGBQInKWOxaIQ" name="GetX" visibility="public" concurrency="concurrent"> - <ownedComment xmi:id="_6BURZtcXEeGBQInKWOxaIQ"> - <body>Gets the X value of the position -@return int the x value of the position</body> - </ownedComment> - <ownedParameter xmi:id="_6BTDQtcXEeGBQInKWOxaIQ" direction="return"> - <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#int"/> - </ownedParameter> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="_6BFA1NcXEeGBQInKWOxaIQ" memberEnd="_6A_hQNcXEeGBQInKWOxaIQ _6BFA1dcXEeGBQInKWOxaIQ"> - <name xsi:nil="true"/> - <ownedEnd xmi:id="_6BFA1dcXEeGBQInKWOxaIQ" name="" type="_6A5ao9cXEeGBQInKWOxaIQ" association="_6BFA1NcXEeGBQInKWOxaIQ"> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BFA1tcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BFA19cXEeGBQInKWOxaIQ"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="_6BFn4NcXEeGBQInKWOxaIQ" memberEnd="_6BAIUNcXEeGBQInKWOxaIQ _6BFn4dcXEeGBQInKWOxaIQ"> - <name xsi:nil="true"/> - <ownedEnd xmi:id="_6BFn4dcXEeGBQInKWOxaIQ" name="" type="_6A5ao9cXEeGBQInKWOxaIQ" association="_6BFn4NcXEeGBQInKWOxaIQ"> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BFn4tcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BFn49cXEeGBQInKWOxaIQ"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Association" xmi:id="_6BFn5NcXEeGBQInKWOxaIQ" memberEnd="_6BAvY9cXEeGBQInKWOxaIQ _6BFn5dcXEeGBQInKWOxaIQ"> - <name xsi:nil="true"/> - <ownedEnd xmi:id="_6BFn5dcXEeGBQInKWOxaIQ" name="" type="_6A5ao9cXEeGBQInKWOxaIQ" association="_6BFn5NcXEeGBQInKWOxaIQ"> - <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_6BFn5tcXEeGBQInKWOxaIQ" value="1"/> - <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_6BFn59cXEeGBQInKWOxaIQ"/> - </ownedEnd> - </packagedElement> - <packagedElement xmi:type="uml:Interface" xmi:id="_6BGO8NcXEeGBQInKWOxaIQ" name="SignResult"> - <ownedComment xmi:id="_6BLHcNcXEeGBQInKWOxaIQ"> - <body>Signature Result containing the signed document as document source -@author afitzek</body> - </ownedComment> - <ownedOperation xmi:id="_6BIrMNcXEeGBQInKWOxaIQ" name="GetSignaturePosition" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BKgY9cXEeGBQInKWOxaIQ"> - <body>Getter of the property <tt>signaturePosition</tt> -@return Returns the signaturePosition.</body> - </ownedComment> - <ownedParameter xmi:id="_6BJSQNcXEeGBQInKWOxaIQ" type="_6BAvZNcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BJSQdcXEeGBQInKWOxaIQ" name="GetSignerCertificate" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BKgZNcXEeGBQInKWOxaIQ"> - <body>Gets the signer certificate -@return The signer x509 certificate</body> - </ownedComment> - <ownedParameter xmi:id="_6BKgYNcXEeGBQInKWOxaIQ" type="_6BJ5UNcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BKgYdcXEeGBQInKWOxaIQ" name="GetSignedDocument" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BKgZdcXEeGBQInKWOxaIQ"> - <body>Gets the signed Document -@return Returns the documentSource.</body> - </ownedComment> - <ownedParameter xmi:id="_6BKgYtcXEeGBQInKWOxaIQ" type="_6AX2MtcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - </packagedElement> - <packagedElement xmi:type="uml:Interface" xmi:id="_6BURaNcXEeGBQInKWOxaIQ" name="PDFSignerInterface"> - <ownedComment xmi:id="_6BZw89cXEeGBQInKWOxaIQ"> - <body>PDF Signator base Class -This class should be extended to support PDF-AS and PADES. -@author afitzek</body> - </ownedComment> - <ownedOperation xmi:id="_6BXUsNcXEeGBQInKWOxaIQ" name="Sign" visibility="public" isAbstract="true" concurrency="concurrent" raisedException="_6BYi0dcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BZw8NcXEeGBQInKWOxaIQ"> - <body>Adds the signature to the document. -The SL Response has to be set in the state -@param state The siging state -@return The signature Result -@throws SignatureException</body> - </ownedComment> - <ownedParameter xmi:id="_6BX7wNcXEeGBQInKWOxaIQ" name="state" type="_6A2XUNcXEeGBQInKWOxaIQ"/> - <ownedParameter xmi:id="_6BX7wdcXEeGBQInKWOxaIQ" type="_6BGO8NcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BZJ4NcXEeGBQInKWOxaIQ" name="Prepare" visibility="public" isAbstract="true" concurrency="concurrent" raisedException="_6BYi0dcXEeGBQInKWOxaIQ"> - <ownedComment xmi:id="_6BZw8dcXEeGBQInKWOxaIQ"> - <body>Prepare a signature -Defines signature parameters, the pdf library prepares the pdf document to sign and -creates a Security Layer Request. -@param parameter The signature parameters -@return The siging state (contains the prepared document and the signature request -@throws SignatureException</body> - </ownedComment> - <ownedParameter xmi:id="_6BZJ4dcXEeGBQInKWOxaIQ" name="parameter" type="_6A5ao9cXEeGBQInKWOxaIQ"/> - <ownedParameter xmi:id="_6BZJ4tcXEeGBQInKWOxaIQ" type="_6A2XUNcXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - <ownedOperation xmi:id="_6BZJ49cXEeGBQInKWOxaIQ" name="GetParameter" visibility="public" isAbstract="true" concurrency="concurrent"> - <ownedComment xmi:id="_6BZw8tcXEeGBQInKWOxaIQ"> - <body>Creates new signing profile -@param base The profile id of the base profile -@param profileID The id of the new profile -@return The new Profile</body> - </ownedComment> - <ownedParameter xmi:id="_6BZJ5NcXEeGBQInKWOxaIQ" type="_6A5ao9cXEeGBQInKWOxaIQ" direction="return"/> - </ownedOperation> - </packagedElement> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_58hQ8NcXEeGBQInKWOxaIQ" name="javax.security.cert"> - <packagedElement xmi:type="uml:Class" xmi:id="_6BJ5UNcXEeGBQInKWOxaIQ" name="Certificate" isAbstract="true"/> - </packagedElement> - <packagedElement xmi:type="uml:Usage" xmi:id="_58ifENcXEeGBQInKWOxaIQ" supplier="_58hQ8NcXEeGBQInKWOxaIQ" client="_58e0t9cXEeGBQInKWOxaIQ"/> - <packagedElement xmi:type="uml:Package" xmi:id="_6AgZENcXEeGBQInKWOxaIQ" name="java.lang"> - <packagedElement xmi:type="uml:Class" xmi:id="_6AhAINcXEeGBQInKWOxaIQ" name="Exception"/> - <packagedElement xmi:type="uml:Class" xmi:id="_6BAvYNcXEeGBQInKWOxaIQ" name="String" isLeaf="true"/> - </packagedElement> - <packagedElement xmi:type="uml:Package" xmi:id="_6BYi0NcXEeGBQInKWOxaIQ" name="java.security"> - <packagedElement xmi:type="uml:Class" xmi:id="_6BYi0dcXEeGBQInKWOxaIQ" name="SignatureException"/> - </packagedElement> - <profileApplication xmi:id="_58eNoNcXEeGBQInKWOxaIQ"> - <eAnnotations xmi:id="_58e0sNcXEeGBQInKWOxaIQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="platform:/plugin/com.soyatec.core/profiles/Soyatec.profile.uml#_LBLaIPscEdqYc77HqxgcqA"/> - </eAnnotations> - <appliedProfile href="platform:/plugin/com.soyatec.core/profiles/Soyatec.profile.uml#_zrN_0iUoEdmNXYQzyImvfA"/> - </profileApplication> - <profileApplication xmi:id="_58e0sdcXEeGBQInKWOxaIQ"> - <eAnnotations xmi:id="_58e0stcXEeGBQInKWOxaIQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="platform:/plugin/com.soyatec.core/profiles/Java.profile.uml#_I0dq8PscEdqYc77HqxgcqA"/> - </eAnnotations> - <appliedProfile href="platform:/plugin/com.soyatec.core/profiles/Java.profile.uml#_aZhLkH6MEdmbwasWWc4yvw"/> - </profileApplication> - <profileApplication xmi:id="_58e0s9cXEeGBQInKWOxaIQ"> - <eAnnotations xmi:id="_58e0tNcXEeGBQInKWOxaIQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="platform:/plugin/org.eclipse.uml2.uml.resources/profiles/Standard.profile.uml#_yzU58YinEdqtvbnfB2L_5w"/> - </eAnnotations> - <appliedProfile href="platform:/plugin/org.eclipse.uml2.uml.resources/profiles/Standard.profile.uml#_0"/> - </profileApplication> - <profileApplication xmi:id="_58e0tdcXEeGBQInKWOxaIQ"> - <eAnnotations xmi:id="_58e0ttcXEeGBQInKWOxaIQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> - <references xmi:type="ecore:EPackage" href="platform:/plugin/com.soyatec.core/profiles/Archetype.profile.uml#_D-NGoPscEdqYc77HqxgcqA"/> - </eAnnotations> - <appliedProfile href="platform:/plugin/com.soyatec.core/profiles/Archetype.profile.uml#_14txEWVxEdmLjaVkDjVh5g"/> - </profileApplication> - </uml:Model> - <Soyatec:Import xmi:id="_6AX2MdcXEeGBQInKWOxaIQ" base_Usage="_58ifENcXEeGBQInKWOxaIQ"/> -</xmi:XMI> diff --git a/trunk/pdf-over/pdf-signer-interface/pom.xml b/trunk/pdf-over/pdf-signer-interface/pom.xml deleted file mode 100644 index 47c84098..00000000 --- a/trunk/pdf-over/pdf-signer-interface/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>pdf-over</artifactId> - <groupId>at.a-sit</groupId> - <version>4.0-SNAPSHOT</version> - <relativePath>..</relativePath> - </parent> - <artifactId>pdf-signer-interface</artifactId> - <name>PDFSignator Interface</name> - <inceptionYear>2012</inceptionYear> - <url>http://www.buergerkarte.at/</url> -</project>
\ No newline at end of file diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/ByteArrayDocumentSource.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/ByteArrayDocumentSource.java deleted file mode 100644 index 27e0c537..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/ByteArrayDocumentSource.java +++ /dev/null @@ -1,29 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; - -public class ByteArrayDocumentSource implements DocumentSource { - - protected byte[] data; - - public ByteArrayDocumentSource(byte[] data) { - this.data = data; - } - - @Override - public InputStream GetInputStream() { - return new ByteArrayInputStream(this.data); - } - - @Override - public int GetLength() { - return data.length; - } - - @Override - public byte[] GetByteArray() { - return data; - } - -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java deleted file mode 100644 index cfca74fa..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/CollimatingMark.java +++ /dev/null @@ -1,6 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -public interface CollimatingMark { - - public String GetFileName(); -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/DocumentSource.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/DocumentSource.java deleted file mode 100644 index dafe9797..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/DocumentSource.java +++ /dev/null @@ -1,29 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -import java.io.InputStream; - -/** - * A Document Source - * - * @author afitzek - */ -public interface DocumentSource { - - /** - * Gets Document as INput Stream - * @return - */ - public InputStream GetInputStream(); - - /** - * Get Length of document - * @return - */ - public int GetLength(); - - /** - * Get byte[] - * @return - */ - public byte[] GetByteArray(); -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignator.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignator.java deleted file mode 100644 index 9fb14b4a..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignator.java +++ /dev/null @@ -1,68 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -import java.util.HashMap; -import java.util.Map; - -/** - * PDF Signator Interface - * @author afitzek - */ -public class PDFSignator { - - protected static Map<PDFSigner, PDFSignerFactory> _factory; - - // Let Factory choose if instance can be cached or not - //protected static Map<PDFSigner, PDFSignerInterface> _signer; - - static { - //_signer = new HashMap<PDFSigner, PDFSignerInterface>(); - _factory = new HashMap<PDFSigner, PDFSignerFactory>(); - - - try { - @SuppressWarnings("rawtypes") - Class pdfAsClass = Class.forName("at.asit.pdfover.pdfsigner.pdfas.PDFASSignerFactory"); - PDFSignerFactory factory = (PDFSignerFactory)pdfAsClass.newInstance(); - RegisterPDFSigner(factory.GetPDFSignerType(), factory); - } catch (ClassNotFoundException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (InstantiationException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IllegalAccessException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - - } - - public static void RegisterPDFSigner(PDFSigner signer, PDFSignerFactory factory) { - _factory.put(signer, factory); - } - - protected static PDFSignerInterface GetSigner(PDFSigner signer) throws PDFSignatureException { - /*if (_signer.containsKey(signer)) { - return _signer.get(signer); - }*/ - - if(_factory.containsKey(signer)) { - //_signer.put(signer, _factory.get(signer).CreatePDFSigner()); - return _factory.get(signer).CreatePDFSigner(); - } else { - throw new PDFSignatureException("Unknown PDF Library: " + signer.toString()); - } - - //return _signer.get(signer); - } - - /** - * Gets a PDF Signer according to the chosen pdf signer library - * @param signer - * @return - * @throws PDFSignatureException - */ - public static PDFSignerInterface GetPDFSigner(PDFSigner signer) throws PDFSignatureException { - return GetSigner(signer); - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignatureException.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignatureException.java deleted file mode 100644 index 5a9a0073..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignatureException.java +++ /dev/null @@ -1,21 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -/** - * base class for signature exceptions - * @author afitzek - */ -public class PDFSignatureException extends Exception { - - /** - * - */ - private static final long serialVersionUID = 711578398780816710L; - - public PDFSignatureException(Throwable e) { - super(e); - } - - public PDFSignatureException(String msg) { - super(msg); - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSigner.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSigner.java deleted file mode 100644 index 332c111b..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSigner.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * - */ -package at.asit.pdfover.pdfsigner; - -/** - * Available PDF Signer libraries - * @author afitzek - */ -public enum PDFSigner { - /** - * @uml.property name="pDFAS" - * @uml.associationEnd - */ - PDFAS { - public String toString() { - return "PDFAS"; - } - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerFactory.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerFactory.java deleted file mode 100644 index 348c649a..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerFactory.java +++ /dev/null @@ -1,6 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -public abstract class PDFSignerFactory { - public abstract PDFSignerInterface CreatePDFSigner(); - public abstract PDFSigner GetPDFSignerType(); -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerInterface.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerInterface.java deleted file mode 100644 index 0d9592dc..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/PDFSignerInterface.java +++ /dev/null @@ -1,36 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -/** - * PDF Signator base Class - * This class should be extended to support PDF-AS and PADES. - * @author afitzek - */ -public interface PDFSignerInterface { - - /** - * Prepare a signature - * Defines signature parameters, the pdf library prepares the pdf document to sign and - * creates a Security Layer Request. - * @param parameter The signature parameters - * @return The siging state (contains the prepared document and the signature request - * @throws SignatureException - */ - public SigningState Prepare(SignatureParameter parameter) throws PDFSignatureException; - - /** - * Adds the signature to the document. - * The SL Response has to be set in the state - * @param state The siging state - * @return The signature Result - * @throws SignatureException - */ - public SignResult Sign(SigningState state) throws PDFSignatureException; - - /** - * Creates new signing profile - * @param base The profile id of the base profile - * @param profileID The id of the new profile - * @return The new Profile - */ - public SignatureParameter GetParameter(); -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java deleted file mode 100644 index de98aa1a..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SLResponse.java +++ /dev/null @@ -1,18 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -/** - * Securtiy Layer Response - * @author afitzek - */ -public class SLResponse { - - private String response; - - public SLResponse(String value) { - response = value; - } - - public String GetSLRespone() { - return this.response; - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResultImpl.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResultImpl.java deleted file mode 100644 index 72a08d1f..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignResultImpl.java +++ /dev/null @@ -1,37 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -import java.security.cert.X509Certificate; - -public class SignResultImpl implements SignResult { - - private SignaturePosition position; - private DocumentSource source; - private X509Certificate certificate; - - @Override - public SignaturePosition GetSignaturePosition() { - return position; - } - - @Override - public DocumentSource GetSignedDocument() { - return source; - } - - @Override - public X509Certificate GetSignerCertificate() { - return certificate; - } - - public void SetSignerCertificate(X509Certificate x509Certificate) { - this.certificate = x509Certificate; - } - - public void SetSignaturePosition(SignaturePosition postion) { - this.position = postion; - } - - public void SetSignedDocument(DocumentSource source) { - this.source = source; - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureParameter.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureParameter.java deleted file mode 100644 index 5876f1ef..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SignatureParameter.java +++ /dev/null @@ -1,126 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -import java.util.HashMap; - -/** - * The Signature Parameter - * @author afitzek - */ -public abstract class SignatureParameter { - - /** - * The Signature Position - * @uml.property name="signaturePosition" - * @uml.associationEnd - */ - protected SignaturePosition signaturePosition = null; - - /** - * Getter of the property <tt>signaturePosition</tt> - * @return Returns the signaturePosition. - */ - public SignaturePosition GetSignaturePosition() { - return signaturePosition; - } - - /** - * Setter of the property <tt>signaturePosition</tt> - * @param signaturePosition The signaturePosition to set. - */ - public void SetSignaturePosition(SignaturePosition signaturePosition) { - this.signaturePosition = signaturePosition; - } - - /** - * The signature Device - */ - protected String KeyIdentifier = null; - - /** - * Getter of the property <tt>KeyIdentifier</tt> - * @return Returns the KeyIdentifier. - */ - public String GetKeyIdentifier() { - return KeyIdentifier; - } - - /** - * Setter of the property <tt>KeyIdentifier</tt> - * @param value The KeyIdentifier to set. - */ - public void SetKeyIdentifier(String value) { - this.KeyIdentifier = value; - } - - /** - * The signature Device - * @uml.property name="documentSource" - * @uml.associationEnd - */ - protected DocumentSource documentSource = null; - - /** - * Getter of the property <tt>documentSource</tt> - * @return Returns the documentSource. - */ - public DocumentSource GetInputDocument() { - return documentSource; - } - - /** - * Setter of the property <tt>documentSource</tt> - * @param value The documentSource to set. - */ - public void SetInputDocument(DocumentSource value) { - this.documentSource = value; - } - - /** - * Gets the Dimension to display the Placeholder - * @return the placeholder dimensions - */ - public abstract SignatureDimension GetPlaceholderDimension(); - - /** - * holds the collimating mark - * @uml.property name="collimark" - * @uml.associationEnd - */ - protected CollimatingMark collimark; - - /** - * Gets the collimating mark - * @return - */ - public CollimatingMark GetCollimatingMark() { - return collimark; - } - - /** - * Sets the collimating mark - * @param value The new colimating mark - */ - public void SetCollimatingMark(CollimatingMark value) { - this.collimark = value; - } - - protected HashMap<String, String> _properties = new HashMap<String, String>(); - - /** - * Sets generic properties - * @param key - * @param value - */ - public void SetProperty(String key, String value) { - this._properties.put(key, value); - } - - /** - * Gets generic properties - * @param key - * @return - */ - public String GetProperty(String key) { - return this._properties.get(key); - } -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SigningState.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SigningState.java deleted file mode 100644 index d1920135..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsigner/SigningState.java +++ /dev/null @@ -1,20 +0,0 @@ -package at.asit.pdfover.pdfsigner; - -/** - * The state of the pdf signing library - * @author afitzek - */ -public interface SigningState { - - /** - * Gets the Security Layer Request to create the signature - * @return The SL Signature Request - */ - public abstract SLRequest GetSLSignatureRequest(); - - /** - * Sets the Security Layer Request to create the signature - * @param value The SL Signature Request - */ - public abstract void SetSLSignatureResponse(SLResponse value); -} diff --git a/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerInterface.ucd b/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerInterface.ucd deleted file mode 100644 index b0c3edf6..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerInterface.ucd +++ /dev/null @@ -1,209 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<editmodel:ClassDiagramEditModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:editmodel="editmodel.xmi" xmlns:options="options.xmi" name="PDFSignerInterface" size="2958,1133" id="at.asit.pdfover.pdfsigner" metadata="uml2-1.0" initialized="true" scrolledY="305" tag="1000" key="32303037303533312D31303030207064662D7369676E65722D696E746572666163652F616669747A656B"> - <children xsi:type="editmodel:InterfaceEditModel" targetConnections="//@children.1/@sourceConnections.1" name="SigningState" location="456,157" size="320,99" id="at.asit.pdfover.pdfsigner/SigningState" runTimeClassModel="GetSLSignatureRequest(),SetSLSignatureResponse(Lat.asit.pdfover.pdfsigner.SLResponse;)"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="297,36"> - <children xsi:type="editmodel:MethodEditModel" name="GetSLSignatureRequest" id="at.asit.pdfover.pdfsigner/SigningState#GetSLSignatureRequest()"/> - <children xsi:type="editmodel:MethodEditModel" name="SetSLSignatureResponse" id="at.asit.pdfover.pdfsigner/SigningState#SetSLSignatureResponse(Lat.asit.pdfover.pdfsigner.SLResponse;)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SigningState-Soyatec::Import->at.asit.pdfover.pdfsigner/SLRequest" source="//@children.0" target="//@children.2" targetEnd="//@children.0/@sourceConnections.0/@children.2" label="//@children.0/@sourceConnections.0/@children.0" sourceEnd="//@children.0/@sourceConnections.0/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="36,99" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="222,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SigningState-Soyatec::Import->at.asit.pdfover.pdfsigner/SLResponse" source="//@children.0" target="//@children.3" targetEnd="//@children.0/@sourceConnections.1/@children.2" label="//@children.0/@sourceConnections.1/@children.0" sourceEnd="//@children.0/@sourceConnections.1/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,96" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="210,12"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:InterfaceEditModel" name="PDFSignerInterface" location="211,14" size="376,117" id="at.asit.pdfover.pdfsigner/PDFSignerInterface" runTimeClassModel="GetParameter(),Prepare(Lat.asit.pdfover.pdfsigner.SignatureParameter;),Sign(Lat.asit.pdfover.pdfsigner.SigningState;)"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="353,54"> - <children xsi:type="editmodel:MethodEditModel" name="GetParameter" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#GetParameter()"/> - <children xsi:type="editmodel:MethodEditModel" name="Prepare" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#Prepare(Lat.asit.pdfover.pdfsigner.SignatureParameter;)"/> - <children xsi:type="editmodel:MethodEditModel" name="Sign" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#Sign(Lat.asit.pdfover.pdfsigner.SigningState;)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/PDFSignerInterface-Soyatec::Import->at.asit.pdfover.pdfsigner/SignResult" source="//@children.1" target="//@children.4" targetEnd="//@children.1/@sourceConnections.0/@children.2" label="//@children.1/@sourceConnections.0/@children.0" sourceEnd="//@children.1/@sourceConnections.0/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="57,117" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="224,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/PDFSignerInterface-Soyatec::Import->at.asit.pdfover.pdfsigner/SigningState" source="//@children.1" target="//@children.0" targetEnd="//@children.1/@sourceConnections.1/@children.2" label="//@children.1/@sourceConnections.1/@children.0" sourceEnd="//@children.1/@sourceConnections.1/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="310,117" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="65,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/PDFSignerInterface-Soyatec::Import->at.asit.pdfover.pdfsigner/SignatureParameter" source="//@children.1" target="//@children.8" targetEnd="//@children.1/@sourceConnections.2/@children.2" label="//@children.1/@sourceConnections.2/@children.0" sourceEnd="//@children.1/@sourceConnections.2/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="273,117" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="102,0"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.0/@sourceConnections.0" name="SLRequest" location="270,279" size="260,68" id="at.asit.pdfover.pdfsigner/SLRequest" runTimeClassModel="GetSignatureData()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="237,18"> - <children xsi:type="editmodel:MethodEditModel" name="GetSignatureData" id="at.asit.pdfover.pdfsigner/SLRequest#GetSignatureData()"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SLRequest-Soyatec::Import->at.asit.pdfover.pdfsigner/DocumentSource" source="//@children.2" target="//@children.9" targetEnd="//@children.2/@sourceConnections.0/@children.2" label="//@children.2/@sourceConnections.0/@children.0" sourceEnd="//@children.2/@sourceConnections.0/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="56,68" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="222,1"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.0/@sourceConnections.1" name="SLResponse" location="44,299" size="210,86" id="at.asit.pdfover.pdfsigner/SLResponse" runTimeClassModel="SLResponse(Ljava.lang.String;),GetSLRespone()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="187,36"> - <children xsi:type="editmodel:MethodEditModel" name="GetSLRespone" id="at.asit.pdfover.pdfsigner/SLResponse#GetSLRespone()"/> - <children xsi:type="editmodel:MethodEditModel" name="SLResponse" id="at.asit.pdfover.pdfsigner/SLResponse#SLResponse(Ljava.lang.String;)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:InterfaceEditModel" targetConnections="//@children.1/@sourceConnections.0" name="SignResult" location="44,149" size="282,117" id="at.asit.pdfover.pdfsigner/SignResult" runTimeClassModel="GetSignedDocument(),GetSignerCertificate(),GetSignaturePosition()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="259,54"> - <children xsi:type="editmodel:MethodEditModel" name="GetSignaturePosition" id="at.asit.pdfover.pdfsigner/SignResult#GetSignaturePosition()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetSignedDocument" id="at.asit.pdfover.pdfsigner/SignResult#GetSignedDocument()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetSignerCertificate" id="at.asit.pdfover.pdfsigner/SignResult#GetSignerCertificate()"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignResult-Soyatec::Import->at.asit.pdfover.pdfsigner/SignaturePosition" source="//@children.4" target="//@children.6" targetEnd="//@children.4/@sourceConnections.0/@children.2" label="//@children.4/@sourceConnections.0/@children.0" sourceEnd="//@children.4/@sourceConnections.0/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="186,117" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="74,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignResult-Soyatec::Import->at.asit.pdfover.pdfsigner/DocumentSource" source="//@children.4" target="//@children.9" targetEnd="//@children.4/@sourceConnections.1/@children.2" label="//@children.4/@sourceConnections.1/@children.0" sourceEnd="//@children.4/@sourceConnections.1/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="110,117" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="111,0"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.8/@sourceConnections.1" name="SignatureDimension" location="48,659" size="314,140" id="at.asit.pdfover.pdfsigner/SignatureDimension" runTimeClassModel="SetHeight(I),SignatureDimension(II),GetWidth(),GetHeight(),SetWidth(I)"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="291,90"> - <children xsi:type="editmodel:MethodEditModel" name="GetHeight" id="at.asit.pdfover.pdfsigner/SignatureDimension#GetHeight()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetWidth" id="at.asit.pdfover.pdfsigner/SignatureDimension#GetWidth()"/> - <children xsi:type="editmodel:MethodEditModel" name="SetHeight" id="at.asit.pdfover.pdfsigner/SignatureDimension#SetHeight(I)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetWidth" id="at.asit.pdfover.pdfsigner/SignatureDimension#SetWidth(I)"/> - <children xsi:type="editmodel:MethodEditModel" name="SignatureDimension" id="at.asit.pdfover.pdfsigner/SignatureDimension#SignatureDimension(II)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.8/@sourceConnections.0 //@children.4/@sourceConnections.0 //@children.8/@sourceConnections.3" name="SignaturePosition" location="458,659" size="339,248" id="at.asit.pdfover.pdfsigner/SignaturePosition" runTimeClassModel="GetPage(),SignaturePosition(),GetAuto(),GetX(),SetPage(I),SignaturePosition(FFI),SetX(F),SignaturePosition(FF),SetAuto(Z),SetY(F),GetY()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="316,198"> - <children xsi:type="editmodel:MethodEditModel" name="GetPage" id="at.asit.pdfover.pdfsigner/SignaturePosition#GetPage()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetX" id="at.asit.pdfover.pdfsigner/SignaturePosition#GetX()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetY" id="at.asit.pdfover.pdfsigner/SignaturePosition#GetY()"/> - <children xsi:type="editmodel:MethodEditModel" name="SetPage" id="at.asit.pdfover.pdfsigner/SignaturePosition#SetPage(I)"/> - <children xsi:type="editmodel:MethodEditModel" name="SignaturePosition" id="at.asit.pdfover.pdfsigner/SignaturePosition#SignaturePosition()"/> - <children xsi:type="editmodel:MethodEditModel" name="SetX" id="at.asit.pdfover.pdfsigner/SignaturePosition#SetX(F)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetAuto" id="at.asit.pdfover.pdfsigner/SignaturePosition#SetAuto(Z)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetY" id="at.asit.pdfover.pdfsigner/SignaturePosition#SetY(F)"/> - <children xsi:type="editmodel:MethodEditModel" name="SignaturePosition" id="at.asit.pdfover.pdfsigner/SignaturePosition#SignaturePosition(FF)"/> - <children xsi:type="editmodel:MethodEditModel" name="GetAuto" id="at.asit.pdfover.pdfsigner/SignaturePosition#GetAuto()"/> - <children xsi:type="editmodel:MethodEditModel" name="SignaturePosition" id="at.asit.pdfover.pdfsigner/SignaturePosition#SignaturePosition(FFI)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.8/@sourceConnections.2" name="CollimatingMark" location="45,510" size="167,68" id="at.asit.pdfover.pdfsigner/CollimatingMark" runTimeClassModel="GetFileName()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="144,18"> - <children xsi:type="editmodel:MethodEditModel" name="GetFileName" id="at.asit.pdfover.pdfsigner/CollimatingMark#GetFileName()"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:AssociationEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/CollimatingMark@collimark+at.asit.pdfover.pdfsigner/SignatureParameter@" source="//@children.7" target="//@children.8" targetEnd="//@children.7/@sourceConnections.0/@children.2" label="//@children.7/@sourceConnections.0/@children.0" sourceEnd="//@children.7/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan"> - <children xsi:type="editmodel:WireLabelEditModel" size="0,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" name="collimark" location="167,63" id="at.asit.pdfover.pdfsigner/CollimatingMark@collimark+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/CollimatingMark#collimark" attachSource="true" multiplicityLabel="//@children.7/@sourceConnections.0/@children.1/@children.1" roleLabel="//@children.7/@sourceConnections.0/@children.1/@children.0" navigable="true"> - <children xsi:type="editmodel:LabelEditModel" name=" # collimark" location="219,580" size="68,13" anchorKind="FirstPart"/> - <children xsi:type="editmodel:LabelEditModel" name="0..1" location="219,553" size="22,13" anchorKind="FirstPart"/> - </children> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,158" id="at.asit.pdfover.pdfsigner/CollimatingMark@collimark+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/SignatureParameter#" roleLabel="//@children.7/@sourceConnections.0/@children.2/@children.0"> - <children xsi:type="editmodel:LabelEditModel" location="375,527" size="0,13" anchorKind="LastPart"/> - </children> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.7/@sourceConnections.0 //@children.9/@sourceConnections.0 //@children.1/@sourceConnections.2" name="SignatureParameter" location="382,389" size="394,248" id="at.asit.pdfover.pdfsigner/SignatureParameter" runTimeClassModel="GetProperty(Ljava.lang.String;),GetCollimatingMark(),GetInputDocument(),SetKeyIdentifier(Ljava.lang.String;),GetPlaceholderDimension(),SetProperty(Ljava.lang.String;Ljava.lang.String;),GetKeyIdentifier(),GetSignaturePosition(),SetCollimatingMark(Lat.asit.pdfover.pdfsigner.CollimatingMark;),SetSignaturePosition(Lat.asit.pdfover.pdfsigner.SignaturePosition;),SetInputDocument(Lat.asit.pdfover.pdfsigner.DocumentSource;)"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="371,198"> - <children xsi:type="editmodel:MethodEditModel" name="GetCollimatingMark" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetCollimatingMark()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetInputDocument" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetInputDocument()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetKeyIdentifier" location="346,527" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetKeyIdentifier()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetPlaceholderDimension" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetPlaceholderDimension()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetSignaturePosition" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetSignaturePosition()"/> - <children xsi:type="editmodel:MethodEditModel" name="SetCollimatingMark" id="at.asit.pdfover.pdfsigner/SignatureParameter#SetCollimatingMark(Lat.asit.pdfover.pdfsigner.CollimatingMark;)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetInputDocument" id="at.asit.pdfover.pdfsigner/SignatureParameter#SetInputDocument(Lat.asit.pdfover.pdfsigner.DocumentSource;)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetKeyIdentifier" id="at.asit.pdfover.pdfsigner/SignatureParameter#SetKeyIdentifier(Ljava.lang.String;)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetSignaturePosition" id="at.asit.pdfover.pdfsigner/SignatureParameter#SetSignaturePosition(Lat.asit.pdfover.pdfsigner.SignaturePosition;)"/> - <children xsi:type="editmodel:MethodEditModel" name="GetProperty" id="at.asit.pdfover.pdfsigner/SignatureParameter#GetProperty(Ljava.lang.String;)"/> - <children xsi:type="editmodel:MethodEditModel" name="SetProperty" id="at.asit.pdfover.pdfsigner/SignatureParameter#SetProperty(Ljava.lang.String;Ljava.lang.String;)"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:AssociationEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignaturePosition@signaturePosition+at.asit.pdfover.pdfsigner/SignatureParameter@" source="//@children.8" target="//@children.6" targetEnd="//@children.8/@sourceConnections.0/@children.2" label="//@children.8/@sourceConnections.0/@children.0" sourceEnd="//@children.8/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan"> - <children xsi:type="editmodel:WireLabelEditModel" size="0,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="234,248" id="at.asit.pdfover.pdfsigner/SignaturePosition@signaturePosition+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/SignatureParameter#" attachSource="true" roleLabel="//@children.8/@sourceConnections.0/@children.1/@children.0"> - <children xsi:type="editmodel:LabelEditModel" location="609,644" size="0,13" anchorKind="FirstPart"/> - </children> - <children xsi:type="editmodel:AssociationEndEditModel" name="signaturePosition" location="158,0" id="at.asit.pdfover.pdfsigner/SignaturePosition@signaturePosition+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/SignaturePosition#signaturePosition" multiplicityLabel="//@children.8/@sourceConnections.0/@children.2/@children.1" roleLabel="//@children.8/@sourceConnections.0/@children.2/@children.0" navigable="true"> - <children xsi:type="editmodel:LabelEditModel" name=" # signaturePosition" location="623,639" size="116,13" anchorKind="LastPart"/> - <children xsi:type="editmodel:LabelEditModel" name="1" location="602,639" size="7,13" anchorKind="LastPart"/> - </children> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignatureParameter-Soyatec::Import->at.asit.pdfover.pdfsigner/SignatureDimension" source="//@children.8" target="//@children.5" targetEnd="//@children.8/@sourceConnections.1/@children.2" label="//@children.8/@sourceConnections.1/@children.0" sourceEnd="//@children.8/@sourceConnections.1/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,238" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="278,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignatureParameter-Soyatec::Import->at.asit.pdfover.pdfsigner/CollimatingMark" source="//@children.8" target="//@children.7" targetEnd="//@children.8/@sourceConnections.2/@children.2" label="//@children.8/@sourceConnections.2/@children.0" sourceEnd="//@children.8/@sourceConnections.2/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,154" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="167,33"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignatureParameter-Soyatec::Import->at.asit.pdfover.pdfsigner/SignaturePosition" source="//@children.8" target="//@children.6" targetEnd="//@children.8/@sourceConnections.3/@children.2" label="//@children.8/@sourceConnections.3/@children.0" sourceEnd="//@children.8/@sourceConnections.3/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="214,248" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="134,0"/> - </sourceConnections> - <sourceConnections xsi:type="editmodel:DependencyEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/SignatureParameter-Soyatec::Import->at.asit.pdfover.pdfsigner/DocumentSource" source="//@children.8" target="//@children.9" targetEnd="//@children.8/@sourceConnections.4/@children.2" label="//@children.8/@sourceConnections.4/@children.0" sourceEnd="//@children.8/@sourceConnections.4/@children.1" connectionRouterKind="Manual"> - <children xsi:type="editmodel:WireLabelEditModel" name="«Import»" size="51,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,48" attachSource="true"/> - <children xsi:type="editmodel:AssociationEndEditModel" location="222,89"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.2/@sourceConnections.0 //@children.4/@sourceConnections.1 //@children.8/@sourceConnections.4" name="DocumentSource" location="43,374" size="222,104" id="at.asit.pdfover.pdfsigner/DocumentSource" runTimeClassModel="GetInputStream(),GetLength(),GetByteArray()"> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <children xsi:type="editmodel:CompartmentEditModel" size="199,54"> - <children xsi:type="editmodel:MethodEditModel" name="GetLength" id="at.asit.pdfover.pdfsigner/DocumentSource#GetLength()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetByteArray" id="at.asit.pdfover.pdfsigner/DocumentSource#GetByteArray()"/> - <children xsi:type="editmodel:MethodEditModel" name="GetInputStream" id="at.asit.pdfover.pdfsigner/DocumentSource#GetInputStream()"/> - </children> - <children xsi:type="editmodel:CompartmentEditModel" size="0,0"/> - <sourceConnections xsi:type="editmodel:AssociationEditModel" autoLocated="true" id="at.asit.pdfover.pdfsigner/DocumentSource@documentSource+at.asit.pdfover.pdfsigner/SignatureParameter@" source="//@children.9" target="//@children.8" targetEnd="//@children.9/@sourceConnections.0/@children.2" label="//@children.9/@sourceConnections.0/@children.0" sourceEnd="//@children.9/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan"> - <children xsi:type="editmodel:WireLabelEditModel" size="0,13" anchorKind="MiddlePart"/> - <children xsi:type="editmodel:AssociationEndEditModel" name="documentSource" location="222,59" id="at.asit.pdfover.pdfsigner/DocumentSource@documentSource+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/DocumentSource#documentSource" attachSource="true" multiplicityLabel="//@children.9/@sourceConnections.0/@children.1/@children.1" roleLabel="//@children.9/@sourceConnections.0/@children.1/@children.0" navigable="true"> - <children xsi:type="editmodel:LabelEditModel" name=" # documentSource" location="272,458" size="113,13" anchorKind="FirstPart"/> - <children xsi:type="editmodel:LabelEditModel" name="1" location="272,431" size="7,13" anchorKind="FirstPart"/> - </children> - <children xsi:type="editmodel:AssociationEndEditModel" location="0,44" id="at.asit.pdfover.pdfsigner/DocumentSource@documentSource+at.asit.pdfover.pdfsigner/SignatureParameter@|at.asit.pdfover.pdfsigner/SignatureParameter#"/> - </sourceConnections> - <classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> - </children> - <diagramOptions xsi:type="options:ClassDiagramOptions" properties="wireOptions=7;Product=eUML2" autoName="false"/> - <boardSetting snapToGeometry="true" gridEnabled="true" gridSpacing="15,15" gridOrigin="0,0" rulerUnit="pixel" gridVisibility="false"> - <leftRuler/> - <topRuler/> - </boardSetting> - <classDiagramPreferences xsi:type="editmodel:UMLClassDiagramPreference" showPopupBars="true" showConnectionHandles="true" showMethodsParameterTypes="true" showMethodsReturnType="true" showMethodsParameterNames="true" showMethodsParameterKinds="true" attributeSorter="Natural" methodSorter="Natural" showClassStereotype="true" showPackageStereotype="true" showDependencyStereotype="true" showInterfaceStereotype="true" innerClassSorter="Natural" showPublicAttributes="true" showStaticAttributes="true" showPublicMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" packageIndication="3" showAttributeProperty="true"/> -</editmodel:ClassDiagramEditModel> diff --git a/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerSequenz.usd b/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerSequenz.usd deleted file mode 100644 index 450d4fdf..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/model/PDFSignerSequenz.usd +++ /dev/null @@ -1,109 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<editmodel:SequenceDiagramEditModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:editmodel="editmodel.xmi" xmlns:options="options.xmi" name="PDFSignerSequenz" size="1479,635" metadata="uml2-1.0" initialized="true" tag="1000" key="32303037303533312D31303030207064662D7369676E65722D696E746572666163652F616669747A656B"> - <children xsi:type="editmodel:InstanceEditModel" location="114,20" size="100,373" itemName="PDFSignator"> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.1/@children.0/@sourceConnections.0" location="42,85" size="16,40" sequenceItemContainer="//@children.0"> - <sourceConnections xsi:type="editmodel:SequenceMessageEditModel" name="GetParameter" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#GetParameter()" source="//@children.0/@children.0" target="//@children.1/@children.0" targetEnd="//@children.0/@children.0/@sourceConnections.0/@children.1" sourceEnd="//@children.0/@children.0/@sourceConnections.0/@children.0" connectionRouterKind="Manual" associatedMethod="GetParameter(): SignatureParameter" associatedSequenceNumber="1" associatedReturnArrow="//@children.1/@children.0/@sourceConnections.0" shouldShowReturnArrow="true"> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.0/@children.0/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.0/@children.0/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.0/@children.0/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.0/@children.0/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" name="GetParameter(): SignatureParameter" size="211,13"/> - <children xsi:type="editmodel:LabelEditModel" name="1" size="7,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" userLabel="//@children.0/@children.0/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.0/@children.0/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.0/@children.0/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.0/@children.0/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.1/@children.1/@sourceConnections.0" location="42,154" size="16,40" sequenceItemContainer="//@children.0"> - <sourceConnections xsi:type="editmodel:SequenceMessageEditModel" name="Prepare" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#Prepare(Lat.asit.pdfover.pdfsigner.SignatureParameter;)" source="//@children.0/@children.1" target="//@children.1/@children.1" targetEnd="//@children.0/@children.1/@sourceConnections.0/@children.1" sourceEnd="//@children.0/@children.1/@sourceConnections.0/@children.0" connectionRouterKind="Manual" associatedMethod="Prepare(SignatureParameter): SigningState" associatedSequenceNumber="2" associatedReturnArrow="//@children.1/@children.1/@sourceConnections.0" shouldShowReturnArrow="true"> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.0/@children.1/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.0/@children.1/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.0/@children.1/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.0/@children.1/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" name="Prepare(SignatureParameter): SigningState" size="248,13"/> - <children xsi:type="editmodel:LabelEditModel" name="2" size="7,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" userLabel="//@children.0/@children.1/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.0/@children.1/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.0/@children.1/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.0/@children.1/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.1/@children.2/@sourceConnections.0" location="42,223" size="16,40" sequenceItemContainer="//@children.0"> - <sourceConnections xsi:type="editmodel:SequenceMessageEditModel" name="Sign" id="at.asit.pdfover.pdfsigner/PDFSignerInterface#Sign(Lat.asit.pdfover.pdfsigner.SigningState;)" source="//@children.0/@children.2" target="//@children.1/@children.2" targetEnd="//@children.0/@children.2/@sourceConnections.0/@children.1" sourceEnd="//@children.0/@children.2/@sourceConnections.0/@children.0" connectionRouterKind="Manual" associatedMethod="Sign(SigningState): SignResult" associatedSequenceNumber="3" associatedReturnArrow="//@children.1/@children.2/@sourceConnections.0" shouldShowReturnArrow="true"> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.0/@children.2/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.0/@children.2/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.0/@children.2/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.0/@children.2/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" name="Sign(SigningState): SignResult" size="173,13"/> - <children xsi:type="editmodel:LabelEditModel" name="3" size="7,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" anchorKind="FixedAtEdge" userLabel="//@children.0/@children.2/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.0/@children.2/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.0/@children.2/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.0/@children.2/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - </children> - <children xsi:type="editmodel:InstanceEditModel" name="PDFSignerInterface" location="255,20" size="268,373" id="at.asit.pdfover.pdfsigner/PDFSignerInterface" itemName="PDFSignerInterface"> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.0/@children.0/@sourceConnections.0" location="126,85" size="16,40" sequenceItemContainer="//@children.1"> - <sourceConnections xsi:type="editmodel:ReturnArrowEditModel" source="//@children.1/@children.0" target="//@children.0/@children.0" targetEnd="//@children.1/@children.0/@sourceConnections.0/@children.1" sourceEnd="//@children.1/@children.0/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.1/@children.0/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.1/@children.0/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.1/@children.0/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.1/@children.0/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" userLabel="//@children.1/@children.0/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.1/@children.0/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.1/@children.0/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.1/@children.0/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.0/@children.1/@sourceConnections.0" location="126,154" size="16,40" sequenceItemContainer="//@children.1"> - <sourceConnections xsi:type="editmodel:ReturnArrowEditModel" source="//@children.1/@children.1" target="//@children.0/@children.1" targetEnd="//@children.1/@children.1/@sourceConnections.0/@children.1" sourceEnd="//@children.1/@children.1/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.1/@children.1/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.1/@children.1/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.1/@children.1/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.1/@children.1/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" userLabel="//@children.1/@children.1/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.1/@children.1/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.1/@children.1/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.1/@children.1/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - <children xsi:type="editmodel:ActivationEditModel" targetConnections="//@children.0/@children.2/@sourceConnections.0" location="126,223" size="16,40" sequenceItemContainer="//@children.1"> - <sourceConnections xsi:type="editmodel:ReturnArrowEditModel" source="//@children.1/@children.2" target="//@children.0/@children.2" targetEnd="//@children.1/@children.2/@sourceConnections.0/@children.1" sourceEnd="//@children.1/@children.2/@sourceConnections.0/@children.0" connectionRouterKind="Manual"> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" attachSource="true" userLabel="//@children.1/@children.2/@sourceConnections.0/@children.0/@children.0" methodLabel="//@children.1/@children.2/@sourceConnections.0/@children.0/@children.1" sequenceNumberLabel="//@children.1/@children.2/@sourceConnections.0/@children.0/@children.2" statementExpression="//@children.1/@children.2/@sourceConnections.0/@children.0/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - <children xsi:type="editmodel:SequenceEndEditModel" location="0,40" anchorKind="FixedAtEdge" userLabel="//@children.1/@children.2/@sourceConnections.0/@children.1/@children.0" methodLabel="//@children.1/@children.2/@sourceConnections.0/@children.1/@children.1" sequenceNumberLabel="//@children.1/@children.2/@sourceConnections.0/@children.1/@children.2" statementExpression="//@children.1/@children.2/@sourceConnections.0/@children.1/@children.3"> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:LabelEditModel" size="0,13"/> - <children xsi:type="editmodel:MessageLabelEditModel" size="0,13"/> - </children> - </sourceConnections> - </children> - </children> - <diagramOptions xsi:type="options:SequenceDiagramOptions" level="0" autoName="false"/> - <boardSetting snapToGeometry="true" gridEnabled="true" gridSpacing="15,15" gridOrigin="0,0" rulerUnit="pixel" gridVisibility="false"> - <leftRuler/> - <topRuler/> - </boardSetting> - <sequenceDiagramPreferences showPopupBars="true" showConnectionHandles="true"/> -</editmodel:SequenceDiagramEditModel> diff --git a/trunk/pdf-over/pdf-signer-interface/src/model/images/PDFSignerInterface.svg b/trunk/pdf-over/pdf-signer-interface/src/model/images/PDFSignerInterface.svg deleted file mode 100644 index a1cd1ccf..00000000 --- a/trunk/pdf-over/pdf-signer-interface/src/model/images/PDFSignerInterface.svg +++ /dev/null @@ -1,743 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'> -<svg xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-opacity:1; color-rendering:auto; color-interpolation:auto; stroke:black; text-rendering:auto; stroke-linecap:square; stroke-miterlimit:10; stroke-opacity:1; shape-rendering:auto; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:'Dialog'; font-style:normal; stroke-linejoin:miter; font-size:12; stroke-dashoffset:0; image-rendering:auto;" xmlns="http://www.w3.org/2000/svg"> - <!--Generated by the Batik Graphics2D SVG Generator--> - <defs id="genericDefs" /> - <g> - <defs id="defs1"> - <linearGradient x1="414" gradientUnits="userSpaceOnUse" x2="414" y1="124" y2="166" id="linearGradient1" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(27,63,159);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="169" gradientUnits="userSpaceOnUse" x2="169" y1="-19" y2="23" id="linearGradient2" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(27,63,159);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="228" gradientUnits="userSpaceOnUse" x2="228" y1="246" y2="288" id="linearGradient3" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="2" gradientUnits="userSpaceOnUse" x2="2" y1="266" y2="308" id="linearGradient4" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="2" gradientUnits="userSpaceOnUse" x2="2" y1="116" y2="158" id="linearGradient5" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(27,63,159);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="6" gradientUnits="userSpaceOnUse" x2="6" y1="626" y2="668" id="linearGradient6" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="416" gradientUnits="userSpaceOnUse" x2="416" y1="626" y2="668" id="linearGradient7" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="3" gradientUnits="userSpaceOnUse" x2="3" y1="477" y2="519" id="linearGradient8" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="340" gradientUnits="userSpaceOnUse" x2="340" y1="356" y2="398" id="linearGradient9" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <linearGradient x1="1" gradientUnits="userSpaceOnUse" x2="1" y1="341" y2="383" id="linearGradient10" spreadMethod="pad"> - <stop style="stop-opacity:1; stop-color:rgb(63,159,63);" offset="0%" /> - <stop style="stop-opacity:1; stop-color:white;" offset="100%" /> - </linearGradient> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath1"> - <path d="M0 0 L733 0 L733 857 L0 857 L0 0 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath2"> - <path d="M413 143 L733 143 L733 242 L413 242 L413 143 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath3"> - <path d="M423 198 L720 198 L720 214 L423 214 L423 198 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath4"> - <path d="M423 216 L720 216 L720 232 L423 232 L423 216 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath5"> - <path d="M423 161 L720 161 L720 178 L423 178 L423 161 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath6"> - <path d="M423 148 L720 148 L720 161 L423 161 L423 148 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath7"> - <path d="M168 0 L544 0 L544 117 L168 117 L168 0 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath8"> - <path d="M178 55 L531 55 L531 71 L178 71 L178 55 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath9"> - <path d="M178 73 L531 73 L531 89 L178 89 L178 73 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath10"> - <path d="M178 91 L531 91 L531 107 L178 107 L178 91 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath11"> - <path d="M178 18 L531 18 L531 35 L178 35 L178 18 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath12"> - <path d="M178 5 L531 5 L531 18 L178 18 L178 5 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath13"> - <path d="M227 265 L487 265 L487 333 L227 333 L227 265 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath14"> - <path d="M237 307 L474 307 L474 323 L237 323 L237 307 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath15"> - <path d="M237 270 L474 270 L474 287 L237 287 L237 270 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath16"> - <path d="M1 285 L132 285 L132 315 L1 315 L1 285 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath17"> - <path d="M11 290 L119 290 L119 307 L11 307 L11 290 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath18"> - <path d="M1 135 L283 135 L283 252 L1 252 L1 135 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath19"> - <path d="M11 190 L270 190 L270 206 L11 206 L11 190 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath20"> - <path d="M11 208 L270 208 L270 224 L11 224 L11 208 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath21"> - <path d="M11 226 L270 226 L270 242 L11 242 L11 226 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath22"> - <path d="M11 153 L270 153 L270 170 L11 170 L11 153 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath23"> - <path d="M11 140 L270 140 L270 153 L11 153 L11 140 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath24"> - <path d="M5 645 L319 645 L319 785 L5 785 L5 645 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath25"> - <path d="M15 687 L306 687 L306 703 L15 703 L15 687 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath26"> - <path d="M15 705 L306 705 L306 721 L15 721 L15 705 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath27"> - <path d="M15 723 L306 723 L306 739 L15 739 L15 723 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath28"> - <path d="M15 741 L306 741 L306 757 L15 757 L15 741 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath29"> - <path d="M15 759 L306 759 L306 775 L15 775 L15 759 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath30"> - <path d="M15 650 L306 650 L306 667 L15 667 L15 650 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath31"> - <path d="M415 645 L732 645 L732 857 L415 857 L415 645 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath32"> - <path d="M425 687 L719 687 L719 703 L425 703 L425 687 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath33"> - <path d="M425 705 L719 705 L719 721 L425 721 L425 705 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath34"> - <path d="M425 723 L719 723 L719 739 L425 739 L425 723 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath35"> - <path d="M425 741 L719 741 L719 757 L425 757 L425 741 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath36"> - <path d="M425 759 L719 759 L719 775 L425 775 L425 759 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath37"> - <path d="M425 777 L719 777 L719 793 L425 793 L425 777 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath38"> - <path d="M425 795 L719 795 L719 811 L425 811 L425 795 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath39"> - <path d="M425 813 L719 813 L719 829 L425 829 L425 813 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath40"> - <path d="M425 831 L719 831 L719 847 L425 847 L425 831 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath41"> - <path d="M425 650 L719 650 L719 667 L425 667 L425 650 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath42"> - <path d="M2 496 L164 496 L164 526 L2 526 L2 496 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath43"> - <path d="M12 501 L151 501 L151 518 L12 518 L12 501 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath44"> - <path d="M339 375 L733 375 L733 587 L339 587 L339 375 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath45"> - <path d="M349 417 L720 417 L720 433 L349 433 L349 417 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath46"> - <path d="M349 435 L720 435 L720 451 L349 451 L349 435 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath47"> - <path d="M349 453 L720 453 L720 469 L349 469 L349 453 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath48"> - <path d="M349 471 L720 471 L720 487 L349 487 L349 471 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath49"> - <path d="M349 489 L720 489 L720 505 L349 505 L349 489 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath50"> - <path d="M349 507 L720 507 L720 523 L349 523 L349 507 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath51"> - <path d="M349 525 L720 525 L720 541 L349 541 L349 525 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath52"> - <path d="M349 543 L720 543 L720 559 L349 559 L349 543 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath53"> - <path d="M349 561 L720 561 L720 577 L349 577 L349 561 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath54"> - <path d="M349 380 L720 380 L720 397 L349 397 L349 380 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath55"> - <path d="M0 360 L167 360 L167 390 L0 390 L0 360 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath56"> - <path d="M10 365 L154 365 L154 382 L10 382 L10 365 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath57"> - <path d="M0 0 L733 0 L733 799 L0 799 L0 0 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath58"> - <path d="M580 624 L696 624 L696 637 L580 637 L580 624 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath59"> - <path d="M559 624 L566 624 L566 637 L559 637 L559 624 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath60"> - <path d="M568 639 L579 639 L579 645 L568 645 L568 639 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath61"> - <path d="M569 586 L578 586 L578 595 L569 595 L569 586 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath62"> - <path d="M0 0 L733 0 L733 749 L0 749 L0 0 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath63"> - <path d="M170 490 L238 490 L238 503 L170 503 L170 490 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath64"> - <path d="M170 517 L192 517 L192 530 L170 530 L170 517 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath65"> - <path d="M331 506 L340 506 L340 515 L331 515 L331 506 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath66"> - <path d="M163 505 L169 505 L169 516 L163 516 L163 505 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath67"> - <path d="M0 0 L674 0 L674 857 L0 857 L0 0 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath68"> - <path d="M174 362 L287 362 L287 375 L174 375 L174 362 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath69"> - <path d="M174 389 L181 389 L181 402 L174 402 L174 389 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath70"> - <path d="M331 378 L340 378 L340 387 L331 387 L331 378 Z" /> - </clipPath> - <clipPath clipPathUnits="userSpaceOnUse" id="clipPath71"> - <path d="M167 377 L173 377 L173 388 L167 388 L167 377 Z" /> - </clipPath> - </defs> - <g style="fill:white; stroke:white;"> - <rect x="-43" y="-14" width="1018" style="clip-path:url(#clipPath1); stroke:none;" height="1058" /> - </g> - <g style="fill:rgb(204,204,204); font-size:0; font-weight:bold; stroke:rgb(204,204,204);"> - <rect x="417" y="147" width="316" style="clip-path:url(#clipPath2); stroke:none;" height="95" /> - <rect x="416" y="146" width="316" style="clip-path:url(#clipPath2); fill:rgb(153,153,153); stroke:none;" height="95" /> - <rect x="415" y="145" width="316" style="clip-path:url(#clipPath2); fill:rgb(102,102,102); stroke:none;" height="95" /> - <rect x="414" y="144" width="316" style="clip-path:url(#clipPath2); fill:rgb(51,51,51); stroke:none;" height="95" /> - <rect x="414" y="144" width="316" style="clip-path:url(#clipPath2); fill:white; stroke:none;" height="95" /> - <rect x="414" y="124" width="316" style="clip-path:url(#clipPath2); fill:url(#linearGradient1); stroke:none;" height="42" /> - <line x1="414" x2="729" y1="183" style="clip-path:url(#clipPath2); fill:none; stroke:rgb(27,63,159);" y2="183" /> - <line x1="414" x2="729" y1="193" style="clip-path:url(#clipPath2); fill:none; stroke:rgb(27,63,159);" y2="193" /> - <rect x="414" y="143" width="315" style="clip-path:url(#clipPath2); fill:none; stroke:rgb(27,63,159);" height="95" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="423" y="198" width="297" style="clip-path:url(#clipPath3); stroke:none;" height="16" /> - <image x="423" y="198" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath3); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="442" y="209" style="clip-path:url(#clipPath3); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSLSignatureRequest(): SLRequest</text> - <rect x="423" y="216" width="297" style="clip-path:url(#clipPath4); stroke:none;" height="16" /> - <image x="423" y="216" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath4); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="442" y="227" style="clip-path:url(#clipPath4); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetSLSignatureResponse(in value: SLResponse)</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="515" y="161" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACBUlEQVR42t1TTWsT -URQ985kYbU2HksR26gcBa6hahQShihgQXQiK4EKhIC5cCe7dtSvBZaCLIlJKt11Y -XNhStCoSkARcKNZqAxqC/UhI4phOptPMjO8965NJ+wu88O7j3nfvuXMPZwS0WSmb -94pvcih//grPdQFBQCRxFAfPp6APJYX2el8iPzbpld69R7CzA6FujefNShWW8Qv6 -mdNI3rst7ApAmwsLbxE7nkDngSiUfXt40VajCWNlDasfFxFPn/OBSNRVFpe93PgU -ouRTw4f6cOruLUROJPgRFYWAmJDIXczmMP50euTRWGaU9orUfZmZR7hPh2PbqJDd -85kJPv37iyw+TE2zvNO0oMWPoDD7ir/L1JWXlrFlmRBllSWNtQqS2wV2o8Fiaq7b -YrdV++kHMGs1bG7ahHABjtPysdxsbKC+vv5nX0mG6zgIBAP8na0Q6uqCqsqMUgpC -D2d5O8djScReTfMDxE4SomQFMiFJCqgQVflfgSixWCZTBUUi04PoTQ36V+i/dgmf -ns1hv96Djp4oLj58wAsGbl5FKNKNwvxrmKtlVIslHE4P7dRBLjPhLc2+RFjvJQ1a -u+BQ/VZEy7QQv3AWqft3hF2VyEDmFpiQvDa1USH1X077mrmQ/trj5zOjmcknI7ax -AePHCpr1OuFARGzgGAaHryNx48qOf+E/sN/1drCXjgudMwAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath5);" height="16" preserveAspectRatio="none" /> - <text x="534" y="174" style="clip-path:url(#clipPath5); stroke:none;" xml:space="preserve">SigningState</text> - <text x="539" y="158" style="font-size:10; clip-path:url(#clipPath6); stroke:none; font-weight:normal;" xml:space="preserve">«interface»</text> - <rect x="172" y="4" width="372" style="clip-path:url(#clipPath7); fill:rgb(204,204,204); stroke:none;" height="113" /> - <rect x="171" y="3" width="372" style="clip-path:url(#clipPath7); fill:rgb(153,153,153); stroke:none;" height="113" /> - <rect x="170" y="2" width="372" style="clip-path:url(#clipPath7); fill:rgb(102,102,102); stroke:none;" height="113" /> - <rect x="169" y="1" width="372" style="clip-path:url(#clipPath7); fill:rgb(51,51,51); stroke:none;" height="113" /> - <rect x="169" y="1" width="372" style="clip-path:url(#clipPath7); fill:white; stroke:none;" height="113" /> - <rect x="169" y="-19" width="372" style="clip-path:url(#clipPath7); fill:url(#linearGradient2); stroke:none;" height="42" /> - <line x1="169" x2="540" y1="40" style="clip-path:url(#clipPath7); fill:none; stroke:rgb(27,63,159);" y2="40" /> - <line x1="169" x2="540" y1="50" style="clip-path:url(#clipPath7); fill:none; stroke:rgb(27,63,159);" y2="50" /> - <rect x="169" y="0" width="371" style="clip-path:url(#clipPath7); fill:none; stroke:rgb(27,63,159);" height="113" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="178" y="55" width="353" style="clip-path:url(#clipPath8); stroke:none;" height="16" /> - <image x="178" y="55" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath8); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="197" y="66" style="clip-path:url(#clipPath8); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetParameter(): SignatureParameter</text> - <rect x="178" y="73" width="353" style="clip-path:url(#clipPath9); stroke:none;" height="16" /> - <image x="178" y="73" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath9); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="197" y="84" style="clip-path:url(#clipPath9); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> Prepare(in parameter: SignatureParameter): SigningState</text> - <rect x="178" y="91" width="353" style="clip-path:url(#clipPath10); stroke:none;" height="16" /> - <image x="178" y="91" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath10); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="197" y="102" style="clip-path:url(#clipPath10); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> Sign(in state: SigningState): SignResult</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="273" y="18" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACBUlEQVR42t1TTWsT -URQ985kYbU2HksR26gcBa6hahQShihgQXQiK4EKhIC5cCe7dtSvBZaCLIlJKt11Y -XNhStCoSkARcKNZqAxqC/UhI4phOptPMjO8965NJ+wu88O7j3nfvuXMPZwS0WSmb -94pvcih//grPdQFBQCRxFAfPp6APJYX2el8iPzbpld69R7CzA6FujefNShWW8Qv6 -mdNI3rst7ApAmwsLbxE7nkDngSiUfXt40VajCWNlDasfFxFPn/OBSNRVFpe93PgU -ouRTw4f6cOruLUROJPgRFYWAmJDIXczmMP50euTRWGaU9orUfZmZR7hPh2PbqJDd -85kJPv37iyw+TE2zvNO0oMWPoDD7ir/L1JWXlrFlmRBllSWNtQqS2wV2o8Fiaq7b -YrdV++kHMGs1bG7ahHABjtPysdxsbKC+vv5nX0mG6zgIBAP8na0Q6uqCqsqMUgpC -D2d5O8djScReTfMDxE4SomQFMiFJCqgQVflfgSixWCZTBUUi04PoTQ36V+i/dgmf -ns1hv96Djp4oLj58wAsGbl5FKNKNwvxrmKtlVIslHE4P7dRBLjPhLc2+RFjvJQ1a -u+BQ/VZEy7QQv3AWqft3hF2VyEDmFpiQvDa1USH1X077mrmQ/trj5zOjmcknI7ax -AePHCpr1OuFARGzgGAaHryNx48qOf+E/sN/1drCXjgudMwAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath11);" height="16" preserveAspectRatio="none" /> - <text x="292" y="31" style="clip-path:url(#clipPath11); stroke:none;" xml:space="preserve">PDFSignerInterface</text> - <text x="322" y="15" style="font-size:10; clip-path:url(#clipPath12); stroke:none; font-weight:normal;" xml:space="preserve">«interface»</text> - <rect x="231" y="269" width="256" style="clip-path:url(#clipPath13); fill:rgb(204,204,204); stroke:none;" height="64" /> - <rect x="230" y="268" width="256" style="clip-path:url(#clipPath13); fill:rgb(153,153,153); stroke:none;" height="64" /> - <rect x="229" y="267" width="256" style="clip-path:url(#clipPath13); fill:rgb(102,102,102); stroke:none;" height="64" /> - <rect x="228" y="266" width="256" style="clip-path:url(#clipPath13); fill:rgb(51,51,51); stroke:none;" height="64" /> - <rect x="228" y="266" width="256" style="clip-path:url(#clipPath13); fill:white; stroke:none;" height="64" /> - <rect x="228" y="246" width="256" style="clip-path:url(#clipPath13); fill:url(#linearGradient3); stroke:none;" height="42" /> - <line x1="228" x2="483" y1="292" style="clip-path:url(#clipPath13); fill:none; stroke:rgb(63,159,63);" y2="292" /> - <line x1="228" x2="483" y1="302" style="clip-path:url(#clipPath13); fill:none; stroke:rgb(63,159,63);" y2="302" /> - <rect x="228" y="265" width="255" style="clip-path:url(#clipPath13); fill:none; stroke:rgb(63,159,63);" height="64" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="237" y="307" width="237" style="clip-path:url(#clipPath14); stroke:none;" height="16" /> - <image x="237" y="307" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath14); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="256" y="318" style="clip-path:url(#clipPath14); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSignatureData(): DocumentSource</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="307" y="270" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath15);" height="16" preserveAspectRatio="none" /> - <text x="326" y="283" style="clip-path:url(#clipPath15); stroke:none;" xml:space="preserve">SLRequest</text> - <rect x="5" y="289" width="127" style="clip-path:url(#clipPath16); fill:rgb(204,204,204); stroke:none;" height="26" /> - <rect x="4" y="288" width="127" style="clip-path:url(#clipPath16); fill:rgb(153,153,153); stroke:none;" height="26" /> - <rect x="3" y="287" width="127" style="clip-path:url(#clipPath16); fill:rgb(102,102,102); stroke:none;" height="26" /> - <rect x="2" y="286" width="127" style="clip-path:url(#clipPath16); fill:rgb(51,51,51); stroke:none;" height="26" /> - <rect x="2" y="286" width="127" style="clip-path:url(#clipPath16); fill:white; stroke:none;" height="26" /> - <rect x="2" y="266" width="127" style="clip-path:url(#clipPath16); fill:url(#linearGradient4); stroke:none;" height="42" /> - <rect x="2" y="285" width="126" style="clip-path:url(#clipPath16); fill:none; stroke:rgb(63,159,63);" height="26" /> - <image x="11" y="290" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath17);" height="16" preserveAspectRatio="none" /> - <text x="30" y="303" style="clip-path:url(#clipPath17); stroke:none;" xml:space="preserve">SLResponse</text> - <rect x="5" y="139" width="278" style="clip-path:url(#clipPath18); fill:rgb(204,204,204); stroke:none;" height="113" /> - <rect x="4" y="138" width="278" style="clip-path:url(#clipPath18); fill:rgb(153,153,153); stroke:none;" height="113" /> - <rect x="3" y="137" width="278" style="clip-path:url(#clipPath18); fill:rgb(102,102,102); stroke:none;" height="113" /> - <rect x="2" y="136" width="278" style="clip-path:url(#clipPath18); fill:rgb(51,51,51); stroke:none;" height="113" /> - <rect x="2" y="136" width="278" style="clip-path:url(#clipPath18); fill:white; stroke:none;" height="113" /> - <rect x="2" y="116" width="278" style="clip-path:url(#clipPath18); fill:url(#linearGradient5); stroke:none;" height="42" /> - <line x1="2" x2="279" y1="175" style="clip-path:url(#clipPath18); fill:none; stroke:rgb(27,63,159);" y2="175" /> - <line x1="2" x2="279" y1="185" style="clip-path:url(#clipPath18); fill:none; stroke:rgb(27,63,159);" y2="185" /> - <rect x="2" y="135" width="277" style="clip-path:url(#clipPath18); fill:none; stroke:rgb(27,63,159);" height="113" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="11" y="190" width="259" style="clip-path:url(#clipPath19); stroke:none;" height="16" /> - <image x="11" y="190" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath19); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="30" y="201" style="clip-path:url(#clipPath19); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSignaturePosition(): SignaturePosition</text> - <rect x="11" y="208" width="259" style="clip-path:url(#clipPath20); stroke:none;" height="16" /> - <image x="11" y="208" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath20); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="30" y="219" style="clip-path:url(#clipPath20); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSignedDocument(): DocumentSource</text> - <rect x="11" y="226" width="259" style="clip-path:url(#clipPath21); stroke:none;" height="16" /> - <image x="11" y="226" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath21); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="30" y="237" style="clip-path:url(#clipPath21); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSignerCertificate(): Certificate</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="92" y="153" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACBUlEQVR42t1TTWsT -URQ985kYbU2HksR26gcBa6hahQShihgQXQiK4EKhIC5cCe7dtSvBZaCLIlJKt11Y -XNhStCoSkARcKNZqAxqC/UhI4phOptPMjO8965NJ+wu88O7j3nfvuXMPZwS0WSmb -94pvcih//grPdQFBQCRxFAfPp6APJYX2el8iPzbpld69R7CzA6FujefNShWW8Qv6 -mdNI3rst7ApAmwsLbxE7nkDngSiUfXt40VajCWNlDasfFxFPn/OBSNRVFpe93PgU -ouRTw4f6cOruLUROJPgRFYWAmJDIXczmMP50euTRWGaU9orUfZmZR7hPh2PbqJDd -85kJPv37iyw+TE2zvNO0oMWPoDD7ir/L1JWXlrFlmRBllSWNtQqS2wV2o8Fiaq7b -YrdV++kHMGs1bG7ahHABjtPysdxsbKC+vv5nX0mG6zgIBAP8na0Q6uqCqsqMUgpC -D2d5O8djScReTfMDxE4SomQFMiFJCqgQVflfgSixWCZTBUUi04PoTQ36V+i/dgmf -ns1hv96Djp4oLj58wAsGbl5FKNKNwvxrmKtlVIslHE4P7dRBLjPhLc2+RFjvJQ1a -u+BQ/VZEy7QQv3AWqft3hF2VyEDmFpiQvDa1USH1X077mrmQ/trj5zOjmcknI7ax -AePHCpr1OuFARGzgGAaHryNx48qOf+E/sN/1drCXjgudMwAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath22);" height="16" preserveAspectRatio="none" /> - <text x="111" y="166" style="clip-path:url(#clipPath22); stroke:none;" xml:space="preserve">SignResult</text> - <text x="108" y="150" style="font-size:10; clip-path:url(#clipPath23); stroke:none; font-weight:normal;" xml:space="preserve">«interface»</text> - <rect x="9" y="649" width="310" style="clip-path:url(#clipPath24); fill:rgb(204,204,204); stroke:none;" height="136" /> - <rect x="8" y="648" width="310" style="clip-path:url(#clipPath24); fill:rgb(153,153,153); stroke:none;" height="136" /> - <rect x="7" y="647" width="310" style="clip-path:url(#clipPath24); fill:rgb(102,102,102); stroke:none;" height="136" /> - <rect x="6" y="646" width="310" style="clip-path:url(#clipPath24); fill:rgb(51,51,51); stroke:none;" height="136" /> - <rect x="6" y="646" width="310" style="clip-path:url(#clipPath24); fill:white; stroke:none;" height="136" /> - <rect x="6" y="626" width="310" style="clip-path:url(#clipPath24); fill:url(#linearGradient6); stroke:none;" height="42" /> - <line x1="6" x2="315" y1="672" style="clip-path:url(#clipPath24); fill:none; stroke:rgb(63,159,63);" y2="672" /> - <line x1="6" x2="315" y1="682" style="clip-path:url(#clipPath24); fill:none; stroke:rgb(63,159,63);" y2="682" /> - <rect x="6" y="645" width="309" style="clip-path:url(#clipPath24); fill:none; stroke:rgb(63,159,63);" height="136" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="15" y="687" width="291" style="clip-path:url(#clipPath25); stroke:none;" height="16" /> - <image x="15" y="687" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath25); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="34" y="698" style="clip-path:url(#clipPath25); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetHeight(): int</text> - <rect x="15" y="705" width="291" style="clip-path:url(#clipPath26); stroke:none;" height="16" /> - <image x="15" y="705" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath26); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="34" y="716" style="clip-path:url(#clipPath26); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetWidth(): int</text> - <rect x="15" y="723" width="291" style="clip-path:url(#clipPath27); stroke:none;" height="16" /> - <image x="15" y="723" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath27); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="34" y="734" style="clip-path:url(#clipPath27); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetHeight(in value: int)</text> - <rect x="15" y="741" width="291" style="clip-path:url(#clipPath28); stroke:none;" height="16" /> - <image x="15" y="741" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath28); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="34" y="752" style="clip-path:url(#clipPath28); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetWidth(in value: int)</text> - <rect x="15" y="759" width="291" style="clip-path:url(#clipPath29); stroke:none;" height="16" /> - <image x="15" y="759" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA00lEQVR42mNmIBL8 -B4LTBhsa+JW5GqQdhRpWr1vVMK9rcSMLsQZEbXdkeH3+M8PE4lkMt79cYSiYmA4W -Z2IgEVgJuTDEyxUwnGq8S54B6ICFVA3H3u0Be2Hq3Mn4DbCvt/+PzF/muZ/B+6cB -Q35vGgMjCyPDhPyZDNZNrgyMuDQrOCSgiD1YsIDhwIIDcD4jEIBpYjRDTHjA8ODA -AYaDCw+i6KE4EOlkAND5uAAzusDDgw8bBRg+NAgICDAwfPgAwSAzsPgfayDCAzMe -NRqxaR4mAAA9Kky9Yo8mswAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath29); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="34" y="770" style="clip-path:url(#clipPath29); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SignatureDimension(in width: int, in height: int)</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="77" y="650" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath30);" height="16" preserveAspectRatio="none" /> - <text x="96" y="663" style="clip-path:url(#clipPath30); stroke:none;" xml:space="preserve">SignatureDimension</text> - <rect x="419" y="649" width="313" style="clip-path:url(#clipPath31); fill:rgb(204,204,204); stroke:none;" height="208" /> - <rect x="418" y="648" width="313" style="clip-path:url(#clipPath31); fill:rgb(153,153,153); stroke:none;" height="208" /> - <rect x="417" y="647" width="313" style="clip-path:url(#clipPath31); fill:rgb(102,102,102); stroke:none;" height="208" /> - <rect x="416" y="646" width="313" style="clip-path:url(#clipPath31); fill:rgb(51,51,51); stroke:none;" height="208" /> - <rect x="416" y="646" width="313" style="clip-path:url(#clipPath31); fill:white; stroke:none;" height="208" /> - <rect x="416" y="626" width="313" style="clip-path:url(#clipPath31); fill:url(#linearGradient7); stroke:none;" height="42" /> - <line x1="416" x2="728" y1="672" style="clip-path:url(#clipPath31); fill:none; stroke:rgb(63,159,63);" y2="672" /> - <line x1="416" x2="728" y1="682" style="clip-path:url(#clipPath31); fill:none; stroke:rgb(63,159,63);" y2="682" /> - <rect x="416" y="645" width="312" style="clip-path:url(#clipPath31); fill:none; stroke:rgb(63,159,63);" height="208" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="425" y="687" width="294" style="clip-path:url(#clipPath32); stroke:none;" height="16" /> - <image x="425" y="687" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath32); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="698" style="clip-path:url(#clipPath32); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetPage(): int</text> - <rect x="425" y="705" width="294" style="clip-path:url(#clipPath33); stroke:none;" height="16" /> - <image x="425" y="705" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath33); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="716" style="clip-path:url(#clipPath33); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetX(): int</text> - <rect x="425" y="723" width="294" style="clip-path:url(#clipPath34); stroke:none;" height="16" /> - <image x="425" y="723" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath34); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="734" style="clip-path:url(#clipPath34); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetY(): int</text> - <rect x="425" y="741" width="294" style="clip-path:url(#clipPath35); stroke:none;" height="16" /> - <image x="425" y="741" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath35); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="752" style="clip-path:url(#clipPath35); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetPage(in value: int)</text> - <rect x="425" y="759" width="294" style="clip-path:url(#clipPath36); stroke:none;" height="16" /> - <image x="425" y="759" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath36); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="770" style="clip-path:url(#clipPath36); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetX(in value: int)</text> - <rect x="425" y="777" width="294" style="clip-path:url(#clipPath37); stroke:none;" height="16" /> - <image x="425" y="777" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath37); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="788" style="clip-path:url(#clipPath37); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetY(in value: int)</text> - <rect x="425" y="795" width="294" style="clip-path:url(#clipPath38); stroke:none;" height="16" /> - <image x="425" y="795" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA00lEQVR42mNmIBL8 -B4LTBhsa+JW5GqQdhRpWr1vVMK9rcSMLsQZEbXdkeH3+M8PE4lkMt79cYSiYmA4W -Z2IgEVgJuTDEyxUwnGq8S54B6ICFVA3H3u0Be2Hq3Mn4DbCvt/+PzF/muZ/B+6cB -Q35vGgMjCyPDhPyZDNZNrgyMuDQrOCSgiD1YsIDhwIIDcD4jEIBpYjRDTHjA8ODA -AYaDCw+i6KE4EOlkAND5uAAzusDDgw8bBRg+NAgICDAwfPgAwSAzsPgfayDCAzMe -NRqxaR4mAAA9Kky9Yo8mswAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath38); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="806" style="clip-path:url(#clipPath38); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SignaturePosition(in x: int, in y: int)</text> - <rect x="425" y="813" width="294" style="clip-path:url(#clipPath39); stroke:none;" height="16" /> - <image x="425" y="813" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA00lEQVR42mNmIBL8 -B4LTBhsa+JW5GqQdhRpWr1vVMK9rcSMLsQZEbXdkeH3+M8PE4lkMt79cYSiYmA4W -Z2IgEVgJuTDEyxUwnGq8S54B6ICFVA3H3u0Be2Hq3Mn4DbCvt/+PzF/muZ/B+6cB -Q35vGgMjCyPDhPyZDNZNrgyMuDQrOCSgiD1YsIDhwIIDcD4jEIBpYjRDTHjA8ODA -AYaDCw+i6KE4EOlkAND5uAAzusDDgw8bBRg+NAgICDAwfPgAwSAzsPgfayDCAzMe -NRqxaR4mAAA9Kky9Yo8mswAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath39); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="824" style="clip-path:url(#clipPath39); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SignaturePosition(in x: int, in y: int, in page: int)</text> - <rect x="425" y="831" width="294" style="clip-path:url(#clipPath40); stroke:none;" height="16" /> - <image x="425" y="831" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA00lEQVR42mNmIBL8 -B4LTBhsa+JW5GqQdhRpWr1vVMK9rcSMLsQZEbXdkeH3+M8PE4lkMt79cYSiYmA4W -Z2IgEVgJuTDEyxUwnGq8S54B6ICFVA3H3u0Be2Hq3Mn4DbCvt/+PzF/muZ/B+6cB -Q35vGgMjCyPDhPyZDNZNrgyMuDQrOCSgiD1YsIDhwIIDcD4jEIBpYjRDTHjA8ODA -AYaDCw+i6KE4EOlkAND5uAAzusDDgw8bBRg+NAgICDAwfPgAwSAzsPgfayDCAzMe -NRqxaR4mAAA9Kky9Yo8mswAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath40); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="444" y="842" style="clip-path:url(#clipPath40); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SignaturePosition()</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="497" y="650" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath41);" height="16" preserveAspectRatio="none" /> - <text x="516" y="663" style="clip-path:url(#clipPath41); stroke:none;" xml:space="preserve">SignaturePosition</text> - <rect x="6" y="500" width="158" style="clip-path:url(#clipPath42); fill:rgb(204,204,204); stroke:none;" height="26" /> - <rect x="5" y="499" width="158" style="clip-path:url(#clipPath42); fill:rgb(153,153,153); stroke:none;" height="26" /> - <rect x="4" y="498" width="158" style="clip-path:url(#clipPath42); fill:rgb(102,102,102); stroke:none;" height="26" /> - <rect x="3" y="497" width="158" style="clip-path:url(#clipPath42); fill:rgb(51,51,51); stroke:none;" height="26" /> - <rect x="3" y="497" width="158" style="clip-path:url(#clipPath42); fill:white; stroke:none;" height="26" /> - <rect x="3" y="477" width="158" style="clip-path:url(#clipPath42); fill:url(#linearGradient8); stroke:none;" height="42" /> - <rect x="3" y="496" width="157" style="clip-path:url(#clipPath42); fill:none; stroke:rgb(63,159,63);" height="26" /> - <image x="12" y="501" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath43);" height="16" preserveAspectRatio="none" /> - <text x="31" y="514" style="clip-path:url(#clipPath43); stroke:none;" xml:space="preserve">CollimatingMark</text> - <rect x="343" y="379" width="390" style="clip-path:url(#clipPath44); fill:rgb(204,204,204); stroke:none;" height="208" /> - <rect x="342" y="378" width="390" style="clip-path:url(#clipPath44); fill:rgb(153,153,153); stroke:none;" height="208" /> - <rect x="341" y="377" width="390" style="clip-path:url(#clipPath44); fill:rgb(102,102,102); stroke:none;" height="208" /> - <rect x="340" y="376" width="390" style="clip-path:url(#clipPath44); fill:rgb(51,51,51); stroke:none;" height="208" /> - <rect x="340" y="376" width="390" style="clip-path:url(#clipPath44); fill:white; stroke:none;" height="208" /> - <rect x="340" y="356" width="390" style="clip-path:url(#clipPath44); fill:url(#linearGradient9); stroke:none;" height="42" /> - <line x1="340" x2="729" y1="402" style="clip-path:url(#clipPath44); fill:none; stroke:rgb(63,159,63);" y2="402" /> - <line x1="340" x2="729" y1="412" style="clip-path:url(#clipPath44); fill:none; stroke:rgb(63,159,63);" y2="412" /> - <rect x="340" y="375" width="389" style="clip-path:url(#clipPath44); fill:none; stroke:rgb(63,159,63);" height="208" /> - </g> - <g style="fill:white; font-size:10; stroke:white;"> - <rect x="349" y="417" width="371" style="clip-path:url(#clipPath45); stroke:none;" height="16" /> - <image x="349" y="417" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath45); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="428" style="clip-path:url(#clipPath45); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetCollimatingMark(): CollimatingMark</text> - <rect x="349" y="435" width="371" style="clip-path:url(#clipPath46); stroke:none;" height="16" /> - <image x="349" y="435" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath46); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="446" style="clip-path:url(#clipPath46); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetInputDocument(): DocumentSource</text> - <rect x="349" y="453" width="371" style="clip-path:url(#clipPath47); stroke:none;" height="16" /> - <image x="349" y="453" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath47); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="464" style="clip-path:url(#clipPath47); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetKeyIdentifier(): String</text> - <rect x="349" y="471" width="371" style="clip-path:url(#clipPath48); stroke:none;" height="16" /> - <image x="349" y="471" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAqklEQVR42mNgIAH8 -BwKLKhEQ9R8mxkSK5sn7a8BsEA0zhIkUFyzbM5PheOtrME2yC3ABRlKcj2xzlEs6 -Q65jCwMLLk329fb/sTkfBiyrRXEbANKs4JCAIiYhIIOVz0iM5gVofGTAQkwYJBxY -wMDw4AHDgwMHGA4uPIhiKcWxQJwBQNtxAWZ0gYcHHzYKMHxoEBAQYGD48AGCQWZg -cT7edGAfjxqN2DQPEwAA22VPvB8T46wAAAAASUVORK5CYII=" style="clip-path:url(#clipPath48); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="482" style="clip-path:url(#clipPath48); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetPlaceholderDimension(): SignatureDimension</text> - <rect x="349" y="489" width="371" style="clip-path:url(#clipPath49); stroke:none;" height="16" /> - <image x="349" y="489" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath49); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="500" style="clip-path:url(#clipPath49); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> GetSignaturePosition(): SignaturePosition</text> - <rect x="349" y="507" width="371" style="clip-path:url(#clipPath50); stroke:none;" height="16" /> - <image x="349" y="507" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath50); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="518" style="clip-path:url(#clipPath50); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetCollimatingMark(in value: CollimatingMark)</text> - <rect x="349" y="525" width="371" style="clip-path:url(#clipPath51); stroke:none;" height="16" /> - <image x="349" y="525" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath51); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="536" style="clip-path:url(#clipPath51); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetInputDocument(in value: DocumentSource)</text> - <rect x="349" y="543" width="371" style="clip-path:url(#clipPath52); stroke:none;" height="16" /> - <image x="349" y="543" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath52); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="554" style="clip-path:url(#clipPath52); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetKeyIdentifier(in value: String)</text> - <rect x="349" y="561" width="371" style="clip-path:url(#clipPath53); stroke:none;" height="16" /> - <image x="349" y="561" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAb0lEQVR42mNgGAUU -A0ZcEvb19v+R+QcbD2JVy4xLs4JDAoOAggECM3xoeHjxYSNBA2Ca0YGAgAAQM2AY -wkRpGNDJgAcPcEphhMHDgw8bQQEG8jPDhw8QDDLjwAGGgwsxYwJ3NMajRePCg4zD -NCkDAO6kJdrlZ1J0AAAAAElFTkSuQmCC" style="clip-path:url(#clipPath53); fill:rgb(0,127,0); stroke:rgb(0,127,0);" height="16" preserveAspectRatio="none" /> - <text x="368" y="572" style="clip-path:url(#clipPath53); fill:rgb(0,127,0); stroke:none;" xml:space="preserve"> SetSignaturePosition(in signaturePosition: SignaturePosition)</text> - </g> - <g style="font-weight:bold; font-size:13;"> - <image x="450" y="380" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACMklEQVR42t1S30tT -YRh+tmQzUbdzjuW0rYxRRjobXkSFi1bCRhYjJPAqiFhXCevCi8hKIyEISsyboEVE -drtGaUKjIKio0EF2Y+ImZa4880zPjvtp53TOZ2c5o3+gBw7v933v+z7f87zf0WAd -Pn0Zk/yhfiQEDovyV1lGgalkcKbVhwZLM/Zf3IS3fSw0MpT6DWubB4Z7Jf/zARho -CyhmK6qqtqHCUI28KOJUixe3X3ZjIjKGtJbHyP1XPb0ytGubhz8EYbO50dLohqup -DW12D4mN1n2k5lHoDrldiSpKVNndD8/B3uTCwXoHWnc4i2wdsjrwLxALut1Cj95o -QkNdM07uOUESo5MhBCeeghVY7KreWZDvf3GD5FUbRAEnxAF9OfSSRJIRdhqBN0Nk -/XkmDI/tWEG+CmWYnc5rqxYSyQVkE/PIZpZIMp6MIRodh/SbUIHJaC6Sru4JAVXB -YCmzjIXF7+TQTMvTL6cgin8IAl3hIgJ1TwhqGAv4uSl85WJIZnjUGi3weS5hNBxA -3WYrKeRldReGOpHKLWM7XYsrHYPkPyDPeNbVBY6bQzqfwq1n1+UZTMFRfwR9HYPw -Hj6PH3wMD17fRe5nHpGZj2g/cLqgRKMu+p9clkbePQZFm0DLN2yhzSjVbUQml8Y3 -bhb5bBrsfBROuxu+41c1fxEUSN4HYa6xQlsiu5NWK8SVFczGpnF0r6eouWBBhZK8 -6b2HUq0WgvwqKT5OokFXBuV8ffN/gl+jk+E8+ZO/AQAAAABJRU5ErkJggg==" style="clip-path:url(#clipPath54);" height="16" preserveAspectRatio="none" /> - <text x="469" y="393" style="clip-path:url(#clipPath54); stroke:none;" xml:space="preserve">SignatureParameter</text> - <rect x="4" y="364" width="163" style="clip-path:url(#clipPath55); fill:rgb(204,204,204); stroke:none;" height="26" /> - <rect x="3" y="363" width="163" style="clip-path:url(#clipPath55); fill:rgb(153,153,153); stroke:none;" height="26" /> - <rect x="2" y="362" width="163" style="clip-path:url(#clipPath55); fill:rgb(102,102,102); stroke:none;" height="26" /> - <rect x="1" y="361" width="163" style="clip-path:url(#clipPath55); fill:rgb(51,51,51); stroke:none;" height="26" /> - <rect x="1" y="361" width="163" style="clip-path:url(#clipPath55); fill:white; stroke:none;" height="26" /> - <rect x="1" y="341" width="163" style="clip-path:url(#clipPath55); fill:url(#linearGradient10); stroke:none;" height="42" /> - <rect x="1" y="360" width="162" style="clip-path:url(#clipPath55); fill:none; stroke:rgb(63,159,63);" height="26" /> - <image x="10" y="365" width="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACS0lEQVR42t2S30uT -URjHP+/27ofz57YgtU0FwWRaioIXQYWmJP0yqaAbgyi7DLvostIg6CpFoouooKjL -MklLTCQIizIblRdpOa20mZuburlfzr29e63BzL+gB855zvme83zOeZ5zBNbZ6PcR -6fZAB16/hwW5ZRiMmDPMnKptoTSvUli/P0no7G2TBj/0kZ9XRoohM6EHA4s4HMPU -VR7i7P5LwoaAeHDvcDdVlQ1st5axKc2EqBKJxqJ8dTmYcU8x+PI+R3c3JUHUiWs/ -76S0pJZqWzUHbPUUmPLJM1oVX2EpJ8IqkiGV1/ZeHt3tab3RfrMtAdDa/K26rGxK -Cio4VtaokPvGBuj+1IPL76J4cxGiWuTz7Bgx2Y9/e8dQl10BiPHO43eDLg2dJCnB -DtcEXa8eKOPxKTsvRvuJRCPKPBIO4QzMJ2qgALy+ecLeOcKhRUV0+5xMTr5H+gMU -BAFR1CCo1WhEPdHwcjLAmG5mMbTM/MKsIlrkvNPTjMRia4ATNafRaFPoH3mIy+dF -q9MnAKp4l2O2yqeo+eFx4gstkZtlpaXhAraCbeyrOkxjVRO7iuvkMmrQ61IpzClK -BpzZex6P5yfBlQDtz67KNfjCzq17uHL8Os015/i15OTe0C0iqys4pj5yZMfJf/9B -x5OL0tM3jzGasjGZctlisqCXrx2KBJnxTLMSDuKam6S6vJ6Wg5eFDX+iAnnbjSWn -EJUol0da2xGLRpl2TsjpNCQFJ1L4a/HFa8130KtU+OVXCSy5FZ+pNRDX1wf/J/Yb -2Xri8wlLCDAAAAAASUVORK5CYII=" style="clip-path:url(#clipPath56);" height="16" preserveAspectRatio="none" /> - <text x="29" y="378" style="clip-path:url(#clipPath56); stroke:none;" xml:space="preserve">DocumentSource</text> - <path d="M573 586 L573 644" style="fill:none; clip-path:url(#clipPath57);" /> - <text x="580" y="634" style="font-size:10; clip-path:url(#clipPath58); stroke:none; font-weight:normal;" xml:space="preserve"> # signaturePosition</text> - <text x="559" y="634" style="font-size:10; clip-path:url(#clipPath59); stroke:none; font-weight:normal;" xml:space="preserve">1</text> - <path d="M568 639 L573 644 L578 639" style="fill:none; clip-path:url(#clipPath60);" /> - <path d="M577 594 L573 590 L569 594 L573 590 L569 586 L573 590 L577 586" style="fill:none; clip-path:url(#clipPath61);" /> - <path d="M163 510 L339 510" style="fill:none; clip-path:url(#clipPath62);" /> - <text x="170" y="500" style="font-size:10; clip-path:url(#clipPath63); stroke:none; font-weight:normal;" xml:space="preserve"> # collimark</text> - <text x="170" y="527" style="font-size:10; clip-path:url(#clipPath64); stroke:none; font-weight:normal;" xml:space="preserve">0..1</text> - <path d="M331 514 L335 510 L331 506 L335 510 L339 506 L335 510 L339 514" style="fill:none; clip-path:url(#clipPath65);" /> - <path d="M168 505 L163 510 L168 515" style="fill:none; clip-path:url(#clipPath66);" /> - <path d="M167 382 L339 382" style="fill:none; clip-path:url(#clipPath67);" /> - <text x="174" y="372" style="font-size:10; clip-path:url(#clipPath68); stroke:none; font-weight:normal;" xml:space="preserve"> # documentSource</text> - <text x="174" y="399" style="font-size:10; clip-path:url(#clipPath69); stroke:none; font-weight:normal;" xml:space="preserve">1</text> - <path d="M331 386 L335 382 L331 378 L335 382 L339 378 L335 382 L339 386" style="fill:none; clip-path:url(#clipPath70);" /> - <path d="M172 377 L167 382 L172 387" style="fill:none; clip-path:url(#clipPath71);" /> - </g> - </g> -</svg> diff --git a/trunk/pdf-over/pdf-signer-pdf-as/pom.xml b/trunk/pdf-over/pdf-signer-pdf-as/pom.xml deleted file mode 100644 index eea1568a..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/pom.xml +++ /dev/null @@ -1,25 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>pdf-over</artifactId> - <groupId>at.a-sit</groupId> - <version>4.0-SNAPSHOT</version> - <relativePath>..</relativePath> - </parent> - <artifactId>pdf-signer-pdf-as</artifactId> - <name>PDFSignator PDF-AS Implementation</name> - <dependencies> - <dependency> - <groupId>at.a-sit</groupId> - <artifactId>pdf-signer-interface</artifactId> - <version>4.0-SNAPSHOT</version> - </dependency> - <dependency> - <groupId>knowcenter</groupId> - <artifactId>pdf-as</artifactId> - <version>3.2</version> - </dependency> - </dependencies> - <inceptionYear>2012</inceptionYear> - <url>http://www.buergerkarte.at</url> -</project>
\ No newline at end of file diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASHelper.java b/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASHelper.java deleted file mode 100644 index 1e14fc39..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASHelper.java +++ /dev/null @@ -1,73 +0,0 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.PDFSignatureException; -import at.gv.egiz.pdfas.api.PdfAs; -import at.gv.egiz.pdfas.api.exceptions.PdfAsException; -import at.gv.egiz.pdfas.api.internal.PdfAsInternal; - -/** - * Encapsulates PDF AS API Object to need just one initialization - * @author afitzek - */ -public class PDFASHelper { - - /** - * PDF AS Object - */ - private static PdfAs pdf_as_instance = null; - - /** - * Internal Pdf AS Object - */ - private static PdfAsInternal pdf_as_internal = null; - - /** - * Creates PDF AS Object - * @return - * @throws PdfAsException - */ - private static PdfAs CreatePdfAs() throws PdfAsException { - return new at.gv.egiz.pdfas.impl.api.PdfAsObject(); - } - - /** - * Creates a PDF AS Internal object - * @return - * @throws PdfAsException - */ - private static PdfAsInternal CreatePdfAsInternal() throws PdfAsException { - return new at.gv.egiz.pdfas.impl.api.internal.PdfAsInternalObject(); - } - - /** - * Gets PDF AS Object - * @return - * @throws PDFSignatureException - */ - public static synchronized PdfAs GetPdfAs() throws PDFSignatureException { - if(pdf_as_instance == null) { - try { - pdf_as_instance = CreatePdfAs(); - } catch(PdfAsException e) { - throw new PDFSignatureException(e); - } - } - return pdf_as_instance; - } - - /** - * Gets PDF AS Internal object - * @return - * @throws PDFSignatureException - */ - public static synchronized PdfAsInternal GetPdfAsInternal() throws PDFSignatureException { - if(pdf_as_internal == null) { - try { - pdf_as_internal = CreatePdfAsInternal(); - } catch(PdfAsException e) { - throw new PDFSignatureException(e); - } - } - return pdf_as_internal; - } -} diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSLRequest.java b/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSLRequest.java deleted file mode 100644 index a4b55c94..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSLRequest.java +++ /dev/null @@ -1,18 +0,0 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.DocumentSource; -import at.asit.pdfover.pdfsigner.SLRequest; - -public class PDFASSLRequest implements SLRequest { - - public PDFASSLRequest(String slRequest) { - /// Analyse Request ... - } - - @Override - public DocumentSource GetSignatureData() { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignatureParameter.java b/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignatureParameter.java deleted file mode 100644 index 518f54b7..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignatureParameter.java +++ /dev/null @@ -1,25 +0,0 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.SignatureDimension; -import at.asit.pdfover.pdfsigner.SignatureParameter; -import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning; -import at.gv.egiz.pdfas.api.io.DataSource; - -public class PDFASSignatureParameter extends SignatureParameter { - - @Override - public SignatureDimension GetPlaceholderDimension() { - // TODO Auto-generated method stub - return null; - } - - public SignaturePositioning GetPDFASPositioning() { - // TODO: implement Signature creation - return new SignaturePositioning(); - } - - public DataSource GetPDFASDataSource() { - // TODO: implement Signature creation - return new ByteArrayPdfAsDataSource(null); - } -} diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignerFactory.java b/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignerFactory.java deleted file mode 100644 index 2545578b..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSignerFactory.java +++ /dev/null @@ -1,19 +0,0 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.PDFSigner; -import at.asit.pdfover.pdfsigner.PDFSignerFactory; -import at.asit.pdfover.pdfsigner.PDFSignerInterface; - -public class PDFASSignerFactory extends PDFSignerFactory { - - @Override - public PDFSignerInterface CreatePDFSigner() { - return new PDFASSigner(); - } - - @Override - public PDFSigner GetPDFSignerType() { - return PDFSigner.PDFAS; - } - -} diff --git a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSigningState.java b/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSigningState.java deleted file mode 100644 index 9500f981..00000000 --- a/trunk/pdf-over/pdf-signer-pdf-as/src/main/java/at/asit/pdfover/pdfsigner/pdfas/PDFASSigningState.java +++ /dev/null @@ -1,81 +0,0 @@ -package at.asit.pdfover.pdfsigner.pdfas; - -import at.asit.pdfover.pdfsigner.SLRequest; -import at.asit.pdfover.pdfsigner.SLResponse; -import at.asit.pdfover.pdfsigner.SigningState; -import at.gv.egiz.pdfas.api.sign.SignatureDetailInformation; - -/** - * Signing State for PDFAS Wrapper - * @author afitzek - */ -public class PDFASSigningState implements SigningState { - - protected SLRequest slrequest; - - protected SLResponse slresponse; - - @Override - public SLRequest GetSLSignatureRequest() { - return slrequest; - } - - @Override - public void SetSLSignatureResponse(SLResponse value) { - this.slresponse = value; - } - - /** - * Sets the SL Request - * @param request The SL Request - */ - public void SetSLSignatureRequest(SLRequest request) { - this.slrequest = request; - } - - /** - * Gets the SL Response - * @return The SL Repsonse object - */ - public SLResponse GetSLSignatureResponse() { - return this.slresponse; - } - - - // ---------------------------------------- - // PDF AS Specific stuff - // ---------------------------------------- - - protected SignatureDetailInformation SignatureDetailInformation; - - protected at.gv.egiz.pdfas.api.sign.SignParameters SignParameters; - - protected PDFASSignatureParameter PDFAsSignatureParameter; - - public PDFASSignatureParameter getPDFAsSignatureParameter() { - return PDFAsSignatureParameter; - } - - public void setPDFAsSignatureParameter( - PDFASSignatureParameter pDFAsSignatureParameter) { - PDFAsSignatureParameter = pDFAsSignatureParameter; - } - - public at.gv.egiz.pdfas.api.sign.SignParameters getSignParameters() { - return SignParameters; - } - - public void setSignParameters( - at.gv.egiz.pdfas.api.sign.SignParameters signParameters) { - SignParameters = signParameters; - } - - public SignatureDetailInformation getSignatureDetailInformation() { - return SignatureDetailInformation; - } - - public void setSignatureDetailInformation( - SignatureDetailInformation signatureDetailInformation) { - SignatureDetailInformation = signatureDetailInformation; - } -} diff --git a/trunk/pdf-over/pom.xml b/trunk/pdf-over/pom.xml deleted file mode 100644 index 871071ac..00000000 --- a/trunk/pdf-over/pom.xml +++ /dev/null @@ -1,75 +0,0 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <groupId>at.a-sit</groupId> - <artifactId>pdf-over</artifactId> - <version>4.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>PDF-OVER</name> - <url>http://www.buergerkarte.at</url> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - <scope>test</scope> - </dependency> - </dependencies> - <inceptionYear>2012</inceptionYear> - - <developers> - - <developer> - <id>tkellner</id> - <name>Tobias Kellner</name> - <email>tobias.kellner@egiz.gv.at</email> - <organization>EGIZ</organization> - <roles> - <role>developer</role> - </roles> - <timezone>+1</timezone> - </developer> - - <developer> - <id>vkrnjic</id> - <name>Vesna Krnjic</name> - <email>vesna.krnjic@iaik.tugraz.at</email> - <organization>EGIZ</organization> - <roles> - <role>developer</role> - </roles> - <timezone>+1</timezone> - </developer> - - <developer> - <id>afitzek</id> - <name>Andreas Fitzek</name> - <email>andreas.fitzek@iaik.tugraz.at</email> - <organization>EGIZ</organization> - <roles> - <role>developer</role> - </roles> - <timezone>+1</timezone> - </developer> - - </developers> - - <organization> - <name>EGIZ - E-Government Innovationszentrum</name> - <url>http://www.egiz.gv.at/</url> - </organization> - <modules> - <module>pdf-signer-interface</module> - <module>pdf-signer-pdf-as</module> - - - <module>pdf-gui</module> - </modules> -</project> diff --git a/trunk/pom.xml b/trunk/pom.xml new file mode 100644 index 00000000..ed961c4a --- /dev/null +++ b/trunk/pom.xml @@ -0,0 +1,145 @@ + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>a-sit.at</groupId> + <artifactId>pdf-over</artifactId> + <version>4.0.0-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>PDF-Over</name> + <description>A tool to sign pdf documents</description> + <url>http://www.buergerkarte.at/</url> + <inceptionYear>2012</inceptionYear> + + <organization> + <name>A-SIT</name> + <url>http://a-sit.at/</url> + </organization> + + <developers> + <developer> + <id>tkellner</id> + <name>Tobias Kellner</name> + <email>tobias.kellner@egiz.gv.at</email> + <organization>EGIZ</organization> + <roles> + <role>developer</role> + </roles> + <timezone>+1</timezone> + </developer> + <developer> + <id>vkrnjic</id> + <name>Vesna Krnjic</name> + <email>vesna.krnjic@egiz.gv.at</email> + <organization>EGIZ</organization> + <roles> + <role>developer</role> + </roles> + <timezone>+1</timezone> + </developer> + <developer> + <id>afitzek</id> + <name>Andreas Fitzek</name> + <email>andreas.fitzek@egiz.gv.at</email> + <organization>EGIZ</organization> + <roles> + <role>developer</role> + </roles> + <timezone>+1</timezone> + </developer> + </developers> + + <licenses> + <license> + <name>EUPL v1.1</name> + <url>http://joinup.ec.europa.eu/software/page/eupl/licence-eupl</url> + <distribution>manually</distribution> + </license> + </licenses> + + <scm> + <developerConnection>scm:git:ssh://git@abyss.iaik.tugraz.at/home/git/12PDF-OVER-4.0.git/trunk/pdf-over</developerConnection> + <connection>scm:svn:https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0/trunk/pdf-over</connection> + <url>https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0/trunk/pdf-over</url> + </scm> + + <issueManagement> + <system>JIRA</system> + <url>http://jira.egovlabs.gv.at/browse/POF</url> + </issueManagement> + + <modules> + <module>pdf-over-gui</module> + <module>pdf-over-signator</module> + <module>pdf-over-signer</module> + </modules> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.1.2</version> + <configuration> + <dependencyDetailsEnabled>true</dependencyDetailsEnabled> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>index</report> + <report>summary</report> + <report>license</report> + <report>dependencies</report> + <report>dependency-management</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.8.1</version> + <configuration> + </configuration> + </plugin> + </plugins> + </reporting> + + <build> + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <groupId>org.apache.maven.plugins</groupId> + <version>2.5.1</version> + <configuration> + <source>1.6</source> + <target>1.6</target> + <verbose>true</verbose> + <showWarnings>true</showWarnings> + <showDeprecation>true</showDeprecation> + <encoding>UTF-8</encoding> + <debug>false</debug> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>1.6.6</version> + </dependency> + </dependencies> + </dependencyManagement> +</project>
\ No newline at end of file |