Debenu PDF Viewer SDK - UDF v0.3

   (0 reviews)

1 Screenshot

About This File

This is a UDF for use Debenu PDF Viewer SDK - ActiveX component.

You can read more about this ActiveX component here:

http://www.debenu.com/products/development/debenu-pdf-viewer-sdk/

 

v 0.2

The main change is to add an event handler for followed events:

void zoomChanged( Double zoom);
Fired when current zoom is changed. Zoom value is passed in percent / 100. For example: 0.5 = 50%.

void vScrollbarChanged( Long max, Long value);
Fired when internal Vertical Scrollbar properties change, these values can be used to set external Vertical Scrollbars.

void hScrollbarChanged( Long max, Long value);
Fired when internal Vertical Scrollbar properties change, these values can be used to set external Vertical Scrollbars.

void pageChanged( Long currentPage);
Fired when current page has changed.

void pageCountChanged( Long pageCount);
Fired when current page count has changed. Usually after opening new Document.

void FocusGained( Long pOldWnd)
Fired when DPVS gains input focus and provides handle to focus loosing window.

void FocusLost( Long pNewWnd)
Fired when DPVS looses input focus and provides handle to focus gaining window.

void pageMouseDown( Long pageNum, Double xPos, Double xPos);
Fired when mouse button is pressed while hovering over PDF page. Provides page number and position transformed to PDF coordinates.

void pageMouseUp( Long pageNum, Double xPos, Double xPos);
Fired when mouse button is released while hovering over PDF page. Provides page number and position transformed to PDF coordinates.

void pageMouseMove( Long pageNum, Double xPos, Double xPos);
Fired when mouse pointer is moving over PDF page. Provides page number and position transformed to PDF coordinates.

 

 

2015/05/18   v0.3

added Function Header
added _DPVS_Button_End()
added _DPVS__GUI_FileName()
modified _DPVS__GUI_ChangeTitle()
modified error checking to _DPVS_OpenFile()
added _DPVS_CloseFile()
added _DPVS_OpenedFile()
modified _DPVS_SaveToFile()
added _DPVS_EventConsoleNotification()
modified all functions _DPVS_EVENT_..... - now using _DPVS_EventConsoleNotification()
added $g__fn_DPVS_EVENT_.....
modified all functions _DPVS_EVENT_..... - now using $g__fn_DPVS_EVENT_.....
Rename all functions _DPVS_Button..... >> _DPVS_Button_.....

 


What's New in Version v0.3

Released

    2015/05/18
    v0.3
        added Function Header
        added _DPVS_Button_End()
        added _DPVS__GUI_FileName()
        modified _DPVS__GUI_ChangeTitle()
        modified error checking to _DPVS_OpenFile()
        added _DPVS_CloseFile()
        added _DPVS_OpenedFile()
        modified _DPVS_SaveToFile()
        added _DPVS_EventConsoleNotification()
        modified all functions _DPVS_EVENT_..... - now using _DPVS_EventConsoleNotification()
        added $g__fn_DPVS_EVENT_.....
        modified all functions _DPVS_EVENT_..... - now using $g__fn_DPVS_EVENT_.....
        Renamed all functions _DPVS_Button..... >> _DPVS_Button_.....

 

2017/02/25 Added missed files DPViewer_v0.3.zip

 





User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

  • Similar Content

    • FrancescoDiMuro
      By FrancescoDiMuro
      Good morning
      I was looking around the forum if there were some customizable solutions about creating a PDF from "0" to something like a report...
      What I'd like to do is something with a header ( 2 logos and a title ), with a table which contains data read from a file
      At the moment, I was working with HTML, since I know it and it's very simple to do a table with some data inside...
      But know, I'm a bit stuck about the exporting the HTML page to PDF... And, here too, if someone knows how to do it, please, I'm here listening
      Thanks guys
       
    • FrancescoDiMuro
      By FrancescoDiMuro
      Good morning guys
      I'd like to know if there is a way to convert a PDF in CSV or, eventually, in TXT, in order to read from it, like a database...
      I have a PDF and I think ( I dind't search a lot on the forum ) with AutoIt, but I'd like work with Excel styles...
      Does anyone know a good program which convert PDF to CSV? 
      PS: the PDF file is 5 MB, and it contains 439 pages...
      Thanks everyone for the help
       
    • MagicFlute
      By MagicFlute
      Hi guys
      Looking to automate...I have PDF files...Need to convert them all to 2 pages each but more specifically, retain only the first and last.
      Searched a lot and hitting the wall....Any ideas? Just directions would do...
      Not sure how to "print to file" and I believe |ShellExecuteWait($sFilePath, " /h /p", "", "print", @SW_HIDE)| doesn't give options of what pages...
    • mLipok
      By mLipok
      ; #FUNCTION# ==================================================================================================================== ; Name ..........: _html2pdf ; Description ...: Convert HTML file to PDF file with htm2pdf.exe by Synopse ; Syntax ........: _html2pdf($sHTML_FileFullPath[, $sPDF_FileFullPath = Default[, $bDeleteHTML = False]]) ; Parameters ....: $sHTML_FileFullPath - a string value. HTML file full path. ; $sPDF_FileFullPath - [optional] a string value. Default value is Default -> $sHTML_FileFullPath & '.pdf' ; $bDeleteHTML - [optional] a boolean value. Default is False. ; Return values .: $sPDF_FileFullPath or set @error to 1 ; Author ........: mLipok ; Modified ......: ; Remarks .......: ; Related .......: ; Link ..........: http://blog.synopse.info/post/2010/07/14/htm2pdf-free-tool ; Example .......: No ; =============================================================================================================================== Func _html2pdf($sHTML_FileFullPath, $sPDF_FileFullPath = Default, $bDeleteHTML = False) If $sPDF_FileFullPath = Default Then $sPDF_FileFullPath = $sHTML_FileFullPath & '.pdf' Local $sINI_FileFullPath = @ScriptDir & '\htm2pdf.ini' IniWrite($sINI_FileFullPath, 'Settings', 'HTML', $sHTML_FileFullPath) IniWrite($sINI_FileFullPath, 'Settings', 'PDF', $sPDF_FileFullPath) IniWrite($sINI_FileFullPath, 'Settings', 'OpenAfterSave', '0') IniWrite($sINI_FileFullPath, 'Settings', 'ScaleToFit', '1') IniWrite($sINI_FileFullPath, 'Settings', 'Orientation', 0) IniWrite($sINI_FileFullPath, 'Settings', 'PaperSize', 0) IniWrite($sINI_FileFullPath, 'Margins', 'Left', 2) IniWrite($sINI_FileFullPath, 'Margins', 'Top', 1) IniWrite($sINI_FileFullPath, 'Margins', 'Right', 1) IniWrite($sINI_FileFullPath, 'Margins', 'Bottom', 1) ShellExecuteWait(@ScriptDir & '\htm2pdf.exe', '/silent', @ScriptDir) If Not FileExists($sPDF_FileFullPath) Then Return SetError(1, 0, '') Else If $bDeleteHTML Then FileDelete($sHTML_FileFullPath) Return $sPDF_FileFullPath EndIf EndFunc ;==>_html2pdf  
      http://blog.synopse.info/post/2010/07/14/htm2pdf-free-tool#main
      http://blog.synopse.info/post/2010/07/14/htm2pdf-free-tool
      http://synopse.info/forum/viewtopic.php?pid=187
      http://synopse.info/files/pdf/htm2pdf.zip
      mLipok
       
    • ur
      By ur
      Is there any API or functions to convert all office documents(excel,word,ppt,etc) and pdf to images (jps,bmp or convert any animation in ppt to swf or gif).
      It should convert all the pages in the document to individual image files.
       
      Please help me on this.