Category Archives: Controls display

DDE : FileOpenEx

The specified PDF document is opened, and the screen is displayed. Two or more PDF files have already displayed to open in the front row in case of being.This DDE message is not added to the list to be able to manipulate the PDF document by using the DDE message. In that case, please use DocOpen.The difference with the FileOpen method is not waited for until the PDF document finishes opening. The following instruction is immediately executed. Syntax [FileOpenEx(char* fullPath)] Argument fullPath[char*] The full path of PDF file Returns true The PDF document is opened successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of … Continue reading DDE : FileOpenEx

DDE : FileOpen

The specified PDF document is opened, and displayed. Two or more PDF files have already displayed to open in the front row in case of being.This DDE message is not added to the list to be able to manipulate the PDF document by using the DDE message. In that case, please use DocOpen. Syntax [FileOpen(char* fullPath)] Argument fullPath[char*] The full path of PDF file Returns true The PDF document is opened successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The PDF document is opened. Please confirm the test by the step execution with F8 key. Sub DDE_FileOpen()    Dim … Continue reading DDE : FileOpen

DDE : DocSetViewMode

Only the bookmark, the thumbnail image, and the document change the view mode to the display.It doesn’t operate in Acrobat Reader. Syntax [DocSetViewMode(char* fullPath, char* viewType)] Argument fullPath[char*] The full path of the PDF file. It is necessary already to be opened by the Acrobat application. viewType[char*] The following character strings are specified with the view mode.    PDUseThumbs – ‘Page’ Display    PDUseNone – ‘Only document’ Display    PDUseBookmarks – ‘It does and descend’ The display. Returns true The view mode is set successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The view mode of Acrobat PDF is changed to … Continue reading DDE : DocSetViewMode

DDE : DocSaveAs

Specified PDF file is preserved by the alias naming the name. Preservation to PDF file on the same name comes. When preserving it, the optimization of PDF file (reduction of the size) is done.It doesn’t operate in Acrobat Reader. Syntax [DocSaveAs(char* fullPath, char* newPath)] Argument fullPath[char*] The full path in updated PDF file. It is necessary already to be opened by the Acrobat application. newPath[char*] The Full path in the new PDF file. Returns true The pages are saved successfully. false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel Specified PDF file is preserved and the name is preserved by … Continue reading DDE : DocSaveAs

DDE : DocSave

Specified PDF file is preserved. If PDF file has been changed, it is preserved in the state.It doesn’t operate in Acrobat Reader. Syntax [DocSave(char* fullPath)] Argument fullPath[char*] Full path in updated PDF file. It is necessary already to be opened by the Acrobat application. Returns true The pages are saved successfully. false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel   Specified PDF file is saved. Please confirm the test by the step execution with F8 key. Sub DDE_DocSave()    Dim lChanNo As Long     ‘DDE channel number    ‘A double quotation mark is added for blank starting full path.    Const CON_PDF_PATH = “””E:\Test01.pdf”””     … Continue reading DDE : DocSave

DDE : DocReplacePages

The page is replaced by using the page for which it is specified from source PDF document with specification PDF document.It doesn’t operate in Acrobat Reader. Syntax [DocReplacePages(char* fullPath,        long startDestPage,        char* sourcePath,        long startSourcePage,        long endSourcePage)] Argument fullPath[char*] Full path in updated PDF file. It is necessary already to be opened by the Acrobat application. startDestPage[long] Beginning page of replacement of PDF file specified by the first argument. sourcePath[char*] Full path file name of source PDF file. This file doesn’t have the necessity that has been opened. startSourcePage[long] Replacement beginning page number of source PDF file origin. endSourcePage[long] Replacement end page number of source PDF file origin. Returns true … Continue reading DDE : DocReplacePages

DDE : DocOpen

Acrobat (Or, Acrobat Reader) is returned to former size, and PDF file is displayed at the same time. It is possible to use it by both Acrobat and Acrobat Reader. Syntax [DocOpen(char* fullPath)] Argument fullPath [char*] The full path of PDF file Returns true The PDF document is opened successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The PDF document is opened. Please confirm the test by the step execution with F8 key. Sub DDE_DocOpen() Dim lChanNo     As Long     ‘DDE channel number     Dim strFilePath As String   ‘The full path of PDF file     ‘A double quotation mark is added … Continue reading DDE : DocOpen

DDE : DocInsertPages

Another PDF document is inserted after the page for which the PDF document is specified. It doesn’t operate in Acrobat Reader. Syntax [DocInsertPages(char* fullPath, long insertAfterPage, char* sourcePath)] Argument   fullPath [char*] The full path of updated PDF document. insertAfterPage [long] It is page number of insertion (insertion) beginning PDF file specified by the first argument. Page 1 is assumed to be 0. It begins from 0. sourcePath [char*] It is a full path name of the insertion origin. This PDF file need not been opened. Returns true The pages are inserted successfully. false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel.   Sample: … Continue reading DDE : DocInsertPages

DDE : DocDeletePages

The page specified with the PDF document is deleted. The demand of deleting all pages with the document is disregarded because there should be at least page 1 in the PDF document.It doesn’t operate in Acrobat Reader. Syntax [DocDeletePages(char* fullPath, long fromPage, long toPage)] Argument fullPath[char*] The full path of PDF document fromPage[long] The page number of the first page to be deleted.It begins from 0. toPage[long] The page number of the last page to be deleted.It begins from 0. Returns true The pages are deleted successfully. false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The PDF document from … Continue reading DDE : DocDeletePages

DDE : DocClose

The specified PDF document is shut. However, even if the PDF document has been changed, preservation is not done.Only Acrobat can be used. It is not possible to use it with Acrobat Reader. Syntax [DocClose(char* fullPath)] Argument fullPath[char*] The full path of PDF file Returns true The PDF document is closed successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The specified PDF document is shut. Please confirm the test by the step execution with F8 key. Sub DDE_DocClose()    Dim lChanNo     As Long ‘DDE channel number    Dim strFilePath As String ‘The full path of PDF file    ‘A double quotation mark is added … Continue reading DDE : DocClose