Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.OpenTag
Opens the specified tag so that contents can be written into it.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.OpenTag"; PDF; Tag { ; Lang; AltText; Expansion; BoxX1; BoxY1; BoxX2; BoxY2 } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Tag | The tag name to open. Possible tags: Art, Artifact, Annot, BibEntry, BlockQuote, Caption, Code, Div, Document, Figure, Form, Formula, H, H1, H2, H3, H4, H5, H6, Index, Link, List, ListElem, ListText, Note, P, Part, Quote, Reference, Section, Span, Table, TableDataCell, TableHeader, TableRow, TOC, TOCEntry. |
"p" | |
Lang | RFC 3066 laguage identifier. | "en-US" | Optional |
AltText | Alternate text. | Optional | |
Expansion | Expansion of abbrevations or acronyms. | Optional | |
BoxX1 | The top left x coordiante for the tag. | Optional | |
BoxY1 | The top top y coordiante for the tag. | Optional | |
BoxX2 | The top right x coordiante for the tag. | Optional | |
BoxY2 | The top bottom y coordiante for the tag. | Optional |
Result
Returns OK or error.
Description
Opens the specified tag so that contents can be written into it.When the corresponding contents was drawn or output the tag must be closed with DynaPDF.CloseTag. The supported tags have the same meaning as the corresponding HTML tags.
Special tags:
Annot | An annotation must be inserted to finish the tag! |
BibEntry | Bibliography entry |
Form | A form field must be inserted to finish the tag! |
Link | A link annotation must be inserted to finish the tag (using DynaPDF.FileLink, DynaPDF.PageLink, or DynaPDF.WebLink)! |
List | List |
ListElem | List element within a List |
ListText | List Text within a List Element |
See also OpenTag function in DynaPDF manual.
Examples
Put a P tag around some text:
Set Variable [ $r ; Value: MBS("DynaPDF.OpenTag"; $pdf; "p") ]
Set Variable [ $r ; Value: MBS("DynaPDF.WriteText"; $pdf; 100; $x; "Some black text") ]
Set Variable [ $r ; Value: MBS("DynaPDF.CloseTag"; $pdf) ]
See also
- DynaPDF.CloseTag
- DynaPDF.FileLink
- DynaPDF.New
- DynaPDF.OpenTagEx
- DynaPDF.PageLink
- DynaPDF.WebLink
- DynaPDF.WriteText
Release notes
- Version 13.3
- Version 13.2
- Added DynaPDF.OpenTag and DynaPDF.CloseTag functions to add tags for a tagged PDFs.
Example Databases
Blog Entries
- New in MBS FileMaker Plugin 13.3
- New in MBS FileMaker Plugin 13.2
- MBS FileMaker Plugin, version 13.2pr1
This function checks for a license.
Created 10th March 2023, last changed 10th March 2023