Author | Topic: XbpPDF | |
---|---|---|
Erik | XbpPDF on Thu, 02 Jan 2014 15:07:20 -0500 Does anyone know if the XbpPDF class can be used to insert fields into an existing PDF file? I need to be able to open an existing PDF file, insert data into existing data fields and save the file with the newly inserted data. Is XbpPDF capable of this functionality? v/r Erik | |
Edgar Borger | Re: XbpPDF on Fri, 03 Jan 2014 09:03:41 -0200 Hi Erik, XbpPDF is based on QuickPDF lib, and this lib has functions to insert data into an existing PDF, so yes you can do it, but those functions are not covered by XbpPDF class, so you have to code/call them your self, it is not dificult, once you understand the working parameters of QuickPDF, you can use all of it's functions from within the class. Best regards, Edgar Em 02/01/2014 18:07, Erik escreveu: > Does anyone know if the XbpPDF class can be used to insert fields into > an existing PDF file? > > I need to be able to open an existing PDF file, insert data into > existing data fields and save the file with the newly inserted data. > > Is XbpPDF capable of this functionality? > > v/r > > Erik > -- Edgar Borger Softsupply Info. e Cultura Ltda. Rua Alagoas, 48 Sao Paulo, SP 01242-000 Tel : (5511) 3159-1997 Fax : (5511) 3255-5224 --- Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus está ativa. http://www.avast.com | |
Erik | Re: XbpPDF on Mon, 06 Jan 2014 16:59:57 -0500 Edgar, I have sent you a few email messages and completed the online request to buy your product with no response. I am interested in purchasing your XbpPDF library, how do I make that happen? Thanks, Erik On 1/3/2014 6:03 AM, Edgar Borger wrote: > Hi Erik, > > XbpPDF is based on QuickPDF lib, and this lib has functions to insert > data into an existing PDF, so yes you can do it, but those functions are > not covered by XbpPDF class, so you have to code/call them your self, it > is not dificult, once you understand the working parameters of QuickPDF, > you can use all of it's functions from within the class. > > Best regards, > Edgar > > > Em 02/01/2014 18:07, Erik escreveu: >> Does anyone know if the XbpPDF class can be used to insert fields into >> an existing PDF file? >> >> I need to be able to open an existing PDF file, insert data into >> existing data fields and save the file with the newly inserted data. >> >> Is XbpPDF capable of this functionality? >> >> v/r >> >> Erik >> > > | |
Edgar Borger | Re: XbpPDF on Sun, 12 Jan 2014 16:24:20 -0200 Erik, all the emails I sent you came back, do you have another email address ? thanks, Edgar Em 06/01/2014 19:59, Erik escreveu: > Edgar, > > I have sent you a few email messages and completed the online request > to buy your product with no response. > > I am interested in purchasing your XbpPDF library, how do I make that > happen? > > Thanks, > > Erik > > On 1/3/2014 6:03 AM, Edgar Borger wrote: >> Hi Erik, >> >> XbpPDF is based on QuickPDF lib, and this lib has functions to insert >> data into an existing PDF, so yes you can do it, but those functions are >> not covered by XbpPDF class, so you have to code/call them your self, it >> is not dificult, once you understand the working parameters of QuickPDF, >> you can use all of it's functions from within the class. >> >> Best regards, >> Edgar >> >> >> Em 02/01/2014 18:07, Erik escreveu: >>> Does anyone know if the XbpPDF class can be used to insert fields into >>> an existing PDF file? >>> >>> I need to be able to open an existing PDF file, insert data into >>> existing data fields and save the file with the newly inserted data. >>> >>> Is XbpPDF capable of this functionality? >>> >>> v/r >>> >>> Erik >>> >> >> > -- Edgar Borger Softsupply Info. e Cultura Ltda. Rua Alagoas, 48 Sao Paulo, SP 01242-000 Tel : (5511) 3159-1997 Fax : (5511) 3255-5224 --- Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus está ativa. http://www.avast.com | |
Rudolf Reinthaler | Re: XbpPDF on Thu, 09 Jan 2014 16:30:23 +0100 Hello Erik, I do it with QuickpPDF and OT4XB, attached a code snippet how to do this. regards Rudolf WITH OBJECT ( oPdf := TQuickPdf():New() ) nOk := .:LoadFromFile(cPDF) .:SetPageSize("A4") .:SetOrigin(1) .:SetMeasurementUnits(1) nPDFPages := .:PageCount() .:SelectPage(1) .:SelectFont("6.Arial") .:SetLineColor(0,0,1) blue for x := 1 to len(aFields) nTop := FT_TOP nLeft := FT_LEFT nWidth := FT_WIDTH nHeight := FT_HEIGHT nOLeft := 3 nOTop := 0 .:SelectPage(FT_PAGE) xVar := get_xmlvar(FT_NAME) do case case FT_FTYPE = "boxed" .or. FT_FTYPE == "textfield" nNew := .:NewFormField(FT_NAME,1) .:SetFormFieldColor(nNew,0,0,1) .:SetFormFieldValue(nNew,xVar) .:SetFormFieldBorderstyle(nNew,0) .:SetFormFieldBounds(nNew,nLeft+1,nTop+1,nWidth,nHeight) .:SetFormFieldIcon(nNew,0) .:SetFormFieldTextSize(nNew,12) .:SetFormFieldBorderColor(nNew,1,1,1) case FT_FTYPE = "textfieldmulti" nNew := .:NewFormField(FT_NAME,1) .:SetFormFieldColor(nNew,0,0,1) .:SetFormFieldTextFlags(nNew,1,0,0,0,0) .:SetFormFieldValue(nNew,xVar) .:SetFormFieldBorderstyle(nNew,0) .:SetFormFieldBounds(nNew,nLeft+1,nTop+1,nWidth,nHeight) .:SetFormFieldTextSize(nNew,12) .:SetFormFieldIcon(nNew,0) .:SetFormFieldBorderColor(nNew,1,1,1) case FT_FTYPE = "checkbox" xVar := get_xmlvar(mord->xml,FT_NAME,"L",mord->projekt) nNew := .:NewFormField(FT_NAME,3) .:SetFormFieldColor(nNew,0,0,1) .:SetFormFieldValue(nNew,if(xVar,FT_CHECKEDVALUE,"")) .:SetFormFieldBorderstyle(nNew,2) .:SetFormFieldBounds(nNew,nLeft,nTop,5,5) .:SetFormFieldCheckStyle(nNew,3,1) .:SetFormFieldIcon(nNew,0) .:SetFormFieldBorderColor(nNew,1,1,1) endcase next x .:SaveToFile(cPDF) lOk := fexists(cPDF) .:Destroy() END WITH return lOk Am 02.01.2014 21:07, schrieb Erik: > Does anyone know if the XbpPDF class can be used to insert fields into > an existing PDF file? > > I need to be able to open an existing PDF file, insert data into > existing data fields and save the file with the newly inserted data. > > Is XbpPDF capable of this functionality? > > v/r > > Erik > --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com |