// Created by Microsoft (R) C/C++ Compiler Version 14.00.50727.42 (6e51b314).
//
// d:\skola\bc\semestralka\inks\inks\release\pdfcreatorpilot2.tlh
//
// C++ source equivalent of Win32 type library PDFCreatorPilot2.DLL
// compiler-generated file created 08/02/06 at 01:18:25 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

namespace PDFCreatorPilot2 {

//
// Forward references and typedefs
//

struct __declspec(uuid("99371a73-eada-4ff6-a70d-a3f24f1f2dd6"))
/* LIBID */ __PDFCreatorPilot2;
struct __declspec(uuid("a7e3ad10-f507-4ac1-8387-17061a66e007"))
/* dual interface */ IpiPDFDocument2;
struct /* coclass */ piPDFDocument;
enum TxCompressionType;
enum TxPageLayout;
enum TxPageMode;
enum TxAnnotationFlag;
enum TxPDFPageOrientation;
enum TxPDFVersion;
enum TxCCITT;
enum TxPDFPageType;
enum TxPDFLineJoin;
enum TxPDFLineCap;
enum TxCJKFont;
enum TxPDFSubmitType;
enum TxHorJust;
enum TxVertJust;
enum TxImageCompressionType;
enum TxPDFPageRotate;
enum TxPageOrientation;
enum TxFontCharset;
enum TxTextRenderingMode;
enum TxTextAnnotationIcon;
enum TxPDFPageSize;
enum TxAnnotationType;
enum TxCryptoKeyLength;
enum TxFontEmbeddingType;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(IpiPDFDocument2, __uuidof(IpiPDFDocument2));

//
// Type library items
//

struct __declspec(uuid("f329780b-399e-4739-bda1-6d4467930af9"))
piPDFDocument;
    // [ default ] interface IpiPDFDocument2

enum __declspec(uuid("4b6f5f61-47c3-4ecc-b173-b6613c31788a"))
TxCompressionType
{
    ctNone = 0,
    ctFlate = 1
};

enum __declspec(uuid("da8146b3-90f3-48cb-af22-a8902b408c64"))
TxPageLayout
{
    plSinglePage = 0,
    plOneColumn = 1,
    plTwoColumnLeft = 2,
    plTwoColumnRight = 3
};

enum __declspec(uuid("2cbb4fe8-54dd-46f4-861d-fb60ac2feed2"))
TxPageMode
{
    pmUseNone = 0,
    pmUseOutlines = 1,
    pmUseThumbs = 2,
    pmFullScreen = 3
};

enum __declspec(uuid("92c3c7c7-08eb-41d4-85ee-a0dee4d1a52e"))
TxAnnotationFlag
{
    afInvisible = 0,
    afHidden = 1,
    afPrint = 2,
    afNoZoom = 3,
    afNoRotate = 4,
    afNoView = 5,
    afReadOnly = 6
};

enum __declspec(uuid("7d2c0799-30e0-45c7-b8cd-28fd22595407"))
TxPDFPageOrientation
{
    poPagePortrait = 0,
    poPageLandscape = 1
};

enum __declspec(uuid("5a30f336-d4b7-45b2-9e07-6eb4de64871a"))
TxPDFVersion
{
    v13 = 0,
    v14 = 1
};

enum __declspec(uuid("6fb06e56-fc82-484d-a87d-a288e7b21e82"))
TxCCITT
{
    CCITT31D = 0,
    CCITT32D = 1,
    CCITT42D = 2
};

enum __declspec(uuid("2c99a7b4-cd9f-40c7-8a6e-88b2efba2b30"))
TxPDFPageType
{
    ptPage = 0,
    ptXForm = 1,
    ptAnnotation = 2
};

enum __declspec(uuid("74f94aaa-f712-4b23-b8b3-7a8b0dd8fea9"))
TxPDFLineJoin
{
    ljMiter = 0,
    ljRound = 1,
    ljBevel = 2
};

enum __declspec(uuid("53ba8ece-1e0d-4a4a-a189-bdd62222e9a9"))
TxPDFLineCap
{
    lcButtEnd = 0,
    lcRound = 1,
    lcProjectingSquare = 2
};

enum __declspec(uuid("b7d8f7db-e9b2-4895-9b64-2d81eb424592"))
TxCJKFont
{
    cjkChinaTrad = 0,
    cjkChinaSimpl = 1,
    cjkJapan = 2,
    cjkKorean = 3
};

enum __declspec(uuid("0a6baf81-fc6f-49d0-a243-1d299face5a8"))
TxPDFSubmitType
{
    stGet = 0,
    stPost = 1,
    stFDF = 2
};

enum __declspec(uuid("2dc0aee6-509d-48c4-a201-80d656e021bd"))
TxHorJust
{
    hjLeft = 0,
    hjCenter = 1,
    hjRight = 2
};

enum __declspec(uuid("ec4bf16f-8554-4a1d-a00e-6807ebc9417d"))
TxVertJust
{
    vjUp = 0,
    vjCenter = 1,
    vjDown = 2
};

enum __declspec(uuid("b4776b5e-4dfd-44d1-91cf-ab8e0853586b"))
TxImageCompressionType
{
    itcFlate = 0,
    itcJpeg = 1,
    itcCCITT3 = 2,
    itcCCITT32d = 3,
    itcCCITT4 = 4
};

enum __declspec(uuid("17acb1db-33e3-48d5-96f9-5041676f5890"))
TxPDFPageRotate
{
    pr0 = 0,
    pr90 = 1,
    pr180 = 2,
    pr270 = 3
};

enum __declspec(uuid("133dbe4c-0bfe-40bf-8eea-17e6ef8761b7"))
TxPageOrientation
{
    poPortrait = 0,
    poLandscape = 1
};

enum __declspec(uuid("104dc828-d3f5-4efb-8c1e-c92175e7a27a"))
TxFontCharset
{
    charsetANSI_CHARSET = 0,
    charsetEASTEUROPE_CHARSET = 238,
    charsetRUSSIAN_CHARSET = 204,
    charsetGREEK_CHARSET = 161,
    charsetTURKISH_CHARSET = 162,
    charsetBALTIC_CHARSET = 186,
    charsetSHIFTJIS_CHARSET = 128,
    charsetHANGEUL_CHARSET = 129,
    charsetGB2312_CHARSET = 134,
    charsetCHINESEBIG5_CHARSET = 136,
    charsetDEFAULT_CHARSET = 1,
    charsetSYMBOL_CHARSET = 2,
    charsetMAC_CHARSET = 77,
    charsetJOHAB_CHARSET = 130,
    charsetVIETNAMESE_CHARSET = 163,
    charsetHEBREW_CHARSET = 177,
    charsetARABIC_CHARSET = 178,
    charsetTHAI_CHARSET = 222,
    charsetOEM_CHARSET = 255
};

enum __declspec(uuid("9acb23fa-e6a4-4c9d-9ed5-cff37fb59065"))
TxTextRenderingMode
{
    trmFillText = 0,
    trmStrokeText = 1,
    trmFillAndStroke = 2,
    trmNeitherFillNorStoke = 3,
    trmFillTextAndAddPathForClipping = 4,
    trmStrokeTextAndAddPathForClipping = 5,
    trmFillStrokeAndAddPathForClipping = 6,
    trmAddTextToPathForClipping = 7
};

enum __declspec(uuid("00942bf3-4c2b-4503-9f7a-2f6477db3612"))
TxTextAnnotationIcon
{
    taiComment = 0,
    taiKey = 1,
    taiNote = 2,
    taiHelp = 3,
    taiNewParagraph = 4,
    taiParagraph = 5,
    taiInsert = 6
};

enum __declspec(uuid("39af37d3-d053-4720-bfd5-4c6e0d72ebf4"))
TxPDFPageSize
{
    psUserDefined = 0,
    psLetter = 1,
    psA4 = 2,
    psA3 = 3,
    psLegal = 4,
    psB5 = 5,
    psC5 = 6,
    ps8x11 = 7,
    psB4 = 8,
    psA5 = 9,
    psFolio = 10,
    psExecutive = 11,
    psEnvB4 = 12,
    psEnvB5 = 13,
    psEnvC6 = 14,
    psEnvDL = 15,
    psEnvMonarch = 16,
    psEnv9 = 17,
    psEnv10 = 18,
    psEnv11 = 19
};

enum __declspec(uuid("6b5174f9-cad3-489e-93a5-95227df07c0a"))
TxAnnotationType
{
    catActionAnnotation = 0,
    catTextAnnotation = 1,
    catCheckBox = 2,
    catComboBox = 3,
    catRadioButton = 4,
    catEdit = 5,
    catButton = 6
};

enum __declspec(uuid("97cdb195-e6b9-4d73-9f32-0e4494db11bf"))
TxCryptoKeyLength
{
    ckl40 = 0,
    ckl128 = 1
};

enum __declspec(uuid("eb2fe503-0765-4089-9faf-a6a5c6106336"))
TxFontEmbeddingType
{
    fetFullFont = 0,
    fetFullCharset = 1,
    fetUsedGlyphsOnly = 2,
    fetNotEmbed = 3
};

struct __declspec(uuid("a7e3ad10-f507-4ac1-8387-17061a66e007"))
IpiPDFDocument2 : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCurrentAnnotationType))
    enum TxAnnotationType CurrentAnnotationType;
    __declspec(property(get=GetAborted))
    VARIANT_BOOL Aborted;
    __declspec(property(get=GetAutoCreateURL,put=PutAutoCreateURL))
    VARIANT_BOOL AutoCreateURL;
    __declspec(property(get=GetAutoLaunch,put=PutAutoLaunch))
    VARIANT_BOOL AutoLaunch;
    __declspec(property(get=GetHDC))
    unsigned long HDC;
    __declspec(property(get=GetCompression,put=PutCompression))
    enum TxCompressionType Compression;
    __declspec(property(get=GetPDFANNOTATION_Caption,put=PutPDFANNOTATION_Caption))
    _bstr_t PDFANNOTATION_Caption;
    __declspec(property(get=GetPDFANNOTATION_OnKeyPress,put=PutPDFANNOTATION_OnKeyPress))
    long PDFANNOTATION_OnKeyPress;
    __declspec(property(get=GetFileName,put=PutFileName))
    _bstr_t FileName;
    __declspec(property(get=GetJPEGQuality,put=PutJPEGQuality))
    long JPEGQuality;
    __declspec(property(get=GetNonEmbeddedFonts,put=PutNonEmbeddedFonts))
    _bstr_t NonEmbeddedFonts;
    __declspec(property(get=GetOnePass,put=PutOnePass))
    VARIANT_BOOL OnePass;
    __declspec(property(get=GetOpenDocumentAction,put=PutOpenDocumentAction))
    long OpenDocumentAction;
    __declspec(property(get=GetSwitchedToWatermark,put=PutSwitchedToWatermark))
    VARIANT_BOOL SwitchedToWatermark;
    __declspec(property(get=GetDocumentInfo_Creator,put=PutDocumentInfo_Creator))
    _bstr_t DocumentInfo_Creator;
    __declspec(property(get=GetDocumentInfo_Keywords,put=PutDocumentInfo_Keywords))
    _bstr_t DocumentInfo_Keywords;
    __declspec(property(get=GetDocumentInfo_Subject,put=PutDocumentInfo_Subject))
    _bstr_t DocumentInfo_Subject;
    __declspec(property(get=GetDocumentInfo_Title,put=PutDocumentInfo_Title))
    _bstr_t DocumentInfo_Title;
    __declspec(property(get=GetDocumentInfo_Author,put=PutDocumentInfo_Author))
    _bstr_t DocumentInfo_Author;
    __declspec(property(get=GetVersion,put=PutVersion))
    enum TxPDFVersion Version;
    __declspec(property(get=GetPDFANNOTATION_OnBeforeFormatting,put=PutPDFANNOTATION_OnBeforeFormatting))
    long PDFANNOTATION_OnBeforeFormatting;
    __declspec(property(get=GetOwnerPassword,put=PutOwnerPassword))
    _bstr_t OwnerPassword;
    __declspec(property(get=GetPDFANNOTATION_OnChange,put=PutPDFANNOTATION_OnChange))
    long PDFANNOTATION_OnChange;
    __declspec(property(get=GetPDFANNOTATION_OnOtherControlChanged,put=PutPDFANNOTATION_OnOtherControlChanged))
    long PDFANNOTATION_OnOtherControlChanged;
    __declspec(property(get=GetPageCount))
    long PageCount;
    __declspec(property(get=GetPageHeight))
    long PageHeight;
    __declspec(property(get=GetPageLayout,put=PutPageLayout))
    enum TxPageLayout PageLayout;
    __declspec(property(get=GetPageMode,put=PutPageMode))
    enum TxPageMode PageMode;
    __declspec(property(get=GetPageWidth))
    long PageWidth;
    __declspec(property(get=GetPageNumber))
    long PageNumber;
    __declspec(property(get=GetPrinting))
    VARIANT_BOOL Printing;
    __declspec(property(get=GetProtectionEnabled,put=PutProtectionEnabled))
    VARIANT_BOOL ProtectionEnabled;
    __declspec(property(get=GetProtectionOptions_coPrint,put=PutProtectionOptions_coPrint))
    VARIANT_BOOL ProtectionOptions_coPrint;
    __declspec(property(get=GetProtectionOptions_coModifyStructure,put=PutProtectionOptions_coModifyStructure))
    VARIANT_BOOL ProtectionOptions_coModifyStructure;
    __declspec(property(get=GetProtectionOptions_coModifyAnnotation,put=PutProtectionOptions_coModifyAnnotation))
    VARIANT_BOOL ProtectionOptions_coModifyAnnotation;
    __declspec(property(get=GetProtectionOptions_coCopyInformation,put=PutProtectionOptions_coCopyInformation))
    VARIANT_BOOL ProtectionOptions_coCopyInformation;
    __declspec(property(get=GetResolution,put=PutResolution))
    long Resolution;
    __declspec(property(get=GetUserPassword,put=PutUserPassword))
    _bstr_t UserPassword;
    __declspec(property(get=GetViewerPreferences_vpHideToolBar,put=PutViewerPreferences_vpHideToolBar))
    VARIANT_BOOL ViewerPreferences_vpHideToolBar;
    __declspec(property(get=GetViewerPreferences_vpHideMenuBar,put=PutViewerPreferences_vpHideMenuBar))
    VARIANT_BOOL ViewerPreferences_vpHideMenuBar;
    __declspec(property(get=GetViewerPreferences_vpHideWindowUI,put=PutViewerPreferences_vpHideWindowUI))
    VARIANT_BOOL ViewerPreferences_vpHideWindowUI;
    __declspec(property(get=GetViewerPreferences_vpFitWindow,put=PutViewerPreferences_vpFitWindow))
    VARIANT_BOOL ViewerPreferences_vpFitWindow;
    __declspec(property(get=GetViewerPreferences_vpCenterWindow,put=PutViewerPreferences_vpCenterWindow))
    VARIANT_BOOL ViewerPreferences_vpCenterWindow;
    __declspec(property(get=GetPDFANNOTATION_Checked,put=PutPDFANNOTATION_Checked))
    VARIANT_BOOL PDFANNOTATION_Checked;
    __declspec(property(get=GetPDFANNOTATION_Items,put=PutPDFANNOTATION_Items))
    _bstr_t PDFANNOTATION_Items;
    __declspec(property(get=GetPDFANNOTATION_EditEnabled,put=PutPDFANNOTATION_EditEnabled))
    VARIANT_BOOL PDFANNOTATION_EditEnabled;
    __declspec(property(get=GetPDFANNOTATION_Text,put=PutPDFANNOTATION_Text))
    _bstr_t PDFANNOTATION_Text;
    __declspec(property(get=GetPDFANNOTATION_Multiline,put=PutPDFANNOTATION_Multiline))
    VARIANT_BOOL PDFANNOTATION_Multiline;
    __declspec(property(get=GetPDFANNOTATION_IsPassword,put=PutPDFANNOTATION_IsPassword))
    VARIANT_BOOL PDFANNOTATION_IsPassword;
    __declspec(property(get=GetPDFANNOTATION_ShowBorder,put=PutPDFANNOTATION_ShowBorder))
    VARIANT_BOOL PDFANNOTATION_ShowBorder;
    __declspec(property(get=GetPDFANNOTATION_MaxLength,put=PutPDFANNOTATION_MaxLength))
    long PDFANNOTATION_MaxLength;
    __declspec(property(get=GetPDFANNOTATION_Justification,put=PutPDFANNOTATION_Justification))
    enum TxHorJust PDFANNOTATION_Justification;
    __declspec(property(get=GetPDFANNOTATION_ExportValue,put=PutPDFANNOTATION_ExportValue))
    _bstr_t PDFANNOTATION_ExportValue;
    __declspec(property(get=GetPDFANNOTATION_Action,put=PutPDFANNOTATION_Action))
    long PDFANNOTATION_Action;
    __declspec(property(get=GetPDFANNOTATION_TextAnnotationIcon,put=PutPDFANNOTATION_TextAnnotationIcon))
    enum TxTextAnnotationIcon PDFANNOTATION_TextAnnotationIcon;
    __declspec(property(get=GetPDFANNOTATION_Opened,put=PutPDFANNOTATION_Opened))
    VARIANT_BOOL PDFANNOTATION_Opened;
    __declspec(property(get=GetPDFANNOTATION_Charset,put=PutPDFANNOTATION_Charset))
    enum TxFontCharset PDFANNOTATION_Charset;
    __declspec(property(get=GetPDFPAGE_Height,put=PutPDFPAGE_Height))
    long PDFPAGE_Height;
    __declspec(property(get=GetPDFPAGE_Orientation,put=PutPDFPAGE_Orientation))
    enum TxPDFPageOrientation PDFPAGE_Orientation;
    __declspec(property(get=GetPDFPAGE_PageRotate,put=PutPDFPAGE_PageRotate))
    enum TxPDFPageRotate PDFPAGE_PageRotate;
    __declspec(property(get=GetPDFPAGE_TextInitiated))
    VARIANT_BOOL PDFPAGE_TextInitiated;
    __declspec(property(get=GetPDFPAGE_Thumbnail,put=PutPDFPAGE_Thumbnail))
    long PDFPAGE_Thumbnail;
    __declspec(property(get=GetPDFPAGE_Watermark,put=PutPDFPAGE_Watermark))
    long PDFPAGE_Watermark;
    __declspec(property(get=GetPDFPAGE_Width,put=PutPDFPAGE_Width))
    long PDFPAGE_Width;
    __declspec(property(get=GetGenerateInMemoryFile,put=PutGenerateInMemoryFile))
    VARIANT_BOOL GenerateInMemoryFile;
    __declspec(property(get=GetOutputByteStream))
    _bstr_t OutputByteStream;
    __declspec(property(get=GetCurrentAnnotationIndex,put=PutCurrentAnnotationIndex))
    long CurrentAnnotationIndex;
    __declspec(property(get=GetBinaryImage))
    _variant_t BinaryImage;
    __declspec(property(get=GetProtectionKeyLength,put=PutProtectionKeyLength))
    enum TxCryptoKeyLength ProtectionKeyLength;
    __declspec(property(get=GetFontEmbedStyle,put=PutFontEmbedStyle))
    enum TxFontEmbeddingType FontEmbedStyle;
    __declspec(property(get=GetUseScreenDC,put=PutUseScreenDC))
    VARIANT_BOOL UseScreenDC;
    __declspec(property(get=GetMemoryFileSize))
    long MemoryFileSize;
    __declspec(property(get=GetPDFOUTLINES_Count))
    long PDFOUTLINES_Count;
    __declspec(property(get=GetPDFPAGE_Size,put=PutPDFPAGE_Size))
    enum TxPDFPageSize PDFPAGE_Size;
    __declspec(property(get=GetPDFPAGE_CanvasOver,put=PutPDFPAGE_CanvasOver))
    VARIANT_BOOL PDFPAGE_CanvasOver;
    __declspec(property(get=GetCurrentWaterMarkIndex,put=PutCurrentWaterMarkIndex))
    long CurrentWaterMarkIndex;
    __declspec(property(get=GetDocumentInfo_CreationDate,put=PutDocumentInfo_CreationDate))
    DATE DocumentInfo_CreationDate;
    __declspec(property(get=GetPDFOUTLINENODE_Action,put=PutPDFOUTLINENODE_Action))
    long PDFOUTLINENODE_Action;
    __declspec(property(get=GetPDFOUTLINENODE_Charset,put=PutPDFOUTLINENODE_Charset))
    enum TxFontCharset PDFOUTLINENODE_Charset;
    __declspec(property(get=GetPDFOUTLINENODE_Count))
    long PDFOUTLINENODE_Count;
    __declspec(property(get=GetPDFOUTLINENODE_Expanded,put=PutPDFOUTLINENODE_Expanded))
    VARIANT_BOOL PDFOUTLINENODE_Expanded;
    __declspec(property(get=GetPDFOUTLINENODE_HasChildren))
    VARIANT_BOOL PDFOUTLINENODE_HasChildren;
    __declspec(property(get=GetPDFOUTLINENODE_Title,put=PutPDFOUTLINENODE_Title))
    _bstr_t PDFOUTLINENODE_Title;
    __declspec(property(get=GetPDFANNOTATION_Box_X,put=PutPDFANNOTATION_Box_X))
    long PDFANNOTATION_Box_X;
    __declspec(property(get=GetPDFANNOTATION_Box_Y,put=PutPDFANNOTATION_Box_Y))
    long PDFANNOTATION_Box_Y;
    __declspec(property(get=GetPDFANNOTATION_Box_W,put=PutPDFANNOTATION_Box_W))
    long PDFANNOTATION_Box_W;
    __declspec(property(get=GetPDFANNOTATION_Box_H,put=PutPDFANNOTATION_Box_H))
    long PDFANNOTATION_Box_H;
    __declspec(property(get=GetPDFANNOTATION_BorderStyle,put=PutPDFANNOTATION_BorderStyle))
    _bstr_t PDFANNOTATION_BorderStyle;
    __declspec(property(get=GetPDFANNOTATION_ReadOnly,put=PutPDFANNOTATION_ReadOnly))
    VARIANT_BOOL PDFANNOTATION_ReadOnly;
    __declspec(property(get=GetPDFANNOTATION_Flags_afInvisible,put=PutPDFANNOTATION_Flags_afInvisible))
    VARIANT_BOOL PDFANNOTATION_Flags_afInvisible;
    __declspec(property(get=GetPDFANNOTATION_Flags_afHidden,put=PutPDFANNOTATION_Flags_afHidden))
    VARIANT_BOOL PDFANNOTATION_Flags_afHidden;
    __declspec(property(get=GetPDFANNOTATION_Flags_afPrint,put=PutPDFANNOTATION_Flags_afPrint))
    VARIANT_BOOL PDFANNOTATION_Flags_afPrint;
    __declspec(property(get=GetPDFANNOTATION_Flags_afNoZoom,put=PutPDFANNOTATION_Flags_afNoZoom))
    VARIANT_BOOL PDFANNOTATION_Flags_afNoZoom;
    __declspec(property(get=GetPDFANNOTATION_Flags_afNoRotate,put=PutPDFANNOTATION_Flags_afNoRotate))
    VARIANT_BOOL PDFANNOTATION_Flags_afNoRotate;
    __declspec(property(get=GetPDFANNOTATION_Flags_afNoView,put=PutPDFANNOTATION_Flags_afNoView))
    VARIANT_BOOL PDFANNOTATION_Flags_afNoView;
    __declspec(property(get=GetPDFANNOTATION_Flags_afReadOnly,put=PutPDFANNOTATION_Flags_afReadOnly))
    VARIANT_BOOL PDFANNOTATION_Flags_afReadOnly;
    __declspec(property(get=GetPDFANNOTATION_BorderColor,put=PutPDFANNOTATION_BorderColor))
    OLE_COLOR PDFANNOTATION_BorderColor;
    __declspec(property(get=GetPDFANNOTATION_Required,put=PutPDFANNOTATION_Required))
    VARIANT_BOOL PDFANNOTATION_Required;
    __declspec(property(get=GetPDFANNOTATION_Name,put=PutPDFANNOTATION_Name))
    _bstr_t PDFANNOTATION_Name;
    __declspec(property(get=GetPDFANNOTATION_Color,put=PutPDFANNOTATION_Color))
    OLE_COLOR PDFANNOTATION_Color;
    __declspec(property(get=GetPDFANNOTATION_Font_Name,put=PutPDFANNOTATION_Font_Name))
    _bstr_t PDFANNOTATION_Font_Name;
    __declspec(property(get=GetPDFANNOTATION_Font_Charset,put=PutPDFANNOTATION_Font_Charset))
    enum TxFontCharset PDFANNOTATION_Font_Charset;
    __declspec(property(get=GetPDFANNOTATION_Font_Style_fsBold,put=PutPDFANNOTATION_Font_Style_fsBold))
    VARIANT_BOOL PDFANNOTATION_Font_Style_fsBold;
    __declspec(property(get=GetPDFANNOTATION_Font_Style_fsItalic,put=PutPDFANNOTATION_Font_Style_fsItalic))
    VARIANT_BOOL PDFANNOTATION_Font_Style_fsItalic;
    __declspec(property(get=GetPDFANNOTATION_Font_Style_fsUnderline,put=PutPDFANNOTATION_Font_Style_fsUnderline))
    VARIANT_BOOL PDFANNOTATION_Font_Style_fsUnderline;
    __declspec(property(get=GetPDFANNOTATION_Font_Style_fsStrikeout,put=PutPDFANNOTATION_Font_Style_fsStrikeout))
    VARIANT_BOOL PDFANNOTATION_Font_Style_fsStrikeout;
    __declspec(property(get=GetPDFANNOTATION_Font_Size,put=PutPDFANNOTATION_Font_Size))
    long PDFANNOTATION_Font_Size;
    __declspec(property(get=GetPDFANNOTATION_Font_Color,put=PutPDFANNOTATION_Font_Color))
    OLE_COLOR PDFANNOTATION_Font_Color;
    __declspec(property(get=GetPDFANNOTATION_Hint_Caption,put=PutPDFANNOTATION_Hint_Caption))
    _bstr_t PDFANNOTATION_Hint_Caption;
    __declspec(property(get=GetPDFANNOTATION_Hint_Charset,put=PutPDFANNOTATION_Hint_Charset))
    enum TxFontCharset PDFANNOTATION_Hint_Charset;
    __declspec(property(get=GetPDFANNOTATION_OnMouseUp,put=PutPDFANNOTATION_OnMouseUp))
    long PDFANNOTATION_OnMouseUp;
    __declspec(property(get=GetPDFANNOTATION_OnMouseDown,put=PutPDFANNOTATION_OnMouseDown))
    long PDFANNOTATION_OnMouseDown;
    __declspec(property(get=GetPDFANNOTATION_OnMouseEnter,put=PutPDFANNOTATION_OnMouseEnter))
    long PDFANNOTATION_OnMouseEnter;
    __declspec(property(get=GetPDFANNOTATION_OnMouseExit,put=PutPDFANNOTATION_OnMouseExit))
    long PDFANNOTATION_OnMouseExit;
    __declspec(property(get=GetPDFANNOTATION_OnSetFocus,put=PutPDFANNOTATION_OnSetFocus))
    long PDFANNOTATION_OnSetFocus;
    __declspec(property(get=GetPDFANNOTATION_OnLostFocus,put=PutPDFANNOTATION_OnLostFocus))
    long PDFANNOTATION_OnLostFocus;

    //
    // Wrapper methods for error-handling
    //

    VARIANT_BOOL GetAborted ( );
    VARIANT_BOOL GetAutoCreateURL ( );
    void PutAutoCreateURL (
        VARIANT_BOOL Value );
    unsigned long GetHDC ( );
    enum TxCompressionType GetCompression ( );
    void PutCompression (
        enum TxCompressionType Value );
    _bstr_t GetFileName ( );
    void PutFileName (
        _bstr_t Value );
    long GetJPEGQuality ( );
    void PutJPEGQuality (
        long Value );
    _bstr_t GetNonEmbeddedFonts ( );
    void PutNonEmbeddedFonts (
        _bstr_t Value );
    VARIANT_BOOL GetOnePass ( );
    void PutOnePass (
        VARIANT_BOOL Value );
    DATE GetDocumentInfo_CreationDate ( );
    void PutDocumentInfo_CreationDate (
        DATE Value );
    _bstr_t GetDocumentInfo_Creator ( );
    void PutDocumentInfo_Creator (
        _bstr_t Value );
    _bstr_t GetDocumentInfo_Keywords ( );
    void PutDocumentInfo_Keywords (
        _bstr_t Value );
    _bstr_t GetDocumentInfo_Subject ( );
    void PutDocumentInfo_Subject (
        _bstr_t Value );
    _bstr_t GetDocumentInfo_Title ( );
    void PutDocumentInfo_Title (
        _bstr_t Value );
    _bstr_t GetDocumentInfo_Author ( );
    void PutDocumentInfo_Author (
        _bstr_t Value );
    _bstr_t GetOwnerPassword ( );
    void PutOwnerPassword (
        _bstr_t Value );
    long GetPageCount ( );
    long GetPageHeight ( );
    enum TxPageLayout GetPageLayout ( );
    void PutPageLayout (
        enum TxPageLayout Value );
    enum TxPageMode GetPageMode ( );
    void PutPageMode (
        enum TxPageMode Value );
    long GetPageWidth ( );
    long GetPageNumber ( );
    VARIANT_BOOL GetPrinting ( );
    VARIANT_BOOL GetProtectionEnabled ( );
    void PutProtectionEnabled (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetProtectionOptions_coPrint ( );
    void PutProtectionOptions_coPrint (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetProtectionOptions_coModifyStructure ( );
    void PutProtectionOptions_coModifyStructure (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetProtectionOptions_coModifyAnnotation ( );
    void PutProtectionOptions_coModifyAnnotation (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetProtectionOptions_coCopyInformation ( );
    void PutProtectionOptions_coCopyInformation (
        VARIANT_BOOL Value );
    long GetResolution ( );
    void PutResolution (
        long Value );
    _bstr_t GetUserPassword ( );
    void PutUserPassword (
        _bstr_t Value );
    VARIANT_BOOL GetViewerPreferences_vpHideToolBar ( );
    void PutViewerPreferences_vpHideToolBar (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetViewerPreferences_vpHideMenuBar ( );
    void PutViewerPreferences_vpHideMenuBar (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetViewerPreferences_vpHideWindowUI ( );
    void PutViewerPreferences_vpHideWindowUI (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetViewerPreferences_vpFitWindow ( );
    void PutViewerPreferences_vpFitWindow (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetViewerPreferences_vpCenterWindow ( );
    void PutViewerPreferences_vpCenterWindow (
        VARIANT_BOOL Value );
    HRESULT Abort ( );
    long AddImageFromFilename (
        _bstr_t FileName,
        enum TxImageCompressionType Compression );
    HRESULT BeginDoc ( );
    long CreateGoToPageAction (
        long PageIndex,
        long TopOffset );
    long CreateJavascriptAction (
        _bstr_t Javascript );
    long CreateResetFormAction ( );
    long CreateSubmitFormAction (
        _bstr_t URL,
        VARIANT_BOOL SendEmpty,
        enum TxPDFSubmitType SubmitType );
    long CreateVisibleControlAction (
        VARIANT_BOOL Visible );
    long CreateWaterMark ( );
    HRESULT EndDoc ( );
    long GetCurrentPageIndex ( );
    HRESULT NewPage ( );
    HRESULT SetCurrentPage (
        long NewIndex );
    long GetPDFPAGE_Height ( );
    void PutPDFPAGE_Height (
        long Value );
    enum TxPDFPageOrientation GetPDFPAGE_Orientation ( );
    void PutPDFPAGE_Orientation (
        enum TxPDFPageOrientation Value );
    enum TxPDFPageRotate GetPDFPAGE_PageRotate ( );
    void PutPDFPAGE_PageRotate (
        enum TxPDFPageRotate Value );
    VARIANT_BOOL GetPDFPAGE_TextInitiated ( );
    long GetPDFPAGE_Thumbnail ( );
    void PutPDFPAGE_Thumbnail (
        long Value );
    long GetPDFPAGE_Watermark ( );
    void PutPDFPAGE_Watermark (
        long Value );
    long GetPDFPAGE_Width ( );
    void PutPDFPAGE_Width (
        long Value );
    HRESULT PDFPAGE_Arc (
        double X1,
        double Y1,
        double X2,
        double Y2,
        double X3,
        double Y3,
        double X4,
        double Y4,
        double * RetValue_X,
        double * RetValue_Y );
    HRESULT PDFPAGE_Arc2 (
        double X1,
        double Y1,
        double X2,
        double Y2,
        double BeginAngle,
        double EndAngle,
        double * currentX,
        double * currentY );
    HRESULT PDFPAGE_BeginText ( );
    HRESULT PDFPAGE_Circle (
        double X,
        double Y,
        double R );
    HRESULT PDFPAGE_Clip ( );
    HRESULT PDFPAGE_ClosePath ( );
    HRESULT PDFPAGE_Comment (
        _bstr_t Text );
    long PDFPAGE_CreateControl_Button (
        _bstr_t ControlName,
        long X,
        long Y,
        long X1,
        long Y1 );
    long PDFPAGE_CreateControl_Checkbox (
        _bstr_t ControlName,
        long X,
        long Y,
        long X1,
        long Y1 );
    long PDFPAGE_CreateControl_Combobox (
        _bstr_t ControlName,
        long X,
        long Y,
        long X1,
        long Y1 );
    long PDFPAGE_CreateControl_RadioButton (
        _bstr_t ControlName,
        long X,
        long Y,
        long X1,
        long Y1 );
    HRESULT PDFPAGE_CurveTo (
        double X1,
        double Y1,
        double X2,
        double Y2,
        double X3,
        double Y3 );
    HRESULT PDFPAGE_Ellipse (
        double X1,
        double Y1,
        double X2,
        double Y2 );
    HRESULT PDFPAGE_EndText ( );
    HRESULT PDFPAGE_EoClip ( );
    HRESULT PDFPAGE_EoFill ( );
    HRESULT PDFPAGE_EoFillAndStroke ( );
    HRESULT PDFPAGE_Fill ( );
    HRESULT PDFPAGE_FillAndStroke ( );
    HRESULT PDFPAGE_GStateRestore ( );
    HRESULT PDFPAGE_GStateSave ( );
    double PDFPAGE_GetTextWidth (
        _bstr_t Text );
    HRESULT PDFPAGE_LineTo (
        double X,
        double Y );
    HRESULT PDFPAGE_MoveTo (
        double X,
        double Y );
    HRESULT PDFPAGE_NewPath ( );
    HRESULT PDFPAGE_NoDash ( );
    HRESULT PDFPAGE_Pie (
        double X1,
        double Y1,
        double X2,
        double Y2,
        double X3,
        double Y3,
        double X4,
        double Y4 );
    HRESULT PDFPAGE_Pie2 (
        double X1,
        double Y1,
        double X2,
        double Y2,
        double BeginAngle,
        double EndAngle );
    HRESULT PDFPAGE_RectRotated (
        double X,
        double Y,
        double X1,
        double Y1,
        double Angle );
    HRESULT PDFPAGE_Rectangle (
        double X,
        double Y,
        double X1,
        double Y1 );
    HRESULT PDFPAGE_Rotate (
        double Angle );
    HRESULT PDFPAGE_RotateText (
        double Degrees );
    HRESULT PDFPAGE_RoundRect (
        long X,
        long Y,
        long X1,
        long Y1,
        long roundX,
        long roundY );
    HRESULT PDFPAGE_Scale (
        double SX,
        double SY );
    long PDFPAGE_SetAction (
        long X,
        long Y,
        long X1,
        long Y1,
        long ActionIndex );
    HRESULT PDFPAGE_SetActiveFont (
        _bstr_t FontName,
        VARIANT_BOOL FontStyle_Bold,
        VARIANT_BOOL FontStyle_Italic,
        VARIANT_BOOL FontStyle_Underline,
        VARIANT_BOOL FontStyle_StrikeOut,
        double FontSize,
        enum TxFontCharset FontCharset );
    long PDFPAGE_SetAnnotation (
        long X,
        long Y,
        long X1,
        long Y1,
        _bstr_t Title,
        _bstr_t Text,
        OLE_COLOR Color,
        VARIANT_BOOL AnnotationFlag_afPrint,
        VARIANT_BOOL AnnotationFlag_afNoZoom,
        VARIANT_BOOL AnnotationFlag_afNoRotate,
        VARIANT_BOOL AnnotationFlag_afInVisible,
        VARIANT_BOOL AnnotationFlag_afHidden,
        VARIANT_BOOL AnnotationFlag_afNoView,
        VARIANT_BOOL AnnotationFlag_afReadOnly,
        VARIANT_BOOL Opened,
        enum TxFontCharset FontCharset );
    HRESULT PDFPAGE_SetCMYKColor (
        double C,
        double M,
        double Y,
        double K );
    HRESULT PDFPAGE_SetCMYKColorFill (
        double C,
        double M,
        double Y,
        double K );
    HRESULT PDFPAGE_SetSMYKColorStroke (
        double C,
        double M,
        double Y,
        double K );
    HRESULT PDFPAGE_SetCharacterSpacing (
        double Spacing );
    HRESULT PDFPAGE_SetDash (
        _bstr_t DashSpec );
    HRESULT PDFPAGE_SetFlat (
        long Flatness );
    HRESULT PDFPAGE_SetGray (
        double Gray );
    HRESULT PDFPAGE_SetGrayFill (
        double Gray );
    HRESULT PDFPAGE_SetGrayStroke (
        double Gray );
    HRESULT PDFPAGE_SetLineCap (
        enum TxPDFLineCap LineCap );
    HRESULT PDFPAGE_SetLineJoin (
        enum TxPDFLineJoin LineJoin );
    HRESULT PDFPAGE_SetLineWidth (
        double lw );
    HRESULT PDFPAGE_SetLinkToPage (
        long X,
        long Y,
        long X1,
        long Y1,
        long PageIndex,
        long TopOffset );
    HRESULT PDFPAGE_SetMiterLimit (
        double MiterLimit );
    HRESULT PDFPAGE_SetRGBColor (
        double R,
        double G,
        double B );
    HRESULT PDFPAGE_SetRGBColorFill (
        double R,
        double G,
        double B );
    HRESULT PDFPAGE_SetRGBColorStroke (
        double R,
        double G,
        double B );
    HRESULT PDFPAGE_SetTextPosition (
        double X,
        double Y );
    HRESULT PDFPAGE_SetTextRenderingMode (
        enum TxTextRenderingMode Mode );
    HRESULT PDFPAGE_SetTextRise (
        double Rise );
    HRESULT PDFPAGE_SetURL (
        long X,
        long Y,
        long X1,
        long Y1,
        _bstr_t URL );
    HRESULT PDFPAGE_SetWordSpacing (
        double Spacing );
    HRESULT PDFPAGE_ShowImage (
        long ImageIndex,
        double X,
        double Y,
        double W,
        double H,
        double Angle );
    HRESULT PDFPAGE_SkewText (
        double Alpha,
        double Beta );
    HRESULT PDFPAGE_Stroke ( );
    HRESULT PDFPAGE_TextBox (
        long X,
        long Y,
        long X1,
        long Y1,
        _bstr_t Text,
        enum TxHorJust Hor,
        enum TxVertJust Vert );
    HRESULT PDFPAGE_TextOut (
        double X,
        double Y,
        double Orientation,
        _bstr_t TextStr );
    HRESULT PDFPAGE_TextShow (
        _bstr_t TextStr );
    HRESULT PDFPAGE_Translate (
        double XT,
        double YT );
    enum TxPDFPageSize GetPDFPAGE_Size ( );
    void PutPDFPAGE_Size (
        enum TxPDFPageSize Value );
    VARIANT_BOOL GetPDFPAGE_CanvasOver ( );
    void PutPDFPAGE_CanvasOver (
        VARIANT_BOOL Value );
    HRESULT PDFPAGE_SetHorizontalScaling (
        double Scale );
    HRESULT PDFPAGE_Concat (
        double A,
        double B,
        double C,
        double D,
        double E,
        double F );
    VARIANT_BOOL GetAutoLaunch ( );
    void PutAutoLaunch (
        VARIANT_BOOL Value );
    long GetOpenDocumentAction ( );
    void PutOpenDocumentAction (
        long Value );
    VARIANT_BOOL GetSwitchedToWatermark ( );
    void PutSwitchedToWatermark (
        VARIANT_BOOL Value );
    enum TxPDFVersion GetVersion ( );
    void PutVersion (
        enum TxPDFVersion Value );
    long CreateImportDataAction (
        _bstr_t FileName );
    long CreateURLAction (
        _bstr_t URL );
    HRESULT PDFPAGE_PlayMetaFile (
        unsigned long hMetafile );
    HRESULT PDFPAGE_PlayMetaFileEx (
        unsigned long hMetafile,
        double X,
        double Y,
        double XScale,
        double YScale );
    long GetCurrentWaterMarkIndex ( );
    void PutCurrentWaterMarkIndex (
        long Value );
    HRESULT PDFPAGE_PlayMetaFileFromFileName (
        _bstr_t FileName );
    HRESULT PDFPAGE_PlayMetaFileExFromFileName (
        _bstr_t FileName,
        double X,
        double Y,
        double XScale,
        double YScale );
    long GetPDFOUTLINES_Count ( );
    HRESULT PDFOUTLINES_Clear ( );
    HRESULT PDFOUTLINES_Delete (
        long ItemIndex );
    long PDFOUTLINES_GetFirstNode ( );
    long PDFOUTLINES_Add (
        long Node,
        _bstr_t Title,
        long Action,
        enum TxFontCharset Charset );
    long PDFOUTLINES_AddChild (
        long Node,
        _bstr_t Title,
        long Action,
        enum TxFontCharset Charset );
    long PDFOUTLINES_AddFirst (
        long Node,
        _bstr_t Title,
        long Action,
        enum TxFontCharset Charset );
    long PDFOUTLINES_Insert (
        long Node,
        _bstr_t Title,
        long Action,
        enum TxFontCharset Charset );
    long GetPDFOUTLINENODE_Action ( );
    void PutPDFOUTLINENODE_Action (
        long Value );
    enum TxFontCharset GetPDFOUTLINENODE_Charset ( );
    void PutPDFOUTLINENODE_Charset (
        enum TxFontCharset Value );
    long GetPDFOUTLINENODE_Count ( );
    VARIANT_BOOL GetPDFOUTLINENODE_Expanded ( );
    void PutPDFOUTLINENODE_Expanded (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFOUTLINENODE_HasChildren ( );
    long PDFOUTLINENODE_GetSubItem (
        long Index );
    _bstr_t GetPDFOUTLINENODE_Title ( );
    void PutPDFOUTLINENODE_Title (
        _bstr_t Value );
    HRESULT PDFOUTLINENODE_Delete ( );
    HRESULT PDFOUTLINENODE_DeleteChildren ( );
    long PDFOUTLINENODE_GetFirstChild ( );
    long PDFOUTLINENODE_GetLastChild ( );
    long PDFOUTLINENODE_GetNext ( );
    long PDFOUTLINENODE_GetNextChild ( );
    long PDFOUTLINENODE_GetNextSibling ( );
    long PDFOUTLINENODE_GetPrev ( );
    long PDFOUTLINENODE_GetPrevChild ( );
    long PDFOUTLINENODE_GetPrevSibling ( );
    HRESULT SetCurrentPDFOutlineNode (
        long Index );
    long AddControlToAction (
        long ActionIndex,
        long ControlIndex );
    long GetPDFANNOTATION_Box_X ( );
    void PutPDFANNOTATION_Box_X (
        long Value );
    long GetPDFANNOTATION_Box_Y ( );
    void PutPDFANNOTATION_Box_Y (
        long Value );
    long GetPDFANNOTATION_Box_W ( );
    void PutPDFANNOTATION_Box_W (
        long Value );
    long GetPDFANNOTATION_Box_H ( );
    void PutPDFANNOTATION_Box_H (
        long Value );
    _bstr_t GetPDFANNOTATION_BorderStyle ( );
    void PutPDFANNOTATION_BorderStyle (
        _bstr_t Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afInvisible ( );
    void PutPDFANNOTATION_Flags_afInvisible (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afHidden ( );
    void PutPDFANNOTATION_Flags_afHidden (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afPrint ( );
    void PutPDFANNOTATION_Flags_afPrint (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afNoZoom ( );
    void PutPDFANNOTATION_Flags_afNoZoom (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afNoRotate ( );
    void PutPDFANNOTATION_Flags_afNoRotate (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afNoView ( );
    void PutPDFANNOTATION_Flags_afNoView (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Flags_afReadOnly ( );
    void PutPDFANNOTATION_Flags_afReadOnly (
        VARIANT_BOOL Value );
    OLE_COLOR GetPDFANNOTATION_BorderColor ( );
    void PutPDFANNOTATION_BorderColor (
        OLE_COLOR Value );
    VARIANT_BOOL GetPDFANNOTATION_ReadOnly ( );
    void PutPDFANNOTATION_ReadOnly (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Required ( );
    void PutPDFANNOTATION_Required (
        VARIANT_BOOL Value );
    _bstr_t GetPDFANNOTATION_Name ( );
    void PutPDFANNOTATION_Name (
        _bstr_t Value );
    OLE_COLOR GetPDFANNOTATION_Color ( );
    void PutPDFANNOTATION_Color (
        OLE_COLOR Value );
    _bstr_t GetPDFANNOTATION_Font_Name ( );
    void PutPDFANNOTATION_Font_Name (
        _bstr_t Value );
    enum TxFontCharset GetPDFANNOTATION_Font_Charset ( );
    void PutPDFANNOTATION_Font_Charset (
        enum TxFontCharset Value );
    VARIANT_BOOL GetPDFANNOTATION_Font_Style_fsBold ( );
    void PutPDFANNOTATION_Font_Style_fsBold (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Font_Style_fsItalic ( );
    void PutPDFANNOTATION_Font_Style_fsItalic (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Font_Style_fsUnderline ( );
    void PutPDFANNOTATION_Font_Style_fsUnderline (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_Font_Style_fsStrikeout ( );
    void PutPDFANNOTATION_Font_Style_fsStrikeout (
        VARIANT_BOOL Value );
    long GetPDFANNOTATION_Font_Size ( );
    void PutPDFANNOTATION_Font_Size (
        long Value );
    OLE_COLOR GetPDFANNOTATION_Font_Color ( );
    void PutPDFANNOTATION_Font_Color (
        OLE_COLOR Value );
    _bstr_t GetPDFANNOTATION_Hint_Caption ( );
    void PutPDFANNOTATION_Hint_Caption (
        _bstr_t Value );
    enum TxFontCharset GetPDFANNOTATION_Hint_Charset ( );
    void PutPDFANNOTATION_Hint_Charset (
        enum TxFontCharset Value );
    long GetPDFANNOTATION_OnMouseUp ( );
    void PutPDFANNOTATION_OnMouseUp (
        long Value );
    long GetPDFANNOTATION_OnMouseDown ( );
    void PutPDFANNOTATION_OnMouseDown (
        long Value );
    long GetPDFANNOTATION_OnMouseEnter ( );
    void PutPDFANNOTATION_OnMouseEnter (
        long Value );
    long GetPDFANNOTATION_OnMouseExit ( );
    void PutPDFANNOTATION_OnMouseExit (
        long Value );
    long GetPDFANNOTATION_OnSetFocus ( );
    void PutPDFANNOTATION_OnSetFocus (
        long Value );
    long GetPDFANNOTATION_OnLostFocus ( );
    void PutPDFANNOTATION_OnLostFocus (
        long Value );
    enum TxAnnotationType GetCurrentAnnotationType ( );
    _bstr_t GetPDFANNOTATION_Caption ( );
    void PutPDFANNOTATION_Caption (
        _bstr_t Value );
    long GetPDFANNOTATION_OnKeyPress ( );
    void PutPDFANNOTATION_OnKeyPress (
        long Value );
    long GetPDFANNOTATION_OnBeforeFormatting ( );
    void PutPDFANNOTATION_OnBeforeFormatting (
        long Value );
    long GetPDFANNOTATION_OnChange ( );
    void PutPDFANNOTATION_OnChange (
        long Value );
    long GetPDFANNOTATION_OnOtherControlChanged ( );
    void PutPDFANNOTATION_OnOtherControlChanged (
        long Value );
    VARIANT_BOOL GetPDFANNOTATION_Checked ( );
    void PutPDFANNOTATION_Checked (
        VARIANT_BOOL Value );
    _bstr_t GetPDFANNOTATION_Items ( );
    void PutPDFANNOTATION_Items (
        _bstr_t Value );
    VARIANT_BOOL GetPDFANNOTATION_EditEnabled ( );
    void PutPDFANNOTATION_EditEnabled (
        VARIANT_BOOL Value );
    _bstr_t GetPDFANNOTATION_Text ( );
    void PutPDFANNOTATION_Text (
        _bstr_t Value );
    VARIANT_BOOL GetPDFANNOTATION_Multiline ( );
    void PutPDFANNOTATION_Multiline (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_IsPassword ( );
    void PutPDFANNOTATION_IsPassword (
        VARIANT_BOOL Value );
    VARIANT_BOOL GetPDFANNOTATION_ShowBorder ( );
    void PutPDFANNOTATION_ShowBorder (
        VARIANT_BOOL Value );
    long GetPDFANNOTATION_MaxLength ( );
    void PutPDFANNOTATION_MaxLength (
        long Value );
    enum TxHorJust GetPDFANNOTATION_Justification ( );
    void PutPDFANNOTATION_Justification (
        enum TxHorJust Value );
    _bstr_t GetPDFANNOTATION_ExportValue ( );
    void PutPDFANNOTATION_ExportValue (
        _bstr_t Value );
    long GetPDFANNOTATION_Action ( );
    void PutPDFANNOTATION_Action (
        long Value );
    enum TxTextAnnotationIcon GetPDFANNOTATION_TextAnnotationIcon ( );
    void PutPDFANNOTATION_TextAnnotationIcon (
        enum TxTextAnnotationIcon Value );
    VARIANT_BOOL GetPDFANNOTATION_Opened ( );
    void PutPDFANNOTATION_Opened (
        VARIANT_BOOL Value );
    enum TxFontCharset GetPDFANNOTATION_Charset ( );
    void PutPDFANNOTATION_Charset (
        enum TxFontCharset Value );
    VARIANT_BOOL GetGenerateInMemoryFile ( );
    void PutGenerateInMemoryFile (
        VARIANT_BOOL Value );
    _bstr_t GetOutputByteStream ( );
    long PDFPAGE_CreateControl_Edit (
        _bstr_t ControlName,
        long X,
        long Y,
        long X1,
        long Y1 );
    long GetCurrentAnnotationIndex ( );
    void PutCurrentAnnotationIndex (
        long Value );
    _variant_t GetBinaryImage ( );
    HRESULT NonEmbeddedFonts_Add (
        _bstr_t FontName );
    HRESULT StartEngine (
        _bstr_t Email,
        _bstr_t Password );
    long GetCurrentPDFOutlineNode ( );
    enum TxCryptoKeyLength GetProtectionKeyLength ( );
    void PutProtectionKeyLength (
        enum TxCryptoKeyLength Value );
    long AddImageFromBitmapHandle (
        OLE_HANDLE AHandle,
        enum TxImageCompressionType Compression );
    long AddImageFromBuffer (
        VARIANT * Buffer,
        enum TxImageCompressionType Compression );
    long AddImageFromMemory (
        LPSTR Buffer,
        long BufSize,
        enum TxImageCompressionType Compression );
    long PDFPAGE_TextOutBox (
        long LTCornX,
        long LTCornY,
        long Interval,
        long BoxWidth,
        long BoxHeight,
        _bstr_t TextStr );
    enum TxFontEmbeddingType GetFontEmbedStyle ( );
    void PutFontEmbedStyle (
        enum TxFontEmbeddingType Value );
    HRESULT PDFPAGE_UnicodeTextOut (
        double X,
        double Y,
        double Orientation,
        LPWSTR Text );
    long PDFPAGE_UnicodeTextOutBox (
        long LTCornX,
        long LTCornY,
        long Interval,
        long BoxWidth,
        long BoxHeight,
        LPWSTR TextStr );
    double PDFPAGE_GetUnicodeTextWidth (
        LPWSTR Text );
    VARIANT_BOOL GetUseScreenDC ( );
    void PutUseScreenDC (
        VARIANT_BOOL Value );
    long GetUsedDCResolution ( );
    unsigned long GetUsedDC ( );
    long GetMemoryFileSize ( );

    //
    // Raw methods provided by interface
    //

      virtual HRESULT __stdcall get_Aborted (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall get_AutoCreateURL (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_AutoCreateURL (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_HDC (
        /*[out,retval]*/ unsigned long * Value ) = 0;
      virtual HRESULT __stdcall get_Compression (
        /*[out,retval]*/ enum TxCompressionType * Value ) = 0;
      virtual HRESULT __stdcall put_Compression (
        /*[in]*/ enum TxCompressionType Value ) = 0;
      virtual HRESULT __stdcall get_FileName (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_FileName (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_JPEGQuality (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_JPEGQuality (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_NonEmbeddedFonts (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_NonEmbeddedFonts (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_OnePass (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_OnePass (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_CreationDate (
        /*[out,retval]*/ DATE * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_CreationDate (
        /*[in]*/ DATE Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_Creator (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_Creator (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_Keywords (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_Keywords (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_Subject (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_Subject (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_Title (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_Title (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_DocumentInfo_Author (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_DocumentInfo_Author (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_OwnerPassword (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_OwnerPassword (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PageCount (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_PageHeight (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_PageLayout (
        /*[out,retval]*/ enum TxPageLayout * Value ) = 0;
      virtual HRESULT __stdcall put_PageLayout (
        /*[in]*/ enum TxPageLayout Value ) = 0;
      virtual HRESULT __stdcall get_PageMode (
        /*[out,retval]*/ enum TxPageMode * Value ) = 0;
      virtual HRESULT __stdcall put_PageMode (
        /*[in]*/ enum TxPageMode Value ) = 0;
      virtual HRESULT __stdcall get_PageWidth (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_PageNumber (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_Printing (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall get_ProtectionEnabled (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionEnabled (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ProtectionOptions_coPrint (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionOptions_coPrint (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ProtectionOptions_coModifyStructure (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionOptions_coModifyStructure (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ProtectionOptions_coModifyAnnotation (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionOptions_coModifyAnnotation (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ProtectionOptions_coCopyInformation (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionOptions_coCopyInformation (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_Resolution (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_Resolution (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_UserPassword (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_UserPassword (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_ViewerPreferences_vpHideToolBar (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ViewerPreferences_vpHideToolBar (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ViewerPreferences_vpHideMenuBar (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ViewerPreferences_vpHideMenuBar (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ViewerPreferences_vpHideWindowUI (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ViewerPreferences_vpHideWindowUI (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ViewerPreferences_vpFitWindow (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ViewerPreferences_vpFitWindow (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_ViewerPreferences_vpCenterWindow (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_ViewerPreferences_vpCenterWindow (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall raw_Abort ( ) = 0;
      virtual HRESULT __stdcall raw_AddImageFromFilename (
        /*[in]*/ BSTR FileName,
        /*[in]*/ enum TxImageCompressionType Compression,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_BeginDoc ( ) = 0;
      virtual HRESULT __stdcall raw_CreateGoToPageAction (
        /*[in]*/ long PageIndex,
        /*[in]*/ long TopOffset,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateJavascriptAction (
        /*[in]*/ BSTR Javascript,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateResetFormAction (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateSubmitFormAction (
        /*[in]*/ BSTR URL,
        /*[in]*/ VARIANT_BOOL SendEmpty,
        /*[in]*/ enum TxPDFSubmitType SubmitType,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateVisibleControlAction (
        /*[in]*/ VARIANT_BOOL Visible,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateWaterMark (
        /*[out,retval]*/ long * ID ) = 0;
      virtual HRESULT __stdcall raw_EndDoc ( ) = 0;
      virtual HRESULT __stdcall raw_GetCurrentPageIndex (
        /*[out,retval]*/ long * Index ) = 0;
      virtual HRESULT __stdcall raw_NewPage ( ) = 0;
      virtual HRESULT __stdcall raw_SetCurrentPage (
        /*[in]*/ long NewIndex ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Height (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Height (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Orientation (
        /*[out,retval]*/ enum TxPDFPageOrientation * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Orientation (
        /*[in]*/ enum TxPDFPageOrientation Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_PageRotate (
        /*[out,retval]*/ enum TxPDFPageRotate * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_PageRotate (
        /*[in]*/ enum TxPDFPageRotate Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_TextInitiated (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Thumbnail (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Thumbnail (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Watermark (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Watermark (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Width (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Width (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Arc (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2,
        /*[in]*/ double X3,
        /*[in]*/ double Y3,
        /*[in]*/ double X4,
        /*[in]*/ double Y4,
        /*[out]*/ double * RetValue_X,
        /*[out]*/ double * RetValue_Y ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Arc2 (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2,
        /*[in]*/ double BeginAngle,
        /*[in]*/ double EndAngle,
        /*[out]*/ double * currentX,
        /*[out]*/ double * currentY ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_BeginText ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Circle (
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double R ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Clip ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_ClosePath ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Comment (
        /*[in]*/ BSTR Text ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CreateControl_Button (
        /*[in]*/ BSTR ControlName,
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CreateControl_Checkbox (
        /*[in]*/ BSTR ControlName,
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CreateControl_Combobox (
        /*[in]*/ BSTR ControlName,
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CreateControl_RadioButton (
        /*[in]*/ BSTR ControlName,
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CurveTo (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2,
        /*[in]*/ double X3,
        /*[in]*/ double Y3 ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Ellipse (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2 ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_EndText ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_EoClip ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_EoFill ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_EoFillAndStroke ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Fill ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_FillAndStroke ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_GStateRestore ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_GStateSave ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_GetTextWidth (
        /*[in]*/ BSTR Text,
        /*[out,retval]*/ double * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_LineTo (
        /*[in]*/ double X,
        /*[in]*/ double Y ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_MoveTo (
        /*[in]*/ double X,
        /*[in]*/ double Y ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_NewPath ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_NoDash ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Pie (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2,
        /*[in]*/ double X3,
        /*[in]*/ double Y3,
        /*[in]*/ double X4,
        /*[in]*/ double Y4 ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Pie2 (
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double X2,
        /*[in]*/ double Y2,
        /*[in]*/ double BeginAngle,
        /*[in]*/ double EndAngle ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_RectRotated (
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double X1,
        /*[in]*/ double Y1,
        /*[in]*/ double Angle ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Rectangle (
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double X1,
        /*[in]*/ double Y1 ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Rotate (
        /*[in]*/ double Angle ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_RotateText (
        /*[in]*/ double Degrees ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_RoundRect (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ long roundX,
        /*[in]*/ long roundY ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Scale (
        /*[in]*/ double SX,
        /*[in]*/ double SY ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetAction (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ long ActionIndex,
        /*[out,retval]*/ long * CreatedAnnotationIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetActiveFont (
        /*[in]*/ BSTR FontName,
        /*[in]*/ VARIANT_BOOL FontStyle_Bold,
        /*[in]*/ VARIANT_BOOL FontStyle_Italic,
        /*[in]*/ VARIANT_BOOL FontStyle_Underline,
        /*[in]*/ VARIANT_BOOL FontStyle_StrikeOut,
        /*[in]*/ double FontSize,
        /*[in]*/ enum TxFontCharset FontCharset ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetAnnotation (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ BSTR Title,
        /*[in]*/ BSTR Text,
        /*[in]*/ OLE_COLOR Color,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afPrint,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afNoZoom,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afNoRotate,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afInVisible,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afHidden,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afNoView,
        /*[in]*/ VARIANT_BOOL AnnotationFlag_afReadOnly,
        /*[in]*/ VARIANT_BOOL Opened,
        /*[in]*/ enum TxFontCharset FontCharset,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetCMYKColor (
        /*[in]*/ double C,
        /*[in]*/ double M,
        /*[in]*/ double Y,
        /*[in]*/ double K ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetCMYKColorFill (
        /*[in]*/ double C,
        /*[in]*/ double M,
        /*[in]*/ double Y,
        /*[in]*/ double K ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetSMYKColorStroke (
        /*[in]*/ double C,
        /*[in]*/ double M,
        /*[in]*/ double Y,
        /*[in]*/ double K ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetCharacterSpacing (
        /*[in]*/ double Spacing ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetDash (
        /*[in]*/ BSTR DashSpec ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetFlat (
        /*[in]*/ long Flatness ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetGray (
        /*[in]*/ double Gray ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetGrayFill (
        /*[in]*/ double Gray ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetGrayStroke (
        /*[in]*/ double Gray ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetLineCap (
        /*[in]*/ enum TxPDFLineCap LineCap ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetLineJoin (
        /*[in]*/ enum TxPDFLineJoin LineJoin ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetLineWidth (
        /*[in]*/ double lw ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetLinkToPage (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ long PageIndex,
        /*[in]*/ long TopOffset ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetMiterLimit (
        /*[in]*/ double MiterLimit ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetRGBColor (
        /*[in]*/ double R,
        /*[in]*/ double G,
        /*[in]*/ double B ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetRGBColorFill (
        /*[in]*/ double R,
        /*[in]*/ double G,
        /*[in]*/ double B ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetRGBColorStroke (
        /*[in]*/ double R,
        /*[in]*/ double G,
        /*[in]*/ double B ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetTextPosition (
        /*[in]*/ double X,
        /*[in]*/ double Y ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetTextRenderingMode (
        /*[in]*/ enum TxTextRenderingMode Mode ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetTextRise (
        /*[in]*/ double Rise ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetURL (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ BSTR URL ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetWordSpacing (
        /*[in]*/ double Spacing ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_ShowImage (
        /*[in]*/ long ImageIndex,
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double W,
        /*[in]*/ double H,
        /*[in]*/ double Angle ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SkewText (
        /*[in]*/ double Alpha,
        /*[in]*/ double Beta ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Stroke ( ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_TextBox (
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[in]*/ BSTR Text,
        /*[in]*/ enum TxHorJust Hor,
        /*[in]*/ enum TxVertJust Vert ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_TextOut (
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double Orientation,
        /*[in]*/ BSTR TextStr ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_TextShow (
        /*[in]*/ BSTR TextStr ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Translate (
        /*[in]*/ double XT,
        /*[in]*/ double YT ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_Size (
        /*[out,retval]*/ enum TxPDFPageSize * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_Size (
        /*[in]*/ enum TxPDFPageSize Value ) = 0;
      virtual HRESULT __stdcall get_PDFPAGE_CanvasOver (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFPAGE_CanvasOver (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_SetHorizontalScaling (
        /*[in]*/ double Scale ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_Concat (
        /*[in]*/ double A,
        /*[in]*/ double B,
        /*[in]*/ double C,
        /*[in]*/ double D,
        /*[in]*/ double E,
        /*[in]*/ double F ) = 0;
      virtual HRESULT __stdcall get_AutoLaunch (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_AutoLaunch (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_OpenDocumentAction (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_OpenDocumentAction (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_SwitchedToWatermark (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_SwitchedToWatermark (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_Version (
        /*[out,retval]*/ enum TxPDFVersion * Value ) = 0;
      virtual HRESULT __stdcall put_Version (
        /*[in]*/ enum TxPDFVersion Value ) = 0;
      virtual HRESULT __stdcall raw_CreateImportDataAction (
        /*[in]*/ BSTR FileName,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_CreateURLAction (
        /*[in]*/ BSTR URL,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_PlayMetaFile (
        /*[in]*/ unsigned long hMetafile ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_PlayMetaFileEx (
        /*[in]*/ unsigned long hMetafile,
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double XScale,
        /*[in]*/ double YScale ) = 0;
      virtual HRESULT __stdcall get_CurrentWaterMarkIndex (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_CurrentWaterMarkIndex (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_PlayMetaFileFromFileName (
        /*[in]*/ BSTR FileName ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_PlayMetaFileExFromFileName (
        /*[in]*/ BSTR FileName,
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double XScale,
        /*[in]*/ double YScale ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINES_Count (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_Clear ( ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_Delete (
        /*[in]*/ long ItemIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_GetFirstNode (
        /*[out,retval]*/ long * NodeIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_Add (
        /*[in]*/ long Node,
        /*[in]*/ BSTR Title,
        /*[in]*/ long Action,
        /*[in]*/ enum TxFontCharset Charset,
        /*[out,retval]*/ long * ItemIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_AddChild (
        /*[in]*/ long Node,
        /*[in]*/ BSTR Title,
        /*[in]*/ long Action,
        /*[in]*/ enum TxFontCharset Charset,
        /*[out,retval]*/ long * ItemIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_AddFirst (
        /*[in]*/ long Node,
        /*[in]*/ BSTR Title,
        /*[in]*/ long Action,
        /*[in]*/ enum TxFontCharset Charset,
        /*[out,retval]*/ long * ItemIndex ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINES_Insert (
        /*[in]*/ long Node,
        /*[in]*/ BSTR Title,
        /*[in]*/ long Action,
        /*[in]*/ enum TxFontCharset Charset,
        /*[out,retval]*/ long * ItemIndex ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_Action (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFOUTLINENODE_Action (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_Charset (
        /*[out,retval]*/ enum TxFontCharset * Value ) = 0;
      virtual HRESULT __stdcall put_PDFOUTLINENODE_Charset (
        /*[in]*/ enum TxFontCharset Value ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_Count (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_Expanded (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFOUTLINENODE_Expanded (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_HasChildren (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetSubItem (
        /*[in]*/ long Index,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall get_PDFOUTLINENODE_Title (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFOUTLINENODE_Title (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_Delete ( ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_DeleteChildren ( ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetFirstChild (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetLastChild (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetNext (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetNextChild (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetNextSibling (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetPrev (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetPrevChild (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_PDFOUTLINENODE_GetPrevSibling (
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall raw_SetCurrentPDFOutlineNode (
        /*[in]*/ long Index ) = 0;
      virtual HRESULT __stdcall raw_AddControlToAction (
        /*[in]*/ long ActionIndex,
        /*[in]*/ long ControlIndex,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Box_X (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Box_X (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Box_Y (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Box_Y (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Box_W (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Box_W (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Box_H (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Box_H (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_BorderStyle (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_BorderStyle (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afInvisible (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afInvisible (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afHidden (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afHidden (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afPrint (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afPrint (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afNoZoom (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afNoZoom (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afNoRotate (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afNoRotate (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afNoView (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afNoView (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Flags_afReadOnly (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Flags_afReadOnly (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_BorderColor (
        /*[out,retval]*/ OLE_COLOR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_BorderColor (
        /*[in]*/ OLE_COLOR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_ReadOnly (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_ReadOnly (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Required (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Required (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Name (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Name (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Color (
        /*[out,retval]*/ OLE_COLOR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Color (
        /*[in]*/ OLE_COLOR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Name (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Name (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Charset (
        /*[out,retval]*/ enum TxFontCharset * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Charset (
        /*[in]*/ enum TxFontCharset Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Style_fsBold (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Style_fsBold (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Style_fsItalic (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Style_fsItalic (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Style_fsUnderline (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Style_fsUnderline (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Style_fsStrikeout (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Style_fsStrikeout (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Size (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Size (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Font_Color (
        /*[out,retval]*/ OLE_COLOR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Font_Color (
        /*[in]*/ OLE_COLOR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Hint_Caption (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Hint_Caption (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Hint_Charset (
        /*[out,retval]*/ enum TxFontCharset * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Hint_Charset (
        /*[in]*/ enum TxFontCharset Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnMouseUp (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnMouseUp (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnMouseDown (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnMouseDown (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnMouseEnter (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnMouseEnter (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnMouseExit (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnMouseExit (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnSetFocus (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnSetFocus (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnLostFocus (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnLostFocus (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_CurrentAnnotationType (
        /*[out,retval]*/ enum TxAnnotationType * Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Caption (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Caption (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnKeyPress (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnKeyPress (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnBeforeFormatting (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnBeforeFormatting (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnChange (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnChange (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_OnOtherControlChanged (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_OnOtherControlChanged (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Checked (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Checked (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Items (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Items (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_EditEnabled (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_EditEnabled (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Text (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Text (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Multiline (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Multiline (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_IsPassword (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_IsPassword (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_ShowBorder (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_ShowBorder (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_MaxLength (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_MaxLength (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Justification (
        /*[out,retval]*/ enum TxHorJust * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Justification (
        /*[in]*/ enum TxHorJust Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_ExportValue (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_ExportValue (
        /*[in]*/ BSTR Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Action (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Action (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_TextAnnotationIcon (
        /*[out,retval]*/ enum TxTextAnnotationIcon * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_TextAnnotationIcon (
        /*[in]*/ enum TxTextAnnotationIcon Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Opened (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Opened (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_PDFANNOTATION_Charset (
        /*[out,retval]*/ enum TxFontCharset * Value ) = 0;
      virtual HRESULT __stdcall put_PDFANNOTATION_Charset (
        /*[in]*/ enum TxFontCharset Value ) = 0;
      virtual HRESULT __stdcall get_GenerateInMemoryFile (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_GenerateInMemoryFile (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall get_OutputByteStream (
        /*[out,retval]*/ BSTR * Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_CreateControl_Edit (
        /*[in]*/ BSTR ControlName,
        /*[in]*/ long X,
        /*[in]*/ long Y,
        /*[in]*/ long X1,
        /*[in]*/ long Y1,
        /*[out,retval]*/ long * RetValue ) = 0;
      virtual HRESULT __stdcall get_CurrentAnnotationIndex (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall put_CurrentAnnotationIndex (
        /*[in]*/ long Value ) = 0;
      virtual HRESULT __stdcall get_BinaryImage (
        /*[out,retval]*/ VARIANT * Value ) = 0;
      virtual HRESULT __stdcall raw_NonEmbeddedFonts_Add (
        /*[in]*/ BSTR FontName ) = 0;
      virtual HRESULT __stdcall raw_StartEngine (
        /*[in]*/ BSTR Email,
        /*[in]*/ BSTR Password ) = 0;
      virtual HRESULT __stdcall raw_GetCurrentPDFOutlineNode (
        /*[out,retval]*/ long * ReValue ) = 0;
      virtual HRESULT __stdcall get_ProtectionKeyLength (
        /*[out,retval]*/ enum TxCryptoKeyLength * Value ) = 0;
      virtual HRESULT __stdcall put_ProtectionKeyLength (
        /*[in]*/ enum TxCryptoKeyLength Value ) = 0;
      virtual HRESULT __stdcall raw_AddImageFromBitmapHandle (
        /*[in]*/ OLE_HANDLE AHandle,
        /*[in]*/ enum TxImageCompressionType Compression,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_AddImageFromBuffer (
        /*[in]*/ VARIANT * Buffer,
        /*[in]*/ enum TxImageCompressionType Compression,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_AddImageFromMemory (
        /*[in]*/ LPSTR Buffer,
        /*[in]*/ long BufSize,
        /*[in]*/ enum TxImageCompressionType Compression,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_TextOutBox (
        /*[in]*/ long LTCornX,
        /*[in]*/ long LTCornY,
        /*[in]*/ long Interval,
        /*[in]*/ long BoxWidth,
        /*[in]*/ long BoxHeight,
        /*[in]*/ BSTR TextStr,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall get_FontEmbedStyle (
        /*[out,retval]*/ enum TxFontEmbeddingType * Value ) = 0;
      virtual HRESULT __stdcall put_FontEmbedStyle (
        /*[in]*/ enum TxFontEmbeddingType Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_UnicodeTextOut (
        /*[in]*/ double X,
        /*[in]*/ double Y,
        /*[in]*/ double Orientation,
        /*[in]*/ LPWSTR Text ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_UnicodeTextOutBox (
        /*[in]*/ long LTCornX,
        /*[in]*/ long LTCornY,
        /*[in]*/ long Interval,
        /*[in]*/ long BoxWidth,
        /*[in]*/ long BoxHeight,
        /*[in]*/ LPWSTR TextStr,
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_PDFPAGE_GetUnicodeTextWidth (
        /*[in]*/ LPWSTR Text,
        /*[out,retval]*/ double * Value ) = 0;
      virtual HRESULT __stdcall get_UseScreenDC (
        /*[out,retval]*/ VARIANT_BOOL * Value ) = 0;
      virtual HRESULT __stdcall put_UseScreenDC (
        /*[in]*/ VARIANT_BOOL Value ) = 0;
      virtual HRESULT __stdcall raw_GetUsedDCResolution (
        /*[out,retval]*/ long * Value ) = 0;
      virtual HRESULT __stdcall raw_GetUsedDC (
        /*[out,retval]*/ unsigned long * Value ) = 0;
      virtual HRESULT __stdcall get_MemoryFileSize (
        /*[out,retval]*/ long * Value ) = 0;
};

//
// Wrapper method implementations
//

#include "d:\skola\bc\semestralka\inks\inks\release\pdfcreatorpilot2.tli"

} // namespace PDFCreatorPilot2

#pragma pack(pop)
