Problems with Fields
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
Problems with Fields
I'm using 'Amyuni PDF Suite (Converter 2.10i-6 - Creator 1.50i)' and I'm having problems with Fields generated in Adobe Acrobat 5.
Find here a link to a sample PDF.
http://www.hygelac.org/download/0000.zip
The problem is that when I 'Open' this file in the Creative Viewer, I can't see any of the fields or the data in them. The Background and Foreground colours have all been set using adobe but your control seems to be ignoring these?
Any help would be welcomed.
Find here a link to a sample PDF.
http://www.hygelac.org/download/0000.zip
The problem is that when I 'Open' this file in the Creative Viewer, I can't see any of the fields or the data in them. The Background and Foreground colours have all been set using adobe but your control seems to be ignoring these?
Any help would be welcomed.
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
Just to update you further, using the below code I'm able to add and view data in Field objects. However, this isn't an acceptable solution. I need a piece of software that will display a PDF as is displayed in Acrobat reader.
Acrobat reader fields in the sample PDF above are set with border colour, width and background colour already, yet the viewer is not correctly displaying this information as a default.
Acrobat reader fields in the sample PDF above are set with border colour, width and background colour already, yet the viewer is not correctly displaying this information as a default.
With Me.PDF1
'Change report state
.ReportState = acReportStateDesign
With .GetObjectByName("question:1")
.Attribute("Value") = "SOME DATA"
.Attribute("BackColor") = &HFFFFFF
.Attribute("TextColor") = &H0
.Attribute("BorderColor") = &H0
.Attribute("BorderWidth") = 1
.Attribute("Visible") = True
.Attribute("Editable") = False
End With
'Change report state
.ReportState = acReportStateRun
End With
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
Hi Joan sorry, I seem have confused things. The problem is this:
1. Generate a PDF with Adobe Distiller 5.0
2. Add some Field Objects using Adobe Acrobat 5.0
3. The the Border, and Background Colours of these Field Objects using Adobe Acrobat 5.0
4. Save the PDF.
5. Open the PDF using the Amyuni ActiveX Control
Problem: The properties of the Field object which where set using acrobat using Acrobat are not being displayed in the Amyuni viewer.
This problem is demonstrated by the sample PDF, if you open it with Amyuni you can't see the field objects, if you open it with Acrobat you can see the field objects
However, in the above code sample, if I manually reset the field's Border and Background colour properties in code then it now views ok in the Amyuni control.
1. Generate a PDF with Adobe Distiller 5.0
2. Add some Field Objects using Adobe Acrobat 5.0
3. The the Border, and Background Colours of these Field Objects using Adobe Acrobat 5.0
4. Save the PDF.
5. Open the PDF using the Amyuni ActiveX Control
Problem: The properties of the Field object which where set using acrobat using Acrobat are not being displayed in the Amyuni viewer.
This problem is demonstrated by the sample PDF, if you open it with Amyuni you can't see the field objects, if you open it with Acrobat you can see the field objects
However, in the above code sample, if I manually reset the field's Border and Background colour properties in code then it now views ok in the Amyuni control.
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
-
- Posts: 7
- Joined: Wed Nov 03 2004
- Location: Croydon, Uk
Hi there Joan, I was wondering if you had much success with your follow-up?
It's now mid-february and though the problem is not urgent a response is probably going to determine the next phase of development on our product and whether we will continue to integrate with anything other than the Amyuni drivers.
Any extra information would be appreciated.
Regards
David Jarrett
It's now mid-february and though the problem is not urgent a response is probably going to determine the next phase of development on our product and whether we will continue to integrate with anything other than the Amyuni drivers.
Any extra information would be appreciated.
Regards
David Jarrett