Ignore:
Timestamp:
Sep 21, 2018, 11:11:30 PM (3 years ago)
Author:
Gregg Young
Message:

Initial attempt to get Choice fields working in PDF fill in forms. It is disabled (doesn't work either).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/plugins/lupoppler/lupichoice.idl

    r367 r649  
    33
    44#include <luichoice.idl>
     5#include <lupifield.idl>
     6
     7interface FormWidgetChoice; // declared in poppler/Form.h
    58
    69/**
     
    912 * This interface exposes the FormWidgetChoice poppler class.
    1013 */
    11 interface LuPopplerInputChoice : LuInputChoice
     14interface LuPopplerInputChoice : LuPopplerInputField, LuInputChoice
    1215{
     16     void init_widgetChoice( inout somInitCtrl ctrl, in LuPopplerDocument aDoc,
     17                            in long aPagenum, in Page aPage,
     18                            in FormWidgetChoice aFormWidgetChoice );
    1319
    1420#ifdef __SOMIDL__
     
    1622    implementation
    1723    {
     24        releaseorder: init_widgetChoice;
     25
     26        init_widgetChoice: init;
     27        somDestruct: override;
     28
    1829        getCount: override;
    1930        getChoice: override;
     
    3546        boolean mIsMultiSelectable;
    3647        boolean mIsSpellCheckable;
     48
     49        FormWidgetChoice widget;
     50
     51        passthru C_h_before =  ""
     52            ""
     53            "#include <poppler/Form.h>"
     54            "";
     55
     56        passthru C_xh_before =  ""
     57            ""
     58            "#include <poppler/Form.h>"
     59            "";
     60
    3761    };
    3862
Note: See TracChangeset for help on using the changeset viewer.