// Generated .IDL file (by the OLE/COM Object Viewer) // // typelib filename: acrobat.tlb [ uuid(E64169B3-3592-47D2-816E-602C5C13F328), version(1.1), helpstring("Adobe Acrobat 10.0 Type Library"), custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 134218331), custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1426576623), custom(DE77BA65-517C-11D1-A2DA-0000F8773CE9, "Created by MIDL version 8.00.0603 at Tue Mar 17 00:17:01 2015 ") ] library Acrobat { // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("stdole2.tlb"); // Forward declare all types defined in this typelib interface CAcroApp; interface CAcroAVDoc; interface CAcroAVPageView; interface CAcroPDDoc; interface CAcroPDPage; interface CAcroPDTextSelect; interface CAcroPDAnnot; interface CAcroPDBookmark; interface CAcroRect; interface CAcroPoint; interface CAcroTime; interface CAcroHiliteList; interface IProvideESData; interface IAcroAXDoc; dispinterface _AcroAXDocEventSink; typedef [helpstring("Constants for zoom type.")] enum { AVZoomNoVary = 0, AVZoomFitPage = 1, AVZoomFitWidth = 2, AVZoomFitHeight = 3, AVZoomFitVisibleWidth = 4, AVZoomPreferred = 5 } AVZoomType; typedef [helpstring("Constants for page rotation.")] enum { pdRotate0 = 0, pdRotate90 = 90, pdRotate180 = 180, pdRotate270 = 270 } PDRotateFlags; typedef [helpstring("Constants for page view mode.")] enum { PDDontCare = 0, PDUseNone = 1, PDUseThumbs = 2, PDUseBookmarks = 3, PDFullScreen = 4 } PDViewMode; typedef [helpstring("Constants for PDDoc flags.")] enum { PDDocNeedsSave = 1, PDDocRequiresFullSave = 2, PDDocIsModified = 4, PDDocDeleteOnClose = 8, PDDocWasRepaired = 16, PDDocNewMajorVersion = 32, PDDocNewMinorVersion = 64, PDDocOldVersion = 128, PDDocSuppressErrors = 256, PDDocIsEmbedded = 512, PDDocIsLinearized = 1024, PDDocIsOptimized = 2048 } PDDocFlags; typedef [helpstring("Constants for PDDoc save flags.")] enum { PDSaveIncremental = 0, PDSaveFull = 1, PDSaveCopy = 2, PDSaveLinearized = 4, PDSaveWithPSHeader = 8, PDSaveBinaryOK = 16, PDSaveCollectGarbage = 32 } PDSaveFlags; typedef [helpstring("Constants for AVDoc open view mode.")] enum { AV_EXTERNAL_VIEW = 1, AV_DOC_VIEW = 2, AV_PAGE_VIEW = 4 } AVOpenParams; [ odl, uuid(9B4CD3E6-4981-101B-9CA8-9240CE2738AE), helpstring("The application itself"), dual, nonextensible, oleautomation ] interface CAcroApp : IDispatch { [id(0x00000001), helpstring("Exits the Acrobat viewer. Applications should call App.Exit() before exiting.")] HRESULT Exit([out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Hides the Acrobat viewer.")] HRESULT Hide([out, retval] VARIANT_BOOL* vbRet); [id(0x00000003), helpstring("Shows the Acrobat viewer.")] HRESULT Show([out, retval] VARIANT_BOOL* vbRet); [id(0x00000004), helpstring("Closes all open documents. You can close each individual AVDoc by calling AVDoc.Close().")] HRESULT CloseAllDocs([out, retval] VARIANT_BOOL* vbRet); [id(0x00000005), helpstring("Executes the menu item whose language-independent menu item name is specified.")] HRESULT MenuItemExecute( [in] BSTR szMenuItemName, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Gets the name of the currently active tool.")] HRESULT GetActiveTool([out, retval] BSTR* sRet); [id(0x00000007), helpstring("Sets the active-tool to the tool whose name is specified.")] HRESULT SetActiveTool( [in] BSTR szButtonName, [in] long bPersistent, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000008), helpstring("Removes the specified button from the toolbar.")] HRESULT ToolButtonRemove( [in] BSTR szButtonName, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000009), helpstring("Is the specified toolbar button enabled?")] HRESULT ToolButtonIsEnabled( [in] BSTR szButtonName, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000a), helpstring("Removes the menu item whose language-independent menu item is specified.")] HRESULT MenuItemRemove( [in] BSTR szMenuItemName, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000b), helpstring("Is the specified menu item enabled?")] HRESULT MenuItemIsEnabled( [in] BSTR szMenuItemName, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000c), helpstring("Is the specified menu item marked?")] HRESULT MenuItemIsMarked( [in] BSTR szMenuItemName, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000d), helpstring("Gets the number of open AcroExch.AVDocs.")] HRESULT GetNumAVDocs([out, retval] long* lRet); [id(0x0000000e), helpstring("Gets an AcroExch.AVDoc by its index in the list of open AVDocs. Use App.GetNumAVDocs () to get the number of AVDocs.")] HRESULT GetAVDoc( [in] long lIndex, [out, retval] IDispatch** ret); [id(0x0000000f), helpstring("Gets the frontmost document.")] HRESULT GetActiveDoc([out, retval] IDispatch** ret); [id(0x00000010), helpstring("Gets a code that specifies which language the Acrobat viewer's user interface is using.")] HRESULT GetLanguage([out, retval] BSTR* sRet); [id(0x00000011), helpstring("Locks the Acrobat viewer.")] HRESULT Lock( [in] BSTR szLockedBy, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000012), helpstring("Obsolete: One should use UnLockEx (szLockedBy As String)")] HRESULT Unlock([out, retval] VARIANT_BOOL* vbRet); [id(0x00000013), hidden, helpstring("Deprecated. Use SetPreferenceEx.")] HRESULT SetPreference( [in] short nType, [in] long lValue, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000014), hidden, helpstring("Deprecated. Use GetPreferenceEx.")] HRESULT GetPreference( [in] short nType, [out, retval] long* lRet); [id(0x00000015), helpstring("Maximizes the Acrobat viewer.")] HRESULT Maximize( [in] long vbMaximize, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000016), helpstring("Sets the window's frame to the specified rectangle.")] HRESULT SetFrame( [in] IDispatch* pRect, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000017), helpstring("Gets the window's frame.")] HRESULT GetFrame([out, retval] IDispatch** ret); [id(0x00000018), helpstring("Minimizes the Acrobat viewer.")] HRESULT Minimize( [in] long vbMinimize, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000019), helpstring("Restores the Acrobat viewer.")] HRESULT Restore( [in] long vbRestore, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000001a), helpstring("Unlocks the Acrobat viewer if it was previously locked. Specify the application as a string.")] HRESULT UnlockEx( [in] BSTR sLockedBy, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000001b), helpstring("method GetInterface")] HRESULT GetInterface( [in] BSTR name, [out, retval] IDispatch** ret); [id(0x0000001c), helpstring("Sets a value in the preferences file.")] HRESULT SetPreferenceEx( [in] short nType, [in] VARIANT* val, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000001d), helpstring("Gets a value from the preferences file.")] HRESULT GetPreferenceEx( [in] short nType, [out, retval] VARIANT* vRet); }; [ odl, uuid(9B4CD3E8-4981-101B-9CA8-9240CE2738AE), helpstring("A document as seen in the user interface."), dual, nonextensible, oleautomation ] interface CAcroAVDoc : IDispatch { [id(0x00000001), helpstring("Opens a file.")] HRESULT Open( [in] BSTR szFullPath, [in] BSTR szTempTitle, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Gets the associated CAcroPDDoc.")] HRESULT GetPDDoc([out, retval] IDispatch** ret); [id(0x00000003), helpstring("Gets the associated CAcroAVPageView.")] HRESULT GetAVPageView([out, retval] IDispatch** ret); [id(0x00000004), helpstring("Sets the mode in which the document will be viewed.")] HRESULT SetViewMode( [in] long nType, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000005), helpstring("Finds the specified text.")] HRESULT FindText( [in] BSTR szText, [in] long bCaseSensitive, [in] long bWholeWordsOnly, [in] long bReset, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Closes a document. You can close all open AVDocs by calling App.CloseAllDocs().")] HRESULT Close( [in] long bNoSave, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000007), helpstring("Gets the current document view mode.")] HRESULT GetViewMode([out, retval] long* vlRet); [id(0x00000008), helpstring("Prints a specified range of pages.")] HRESULT PrintPages( [in] long nFirstPage, [in] long nLastPage, [in] long nPSLevel, [in] long bBinaryOk, [in] long bShrinkToFit, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000009), helpstring("Clears the current selection.")] HRESULT ClearSelection([out, retval] VARIANT_BOOL* vbRet); [id(0x0000000a), helpstring("Brings the window to the front.")] HRESULT BringToFront([out, retval] VARIANT_BOOL* vbRet); [id(0x0000000b), helpstring("Gets the window's title.")] HRESULT GetTitle([out, retval] BSTR* sRet); [id(0x0000000c), helpstring("Maximizes the window if bMaxSize is true.")] HRESULT Maximize( [in] long vbMaximize, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000d), helpstring("Sets the window's title.")] HRESULT SetTitle( [in] BSTR szTitle, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000e), hidden, helpstring("Deprecated. Always returns false. Use OpenInWindowEx.")] HRESULT OpenInWindow( [in] BSTR szFullPath, [in] short hWnd, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000f), helpstring("Sets the document's selection to the specified text selection.")] HRESULT SetTextSelection( [in] IDispatch* iAcroPDTextSelect, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000010), helpstring("Changes the view so that the current text selection is visible.")] HRESULT ShowTextSelect([out, retval] VARIANT_BOOL* vbRet); [id(0x00000011), helpstring("Sets the window's size and location.")] HRESULT SetFrame( [in] IDispatch* rect, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000012), helpstring("Gets the rectangle specifying the window's size and location.")] HRESULT GetFrame([out, retval] IDispatch** ret); [id(0x00000013), helpstring("Determines whether the CAcroAVDoc is still valid.")] HRESULT IsValid([out, retval] VARIANT_BOOL* vbRet); [id(0x00000014), helpstring("Opens a PDF file and displays it in a user-specified window.")] HRESULT OpenInWindowEx( [in] BSTR szFullPath, [in] long hWnd, [in] long openFlgs, [in] long UseOpenParams, [in] long pgNum, [in] short pageMode, [in] short ZoomType, [in] long Zoom, [in] short Top, [in] short Left, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000015), helpstring("Prints a specified range of pages without displaying any dialog box.")] HRESULT PrintPagesSilent( [in] long nFirstPage, [in] long nLastPage, [in] long nPSLevel, [in] long bBinaryOk, [in] long bShrinkToFit, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000016), helpstring("Prints a specified range of pages. (Supports new print features.)")] HRESULT PrintPagesEx( [in] long nFirstPage, [in] long nLastPage, [in] long nPSLevel, [in] long bBinaryOk, [in] long bShrinkToFit, [in] long bReverse, [in] long bFarEastFontOpt, [in] long bEmitHalftones, [in] long iPageOption, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000017), helpstring("Prints a specified range of pages without displaying any dialog box. (Supports new print features.)")] HRESULT PrintPagesSilentEx( [in] long nFirstPage, [in] long nLastPage, [in] long nPSLevel, [in] long bBinaryOk, [in] long bShrinkToFit, [in] long bReverse, [in] long bFarEastFontOpt, [in] long bEmitHalftones, [in] long iPageOption, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000018), helpstring("Gets the associated CAcroPDDoc of the Collection's Parent. NULL if not a Collection.")] HRESULT GetParentPDDoc([out, retval] IDispatch** ret); }; [ odl, uuid(9B4CD3E9-4981-101B-9CA8-9240CE2738AE), helpstring("The window pane in which the document is drawn."), dual, nonextensible, oleautomation ] interface CAcroAVPageView : IDispatch { [id(0x00000001), helpstring("Goes to the specified page.")] HRESULT GoTo( [in] long nPage, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Zooms to a specified magnification.")] HRESULT ZoomTo( [in] short nType, [in] short nScale, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000003), helpstring("Scrolls to the specified location on the current page.")] HRESULT ScrollTo( [in] short nX, [in] short nY, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000004), helpstring("Scrolls backward through the document by "one screenfull."")] HRESULT ReadPageUp([out, retval] VARIANT_BOOL* vbRet); [id(0x00000005), helpstring("Scrolls forward through the document by "one screenfull."")] HRESULT ReadPageDown([out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Goes to the previous view on the view history stack, if any.")] HRESULT DoGoBack([out, retval] VARIANT_BOOL* vbRet); [id(0x00000007), helpstring("Goes to the next view on the view history stack, if any.")] HRESULT DoGoForward([out, retval] VARIANT_BOOL* vbRet); [id(0x00000008), helpstring("Gets the CAcroAVDoc associated with the current page.")] HRESULT GetAVDoc([out, retval] IDispatch** ret); [id(0x00000009), helpstring("Gets the CAcroPDPage corresponding to the current page.")] HRESULT GetPage([out, retval] IDispatch** ret); [id(0x0000000a), helpstring("Gets the CAcroPDDoc corresponding to the current page.")] HRESULT GetDoc([out, retval] IDispatch** ret); [id(0x0000000b), helpstring("Gets the current zoom factor, eg. 100")] HRESULT GetZoom([out, retval] long* lZoom); [id(0x0000000c), helpstring("Gets the current zoom type.")] HRESULT GetZoomType([out, retval] short* nZoomType); [id(0x0000000d), helpstring("Gets the page number of the page. (Document's first page is zero)")] HRESULT GetPageNum([out, retval] long* lPageNum); [id(0x0000000e), helpstring("Converts the coordinates of a point from user space to device space.")] HRESULT PointToDevice( [in] IDispatch* point, [out, retval] IDispatch** ret); [id(0x0000000f), helpstring("Converts the coordinates of a point from device space to user space.")] HRESULT DevicePointToPage( [in] IDispatch* point, [out, retval] IDispatch** ret); [id(0x00000010), helpstring("Gets the aperture of the specified page view.")] HRESULT GetAperture([out, retval] IDispatch** ret); }; [ odl, uuid(9B4CD3E7-4981-101B-9CA8-9240CE2738AE), helpstring("The underlying PDF representation of a document."), dual, nonextensible, oleautomation ] interface CAcroPDDoc : IDispatch { [id(0x00000001), helpstring("Opens a file.")] HRESULT Open( [in] BSTR szFullPath, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Closes a file.")] HRESULT Close([out, retval] VARIANT_BOOL* vbRet); [id(0x00000003), helpstring("Inserts pages into a file.")] HRESULT InsertPages( [in] long nInsertPageAfter, [in] IDispatch* iPDDocSource, [in] long lStartPage, [in] long lNumPages, [in] long lInsertFlags, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000004), helpstring("Replaces pages in a file with those from a specified file.")] HRESULT ReplacePages( [in] long nStartPage, [in] IDispatch* iPDDocSource, [in] long lStartSourcePage, [in] long lNumPages, [in] long bMergeTextAnnotations, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000005), helpstring("Deletes pages from a file.")] HRESULT DeletePages( [in] long nStartPage, [in] long nEndPage, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Gets the number of pages in a file.")] HRESULT GetNumPages([out, retval] long* lRet); [id(0x00000007), helpstring("Creates a new AcroExch.PDDoc.")] HRESULT Create([out, retval] VARIANT_BOOL* vbRet); [id(0x00000008), helpstring("Gets the value of a specified key in the document's info dictionary.")] HRESULT GetInfo( [in] BSTR sInfoKey, [out, retval] BSTR* sRet); [id(0x00000009), helpstring("Sets the value of a key in a document's info dictionary.")] HRESULT SetInfo( [in] BSTR sInfoKey, [in] BSTR szBuffer, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000a), helpstring("Deletes thumbnail images from the specified pages in a document.")] HRESULT DeleteThumbs( [in] long lStartPage, [in] long lEndPage, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000b), helpstring("Moves a page to another location within the same document.")] HRESULT MovePage( [in] long lMoveAfterThisPage, [in] long lPageToMove, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000c), helpstring("Gets the name of the file associated with this CAcroPDDoc.")] HRESULT GetFileName([out, retval] BSTR* sRet); [id(0x0000000d), helpstring("Gets a value indicating the current PDViewMode.")] HRESULT GetPageMode([out, retval] long* lRet); [id(0x0000000e), helpstring("Sets the Acrobat viewer to display one of the PDViewMode.")] HRESULT SetPageMode( [in] long nPageMode, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000f), helpstring("Creates thumbnail images for the specified page range in a document.")] HRESULT CreateThumbs( [in] long lFirstPage, [in] long lLastPage, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000010), helpstring("Creates a text selection from the specified rectangle on the specified page.")] HRESULT CreateTextSelect( [in] long lPage, [in] IDispatch* iAcroRect, [out, retval] IDispatch** lRet); [id(0x00000011), helpstring("Acquires the specified page.")] HRESULT AcquirePage( [in] long nPage, [out, retval] IDispatch** lRet); [id(0x00000012), helpstring("Gets the instance ID from the ID array in the document's trailer.")] HRESULT GetInstanceID([out, retval] BSTR* sRet); [id(0x00000013), helpstring("Gets the permanent ID from the ID array in the document's trailer.")] HRESULT GetPermanentID([out, retval] BSTR* sRet); [id(0x00000014), helpstring("Gets a document's PDDocFlags.")] HRESULT GetFlags([out, retval] long* lRet); [id(0x00000015), helpstring("Sets a document's PDDocFlags.")] HRESULT SetFlags( [in] long nFlags, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000016), helpstring("Opens a window and displays the document in it.")] HRESULT OpenAVDoc( [in] BSTR sTempTitle, [out, retval] IDispatch** lRet); [id(0x00000017), helpstring("Saves a document.")] HRESULT Save( [in] short nType, [in] BSTR sFullPath, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000018), helpstring("Clears a document's PDDocFlags.")] HRESULT ClearFlags( [in] long nFlags, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000019), hidden, helpstring("Deprecated. Always returns false.")] HRESULT SetOpenInfo( [in] long pgNum, [in] short viewMode, [in] BSTR magnification, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000001a), helpstring("Crops the specified pages.")] HRESULT CropPages( [in] long nStartPage, [in] long nEndPage, [in] short nOddOrEvenPagesOnly, [in] IDispatch* iAcroRect, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000001b), helpstring("Gets the JavaScript object for this document.")] HRESULT GetJSObject([out, retval] IDispatch** lRet); }; [ odl, uuid(9B4CD3EA-4981-101B-9CA8-9240CE2738AE), helpstring("A single page in the PDF representation of a document."), dual, nonextensible, oleautomation ] interface CAcroPDPage : IDispatch { [id(0x00000001), helpstring("Gets a page's width and height.")] HRESULT GetSize([out, retval] IDispatch** lRet); [id(0x00000002), helpstring("Gets the nth index annotation on the page.")] HRESULT GetAnnot( [in] long lIndex, [out, retval] IDispatch** lRet); [id(0x00000003), helpstring("Creates a new text annotation and adds it to the page.")] HRESULT AddNewAnnot( [in] long nIndexAddAfter, [in] BSTR szSubType, [in] IDispatch* pRectDispatch, [out, retval] IDispatch** lRet); [id(0x00000004), helpstring("Adds a specified annotation at a specified location.")] HRESULT AddAnnot( [in] long lIndexAddAfter, [in] IDispatch* pDispatch, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000005), helpstring("Removes the specified annotation.")] HRESULT RemoveAnnot( [in] long lIndex, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Gets the index of the specified annotation.")] HRESULT GetAnnotIndex( [in] IDispatch* pDispatch, [out, retval] long* lRet); [id(0x00000007), helpstring("Gets the number of annotations on the page.")] HRESULT GetNumAnnots([out, retval] long* lRet); [id(0x00000008), helpstring("Creates a text selection on a single page.")] HRESULT CreatePageHilite( [in] IDispatch* pAcroHiliteList, [out, retval] IDispatch** lRet); [id(0x00000009), helpstring("Creates a text selection on a single page.")] HRESULT CreateWordHilite( [in] IDispatch* pAcroHiliteList, [out, retval] IDispatch** lRet); [id(0x0000000a), helpstring("Gets the AcroExch.PDDoc associated with the page.")] HRESULT GetDoc([out, retval] IDispatch** lPDDocDispatch); [id(0x0000000b), helpstring("Gets the page number of the current page. (Document's first page is zero)")] HRESULT GetNumber([out, retval] long* lRet); [id(0x0000000c), helpstring("Draws page contents into a specified window.")] HRESULT Draw( [in] short nHWND, [in] short nHDC, [in] short nXOrigin, [in] short nYOrigin, [in] short nZoom, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000d), helpstring("Gets the rotation value for the current page.")] HRESULT GetRotate([out, retval] short* nRet); [id(0x0000000e), helpstring("Sets the rotation for the current page.")] HRESULT SetRotate( [in] short nRotate, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000f), helpstring("Draws page contents into a specified window.")] HRESULT DrawEx( [in] long nHWND, [in] long nHDC, [in] IDispatch* updateRect, [in] short nXOrigin, [in] short nYOrigin, [in] short nZoom, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000010), helpstring("Copies a PDF image to the clipboard.")] HRESULT CopyToClipboard( [in] IDispatch* boundRect, [in] short nXOrigin, [in] short nYOrigin, [in] short nZoom, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000011), helpstring("Crops the page.")] HRESULT CropPage( [in] IDispatch* rect, [out, retval] VARIANT_BOOL* vbRet); }; [ odl, uuid(9B4CD3EF-4981-101B-9CA8-9240CE2738AE), helpstring("A selection of text in the Acrobat viewer, as if a user had used the mouse to select a region of text."), dual, nonextensible, oleautomation ] interface CAcroPDTextSelect : IDispatch { [id(0x00000001), helpstring("Destroys a text selection.")] HRESULT Destroy([out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Gets the number of text elements in a text selection.")] HRESULT GetNumText([out, retval] long* lRet); [id(0x00000003), helpstring("Gets a text selection's bounding rectangle.")] HRESULT GetBoundingRect([out, retval] IDispatch** lRet); [id(0x00000004), helpstring("Gets the page number on which a text selection is located.")] HRESULT GetPage([out, retval] long* lRet); [id(0x00000005), helpstring("Gets the text from the specified element of a text selection.")] HRESULT GetText( [in] long lTextIndex, [out, retval] BSTR* sRet); }; [ odl, uuid(9B4CD3EB-4981-101B-9CA8-9240CE2738AE), helpstring("An annotation on a page in the PDF file."), dual, nonextensible, oleautomation ] interface CAcroPDAnnot : IDispatch { [id(0x00000001), helpstring("Tests whether or not an annotation is still valid.")] HRESULT IsValid([out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Gets an annotation's subtype.")] HRESULT GetSubtype([out, retval] BSTR* sRet); [id(0x00000003), helpstring("Determines whether or not an annotation is the same as the specified annotation.")] HRESULT IsEqual( [in] IDispatch* PDAnnot, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000004), helpstring("Gets an annotation's color.")] HRESULT GetColor([out, retval] long* lRet); [id(0x00000005), helpstring("Sets an annotation's color.")] HRESULT SetColor( [in] long nRGBColor, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Gets a text annotation's title.")] HRESULT GetTitle([out, retval] BSTR* sRet); [id(0x00000007), helpstring("Sets a text annotation's title.")] HRESULT SetTitle( [in] BSTR szTitle, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000008), helpstring("Gets a text annotation's contents.")] HRESULT GetContents([out, retval] BSTR* sRet); [id(0x00000009), helpstring("Sets a text annotation's contents.")] HRESULT SetContents( [in] BSTR szContents, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000a), helpstring("Tests whether or not a text annotation is open.")] HRESULT IsOpen([out, retval] VARIANT_BOOL* vbRet); [id(0x0000000b), helpstring("Opens or closes a text annotation.")] HRESULT SetOpen( [in] long bIsOpen, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000c), helpstring("Gets an annotation's bounding rectangle.")] HRESULT GetRect([out, retval] IDispatch** lRet); [id(0x0000000d), helpstring("Sets an annotation's bounding rectangle.")] HRESULT SetRect( [in] IDispatch* rect, [out, retval] VARIANT_BOOL* vbRet); [id(0x0000000e), helpstring("Gets an annotation's date.")] HRESULT GetDate([out, retval] IDispatch** lRet); [id(0x0000000f), helpstring("Sets an annotation's date.")] HRESULT SetDate( [in] IDispatch* lAcroTime, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000010), helpstring("Performs a link annotation's action.")] HRESULT Perform( [in] IDispatch* pAcroAVDoc, [out, retval] VARIANT_BOOL* vbRet); }; [ odl, uuid(9B4CD3F1-4981-101B-9CA8-9240CE2738AE), helpstring("A bookmark in a PDF file."), dual, nonextensible, oleautomation ] interface CAcroPDBookmark : IDispatch { [id(0x00000001), helpstring("Gets the bookmark that has a specified title.")] HRESULT GetByTitle( [in] IDispatch* pAcroPDDoc, [in] BSTR sBookmarkTitle, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000002), helpstring("Destroys a bookmark. Note: it is not possible to create a bookmark with OLE.")] HRESULT Destroy([out, retval] VARIANT_BOOL* vbRet); [id(0x00000003), helpstring("Tests whether or not the bookmark is valid.")] HRESULT IsValid([out, retval] VARIANT_BOOL* vbRet); [id(0x00000004), helpstring("Gets a bookmark's title (up to 256 characters).")] HRESULT GetTitle([out, retval] BSTR* sRet); [id(0x00000005), helpstring("Sets a bookmark's title.")] HRESULT SetTitle( [in] BSTR sNewTitle, [out, retval] VARIANT_BOOL* vbRet); [id(0x00000006), helpstring("Performs a bookmark's action.")] HRESULT Perform( [in] IDispatch* pAcroAVDoc, [out, retval] VARIANT_BOOL* vbRet); }; [ odl, uuid(9B4CD3ED-4981-101B-9CA8-9240CE2738AE), helpstring("AcroRect used by the AcroExch.App class"), dual, nonextensible, oleautomation ] interface CAcroRect : IDispatch { [id(0x00000001), propget, helpstring("property left")] HRESULT Left([out, retval] short* pVal); [id(0x00000001), propput, helpstring("property left")] HRESULT Left([in] short pVal); [id(0x00000002), propget, helpstring("property top")] HRESULT Top([out, retval] short* pVal); [id(0x00000002), propput, helpstring("property top")] HRESULT Top([in] short pVal); [id(0x00000003), propget, helpstring("property right")] HRESULT right([out, retval] short* pVal); [id(0x00000003), propput, helpstring("property right")] HRESULT right([in] short pVal); [id(0x00000004), propget, helpstring("property bottom")] HRESULT bottom([out, retval] short* pVal); [id(0x00000004), propput, helpstring("property bottom")] HRESULT bottom([in] short pVal); }; [ odl, uuid(9B4CD3EC-4981-101B-9CA8-9240CE2738AE), helpstring("AcroPoint used by the AcroPDPage class"), dual, nonextensible, oleautomation ] interface CAcroPoint : IDispatch { [id(0x00000001), propget, helpstring("property x")] HRESULT x([out, retval] short* pVal); [id(0x00000001), propput, helpstring("property x")] HRESULT x([in] short pVal); [id(0x00000002), propget, helpstring("property y")] HRESULT y([out, retval] short* pVal); [id(0x00000002), propput, helpstring("property y")] HRESULT y([in] short pVal); }; [ odl, uuid(9B4CD3EE-4981-101B-9CA8-9240CE2738AE), helpstring("AcroTime used by the AcroPDAnnot class"), dual, nonextensible, oleautomation ] interface CAcroTime : IDispatch { [id(0x00000001), propget, helpstring("property year")] HRESULT year([out, retval] short* pVal); [id(0x00000001), propput, helpstring("property year")] HRESULT year([in] short pVal); [id(0x00000002), propget, helpstring("property month")] HRESULT month([out, retval] short* pVal); [id(0x00000002), propput, helpstring("property month")] HRESULT month([in] short pVal); [id(0x00000003), propget, helpstring("property date")] HRESULT date([out, retval] short* pVal); [id(0x00000003), propput, helpstring("property date")] HRESULT date([in] short pVal); [id(0x00000004), propget, helpstring("property hour")] HRESULT hour([out, retval] short* pVal); [id(0x00000004), propput, helpstring("property hour")] HRESULT hour([in] short pVal); [id(0x00000005), propget, helpstring("property minute")] HRESULT minute([out, retval] short* pVal); [id(0x00000005), propput, helpstring("property minute")] HRESULT minute([in] short pVal); [id(0x00000006), propget, helpstring("property second")] HRESULT second([out, retval] short* pVal); [id(0x00000006), propput, helpstring("property second")] HRESULT second([in] short pVal); [id(0x00000007), propget, helpstring("property millisecond")] HRESULT millisecond([out, retval] short* pVal); [id(0x00000007), propput, helpstring("property millisecond")] HRESULT millisecond([in] short pVal); [id(0x00000008), propget, helpstring("property day")] HRESULT day([out, retval] short* pVal); [id(0x00000008), propput, helpstring("property day")] HRESULT day([in] short pVal); }; [ odl, uuid(9B4CD3F0-4981-101B-9CA8-9240CE2738AE), helpstring("A highlighted region of text in a PDF document."), dual, nonextensible, oleautomation ] interface CAcroHiliteList : IDispatch { [id(0x00000001), helpstring("Adds the specified highlight to the current highlight list.")] HRESULT Add( [in] short nOffset, [in] short nLength, [out, retval] VARIANT_BOOL* vbRet); }; [ odl, uuid(5781DED0-FB8B-11D3-9A92-005004A56D53), hidden ] interface IProvideESData : IUnknown { HRESULT _stdcall GetESObject(VARIANT* eso); HRESULT _stdcall GetESContext(VARIANT* esc); }; [ odl, uuid(08A9E040-9A9C-4F42-B5F5-2029B8F17E1D), helpstring("IAcroAXDoc Interface"), dual, nonextensible, oleautomation ] interface IAcroAXDoc : IDispatch { [id(0x000001f2), helpstring("Gets the Acrobat Application object")] HRESULT Application([out, retval] IDispatch** ret); [id(0x000001f1), helpstring("Gets the associated AV Document object")] HRESULT Document([out, retval] IDispatch** ret); }; [ uuid(2DEA7885-1846-411F-A41E-017A8FD778FF), helpstring("_AcroAXDocEventSink Interface") ] dispinterface _AcroAXDocEventSink { properties: methods: [id(0x00000001), helpstring("method Stop")] HRESULT Stop(); }; [ uuid(85DE1C45-2C66-101B-B02E-04021C009402), helpstring("AcroExch.App") ] coclass AcroApp { [default] interface CAcroApp; }; [ uuid(72498821-3203-101B-B02E-04021C009402), helpstring("AcroExch.AVDoc") ] coclass AcroAVDoc { [default] interface CAcroAVDoc; }; [ uuid(E0E2408B-F751-4C49-8543-A11266600EB6), noncreatable ] coclass AcroAVPageView { [default] interface CAcroAVPageView; }; [ uuid(FF76CB60-2E68-101B-B02E-04021C009402), helpstring("AcroExch.PDDoc") ] coclass AcroPDDoc { [default] interface CAcroPDDoc; }; [ uuid(F2366405-A204-405B-A116-FCE5C748E13B), noncreatable ] coclass AcroPDPage { [default] interface CAcroPDPage; }; [ uuid(06949FDA-C926-4FEC-A400-0DC3F3A16096), noncreatable ] coclass AcroPDTextSelect { [default] interface CAcroPDTextSelect; }; [ uuid(E4359BDB-59D1-4EAE-A7F8-7F24C308FAA4), noncreatable ] coclass AcroPDAnnot { [default] interface CAcroPDAnnot; }; [ uuid(2EAF0840-690A-101B-9CA8-9240CE2738AE), noncreatable ] coclass AcroPDBookmark { [default] interface CAcroPDBookmark; }; [ uuid(6D12C400-4E34-101B-9CA8-9240CE2738AE), helpstring("AcroExch.Rect") ] coclass AcroRect { [default] interface CAcroRect; }; [ uuid(335E7240-6B49-101B-9CA8-9240CE2738AE), helpstring("AcroExch.Point") ] coclass AcroPoint { [default] interface CAcroPoint; }; [ uuid(6D12C401-4E34-101B-9CA8-9240CE2738AE), helpstring("AcroExch.Time") ] coclass AcroTime { [default] interface CAcroTime; }; [ uuid(6D12C402-4E34-101B-9CA8-9240CE2738AE), helpstring("AcroExch.HiliteList") ] coclass AcroHiliteList { [default] interface CAcroHiliteList; }; [ uuid(B801CA65-A1FC-11D0-85AD-444553540000), helpstring("Adobe Acrobat 10.0 Document") ] coclass AcroAXDoc { [default] interface IAcroAXDoc; [default, source] dispinterface _AcroAXDocEventSink; }; };