I have a PDF form which has several detail areas. I wonder how I proceed correctly when I want to fill out the form.
If I get the field names of the form from pDoc.AcroForm, I get the following names.
Code: Select all
F[0].P2[0].KK[0].maengel[0].wartung_detail[0].Beschreibung[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[0].Mangelart[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[0].cb_add[0] <-- That is a Button in the Form that adds a new row to wartung_detail
F[0].P2[0].KK[0].maengel[0].wartung_detail[0].cb_del[0] <-- That is a Button in the Form that deletes the current row from wartung_detail
F[0].P2[0].KK[0].maengel[0].wartung_detail[1].Beschreibung[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[1].Mangelart[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[1].cb_add[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[1].cb_del[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[2].Beschreibung[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[2].Mangelart[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[2].cb_add[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[2].cb_del[0]
How do I use IPXC_AcroForm::CreateField correctly?
Do I need to add
Code: Select all
F[0].P2[0].KK[0].maengel[0].wartung_detail[3].Beschreibung[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[3].Mangelart[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[3].cb_add[0]
F[0].P2[0].KK[0].maengel[0].wartung_detail[3].cb_del[0]
And how should I know the pRect of the fields?
Any help would be nice.
tia
Alex