Xojo Conferences
XDCMay2019MiamiUSA

[MBS] DynaPDF and buttons in PDF files (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Duplicate classes in MBS plugins
Next thread: [MBS] [ANN] MonkeyBread Software Releases IP in menubar 4.4


Re: [MBS] FolderChangedNotificationMBS   -   Garth Hjelte
  [MBS] DynaPDF and buttons in PDF files   -   Jean-Luc Arnaud
   Re: [MBS] DynaPDF and buttons in PDF files   -   Christian Schmitz
    Re: [MBS] DynaPDF and buttons in PDF files   -   Jean-Luc Arnaud
     Re: [MBS] DynaPDF and buttons in PDF files   -   Jean-Luc Arnaud
   Re: [MBS] DynaPDF and buttons in PDF files   -   Christian Schmitz
   Re: [MBS] DynaPDF and buttons in PDF files   -   Christian Schmitz
    Re: [MBS] DynaPDF and buttons in PDF files   -   Jean-Luc Arnaud
    Re: [MBS] DynaPDF and buttons in PDF files   -   Jean-Luc Arnaud

[MBS] DynaPDF and buttons in PDF files
Date: 29.04.14 14:37 (Tue, 29 Apr 2014 15:37:09 +0200)
From: Jean-Luc Arnaud
Hi all,

Christian told me that with DynaPDF, I could query information about
buttons (and other active areas like URLs) and manage them.
So I read the DynaPDF doc, but I didn't find what I'm looking for, that
is, a way for displaying a PDF file and making buttons, URLs and other
areas react to user's action.

Any help welcome, I'm totally lost in the fog!

Jean-Luc

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF and buttons in PDF files
Date: 29.04.14 19:10 (Tue, 29 Apr 2014 20:10:55 +0200)
From: Christian Schmitz

Am 29.04.2014 um 15:37 schrieb Jean-Luc Arnaud <<email address removed>>:

> Hi all,
>
> Christian told me that with DynaPDF, I could query information about
> buttons (and other active areas like URLs) and manage them.

You can first query all fields with GetFieldCount and GetFieldEx.

Button would have a FieldType of kftButton.

Sincerely
Christian

Re: [MBS] DynaPDF and buttons in PDF files
Date: 30.04.14 09:24 (Wed, 30 Apr 2014 10:24:41 +0200)
From: Jean-Luc Arnaud
Thanks, Christian.

I will take a look at these functions.

Jean-Luc

Le 29/04/2014 20:10, Christian Schmitz a écrit :
> Am 29.04.2014 um 15:37 schrieb Jean-Luc Arnaud <<email address removed>>:
>
>> Hi all,
>>
>> Christian told me that with DynaPDF, I could query information about
>> buttons (and other active areas like URLs) and manage them.
> You can first query all fields with GetFieldCount and GetFieldEx.
>
> Button would have a FieldType of kftButton.
>
> Sincerely
> Christian
>

-

Re: [MBS] DynaPDF and buttons in PDF files
Date: 06.05.14 13:03 (Tue, 06 May 2014 14:03:33 +0200)
From: Jean-Luc Arnaud
Dear all,

Using DynaPDFAnnotationExMBS and GetAnnotEx (found in a DynaPDF
example), I'm able to find all objects of type 7 (invisible rectangles)
which are not listed using DynaPDFFieldExMBS and GetFieldEx.

Nevertheless, when these links point to a file instead of a page, I
can't (actually, I don't know how to !) get the file reference.
How could I get this info, using either function of the DynaPDF (or
other MBS plugin)?

In addition, is there somewhere in the DynaPDF doc a listing of all
DynaPDFAnnotationExMBS.Type?

Thanks in advance for any help

Jean-Luc

Le 30/04/2014 10:24, Jean-Luc Arnaud a écrit :
> Thanks, Christian.
>
> I will take a look at these functions.
>
> Jean-Luc
>
> Le 29/04/2014 20:10, Christian Schmitz a écrit :
>> Am 29.04.2014 um 15:37 schrieb Jean-Luc Arnaud <<email address removed>>:
>>
>>> Hi all,
>>>
>>> Christian told me that with DynaPDF, I could query information about
>>> buttons (and other active areas like URLs) and manage them.
>> You can first query all fields with GetFieldCount and GetFieldEx.
>>
>> Button would have a FieldType of kftButton.
>>
>> Sincerely
>> Christian
>>

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF and buttons in PDF files
Date: 06.05.14 14:01 (Tue, 6 May 2014 15:01:54 +0200)
From: Christian Schmitz

Am 06.05.2014 um 14:47 schrieb Jean-Luc Arnaud <<email address removed>>:

> No, It does not work. This invisible rectangle appears with a
> KatPageLink type, whereas it contains a link to a file. Shouldn't it not
> be of type KatFileLink? Of course, DestFile property is empty, and
> DestPage is 0. Is this an issue in PDF creation, or in DynaPDF (or both?).
> In Acrobat Reader, this link works well.

Please send off list example pdf and project files.

Sincerely
Christian

Re: [MBS] DynaPDF and buttons in PDF files
Date: 06.05.14 13:26 (Tue, 6 May 2014 14:26:57 +0200)
From: Christian Schmitz

Am 06.05.2014 um 14:03 schrieb Jean-Luc Arnaud <<email address removed>>:

> Dear all,
>
> Using DynaPDFAnnotationExMBS and GetAnnotEx (found in a DynaPDF
> example), I'm able to find all objects of type 7 (invisible rectangles)
> which are not listed using DynaPDFFieldExMBS and GetFieldEx.

Okay.

> Nevertheless, when these links point to a file instead of a page, I
> can't (actually, I don't know how to !) get the file reference.
> How could I get this info, using either function of the DynaPDF (or
> other MBS plugin)?

Well, DestFile property in DynaPDFAnnotationExMBS should have that.
Is it not working?

> In addition, is there somewhere in the DynaPDF doc a listing of all
> DynaPDFAnnotationExMBS.Type?

Here is the list:

Constant Value Description
kat3D &h00000013 PDF 1.6
katCaret 0
katCircle 1
katFileAttach &h00000015 PDF 1.3
katFileLink 2
katFreeText 3
katHighlight 4
katInk 5
katLine 6
katMovieAnnot &h00000019 PDF 1.2
katPageLink 7
katPolygon 8
katPolyLine 9
katPopUp &h0000000A
katPrinterMark &h0000001A PDF 1.4
katProjection &h0000001B PDF 1.7 Extension Level 3
katRedact &h00000016 PDF 1.7
katRichMedia &h0000001C PDF 1.7 Extension Level 3
katScreen &h0000001D PDF 1.5
katSoundAnnot &h00000014 PDF 1.2
katSquare &h0000000B
katSquiggly &h0000000C Highlight annotation
katStamp &h0000000D
katStrikeOut &h0000000E Highlight annotation
katText &h0000000F Also used as container to store the State Model
katTrapNet &h0000001E PDF 1.3
katUnderline &h00000010 Highlight annotation
katUnknown &h00000018 Unknown annotation type
katWatermark &h00000017 PDF 1.6
katWebLink &h00000011 A Link annotation with an associated URI action
katWidget &h00000012 Form Fields are handled separately

Sincerely
Christian

Re: [MBS] DynaPDF and buttons in PDF files
Date: 06.05.14 13:53 (Tue, 06 May 2014 14:53:39 +0200)
From: Jean-Luc Arnaud
Le 06/05/2014 14:26, Christian Schmitz a écrit :
>> Nevertheless, when these links point to a file instead of a page, I
>> can't (actually, I don't know how to !) get the file reference.
>> How could I get this info, using either function of the DynaPDF (or
>> other MBS plugin)?
> Well, DestFile property in DynaPDFAnnotationExMBS should have that.
> Is it not working?
>

Additional information:
The file is in PDF version 1.7, Adobe extension level 3 (Acrobat 9.x),
converted using Adobe PDF library 10.0.1.

Hope this helps understanding what's happening.

Jean-Luc

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] DynaPDF and buttons in PDF files
Date: 06.05.14 13:47 (Tue, 06 May 2014 14:47:20 +0200)
From: Jean-Luc Arnaud
Thanks for the list, Christian.

>> Nevertheless, when these links point to a file instead of a page, I
>> can't (actually, I don't know how to !) get the file reference.
>> How could I get this info, using either function of the DynaPDF (or
>> other MBS plugin)?
> Well, DestFile property in DynaPDFAnnotationExMBS should have that.
> Is it not working?
>
No, It does not work. This invisible rectangle appears with a
KatPageLink type, whereas it contains a link to a file. Shouldn't it not
be of type KatFileLink? Of course, DestFile property is empty, and
DestPage is 0. Is this an issue in PDF creation, or in DynaPDF (or both?).
In Acrobat Reader, this link works well.

Jean-Luc

Le 06/05/2014 14:26, Christian Schmitz a écrit :
> Am 06.05.2014 um 14:03 schrieb Jean-Luc Arnaud <<email address removed>>:
>
>> Dear all,
>>
>> Using DynaPDFAnnotationExMBS and GetAnnotEx (found in a DynaPDF
>> example), I'm able to find all objects of type 7 (invisible rectangles)
>> which are not listed using DynaPDFFieldExMBS and GetFieldEx.
> Okay.
>
>> Nevertheless, when these links point to a file instead of a page, I
>> can't (actually, I don't know how to !) get the file reference.
>> How could I get this info, using either function of the DynaPDF (or
>> other MBS plugin)?
> Well, DestFile property in DynaPDFAnnotationExMBS should have that.
> Is it not working?
>
>> In addition, is there somewhere in the DynaPDF doc a listing of all
>> DynaPDFAnnotationExMBS.Type?

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info