Domino 9 und frühere Versionen > Entwicklung

PDF Formulare per LS ausfüllen?

<< < (2/2)

meichhorner:
Hy,

ich hab mich schon rund gegoogelt ;D

Ich habs mit iText hinbekommen, jetzt probier ich es mal mit dem SDK und der API.

Wenn ich was funktionierendes habe gebe ich Bescheid. ;)

Cu
Martin

meichhorner:
@all

So jetzt klappts ;D ;D ;D

@potsmoker
Auch ohne Acrobat nur mit dem Reader ;)

Das ganze heisst FDF-Toolkit von Adobe, da drin sind 2 dll's die man registrieren muss mit denen mann dann mit LS PDF Formulare befüllen kann.

Sieht dann so aus:

Codeschnipsel>>

--- Code: ---   
'Declarations
   Dim FdfAcX As Variant
   Dim objFdf As Variant
   Dim FilePath As String
   Dim tempFDFFile As String
   Dim ndt_Birth As NotesDateTime
   
'Init
   FilePath = "M:\"
   Const FDFNormalAP = 0
   Const FDFRolloverAP = 1
   Const FDFDownAP = 2
   
' The 2 object below can probably be As Object, as well
   
   
' Set variable to name of temporary FDF file
   tempFDFFile = FilePath + FDF_FileName
   
' Create the two ActiveX objects
   Set FdfAcX = CreateObject("FdfApp.FdfApp")
   Set objFdf = FdfAcX.FDFCreate()

' Set the name of the PDF Form that the data will go into
   Call objFdf.FDFSetFile (FilePath + PDF_FileName)
   Call objFdf.FDFSaveToFile (FilePath + FDF_FileName)
   
' Do cleanup stuff
   objFdf.FDFClose
   Set objFdf = Nothing
   Set FdfAcX = Nothing

--- Ende Code ---

Cu
Martin

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln