THPDFButtonAction Type

Selecteert de /A-actie die aan een pushbutton-formulierwidget is gekoppeld wanneer op de knop wordt geklikt (PDF 1.7 ISO 32000-1 12.6.4 / 12.7.5)

Declaratie

THPDFButtonAction= (baNone, // Plain pushbutton, no /A entry
  baSubmitURL, // /S /SubmitForm /F << /FS /URL /F (url) >> (PDF 1.2)
  baResetForm, // /S /ResetForm (PDF 1.2)
  baJavaScript, // /S /JavaScript /JS (code) (PDF 1.3)
  baURI, // /S /URI /URI (url) (PDF 1.1)
  baNamed, // v2.119.18 /S /Named /N <param> (PDF 1.1 §12.6.4.11)
  // Built-in viewer commands: NextPage / PrevPage /
  // FirstPage / LastPage. Acrobat extensions: Print,
  // SaveAs, GoBack, GoForward, GoToPage. PDF/A allows
  // the four standard nav names per §6.6.1
  baHide, // v2.119.18 /S /Hide /T <field-name> /H true
  // (PDF 1.2 §12.6.4.10). Hides the named widget(s);
  // Param is the target field name. Spec /H default
  // is true so we emit it explicitly to make the
  // intent self-documenting
  baShow, // v2.119.20 /S /Hide /T <field-name> /H false
  // Mirror of baHide that re-shows the widget
  // PDF/A + PDF/X allowed (widget visibility only)
  baImportData); // v2.119.20 /S /ImportData /F (filename) (PDF 1.2

Eenheid

HPDFDoc

Waarden

WaardeBetekenis
baNoneGewone pushbutton zonder /A-item
baSubmitURL/SubmitForm-actie; Param is de verzend-URL (PDF 1.2)
baResetForm/ResetForm-actie die de formuliervelden leegmaakt (PDF 1.2)
baJavaScript/JavaScript-actie; Param is de scripttekst (PDF 1.3)
baURI/URI-actie die naar de URL in Param springt (PDF 1.1)
baNamed/Named-actie; Param is een ingebouwd viewercommando (NextPage, PrevPage, FirstPage, LastPage) of een Acrobat-uitbreiding (Print, SaveAs, GoBack, GoForward, GoToPage); PDF/A accepteert de vier standaardnavigatienamen (PDF 1.1 §12.6.4.11)
baHide/Hide-actie met /H true; Param is de veldnaam waarvan de widget(s) worden verborgen (PDF 1.2 §12.6.4.10)
baShow/Hide-actie met /H false die de in Param genoemde widget opnieuw toont; toegestaan in PDF/A en PDF/X (PDF 1.2)
baImportData/ImportData-actie; Param is het FDF-bestand dat in het formulier wordt geladen; verboden in PDF/A- en PDF/X-documenten (PDF 1.2 §12.7.5.4)

Gebruiksopmerkingen

Gerelateerde API's