Just noting that the "right" way to enter an RFE these days is via SDL XPP Ideas.
That allows others to vote and comment on the RFE.
BTW, if you were talking about doing this with a psfmtdrv workflow (versus divpdf) and you can figure out what would be the "PostScript code" (i.e. a form of a pdfmark) needed to define a "button" in the resulting PDF, then you might be able to use the GEN type of :pdfs/:pdfe macros to do it.
That GEN type pretty much lets you spit out whatever PS you want for a pdfmark.
But if you're talking about a divpdf workflow, then it would require an XPP development effort.
Jonathan,
I looked it up in the pdfmark reference manual of Adobe (version 9.0) and did not find anything to create a button.
I guess that means this is not possible through PostScript.
Hence my suggestion to go through like PDFlib = the Direct PDF RFE suggestion
Hi Bart,
Well, I'm still thinking that it probably is possible through PostScript - but for sure it would not be for the faint of heart.
I think the applicable sections in the pdfmark Reference manual are:
Basic Features > Annotations (ANN) > table of PDF annotation types > Widget annotation (and associated key-value pairs)
Examples > Forms examples (and some of the examples include "Check Box" and "Radio" types of widgets which are types of "buttons"
Not much detail at all on our subject is given in the pdfmark Reference manual but at one point it says (bold added by me): "One useful type of annotation is the widget annotation. Widgets are used by PDF interactive forms to represent the appearance of fields and to manage user interactions. See the PDF Reference for detailed information on using interactive forms."
And I think the applicable sections in the PDF 1.7 Reference manual (PDF 32000-1:2008) are:
12 Interactive Features > 12.5 Annotations > 12.5.6 Annotation Types > 12.5.6.19 Widget Annotations
12 Interactive Features > 12.7 Interactive Forms (whole chapter)
12.7.3 Field Dictionaries
12.7.4 Field Types > 12.7.4.2 Button Fields > 12.7.4.2.2 Pushbuttons
And even after that the "details" of the PostScript code to create a "simple" button are completely sketchy (to me). But these are the areas in the Adobe docs that seem to somewhat "match" with how things are described in the PDFlib documentation where it talks about creating "buttons".
Hi Bart,
Well, I'm still thinking that it probably is possible through PostScript - but for sure it would not be for the faint of heart.
I think the applicable sections in the pdfmark Reference manual are:
Basic Features > Annotations (ANN) > table of PDF annotation types > Widget annotation (and associated key-value pairs)
Examples > Forms examples (and some of the examples include "Check Box" and "Radio" types of widgets which are types of "buttons"
Not much detail at all on our subject is given in the pdfmark Reference manual but at one point it says (bold added by me): "One useful type of annotation is the widget annotation. Widgets are used by PDF interactive forms to represent the appearance of fields and to manage user interactions. See the PDF Reference for detailed information on using interactive forms."
And I think the applicable sections in the PDF 1.7 Reference manual (PDF 32000-1:2008) are:
12 Interactive Features > 12.5 Annotations > 12.5.6 Annotation Types > 12.5.6.19 Widget Annotations
12 Interactive Features > 12.7 Interactive Forms (whole chapter)
12.7.3 Field Dictionaries
12.7.4 Field Types > 12.7.4.2 Button Fields > 12.7.4.2.2 Pushbuttons
And even after that the "details" of the PostScript code to create a "simple" button are completely sketchy (to me). But these are the areas in the Adobe docs that seem to somewhat "match" with how things are described in the PDFlib documentation where it talks about creating "buttons".