Skip to content

Commit

Permalink
v20180122
Browse files Browse the repository at this point in the history
Ajout CERBA
  • Loading branch information
RithyNicolasTAN authored Jul 18, 2018
1 parent 0640409 commit 0991c4d
Show file tree
Hide file tree
Showing 6 changed files with 512 additions and 0 deletions.
484 changes: 484 additions & 0 deletions PDF2BioWeb Automatique.au3

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions createpdf/createpdf.au3
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <File.au3>
#include <Array.au3>
#include "MPDF_UDF.au3"
_SetTitle("Pdf2HM")
_SetSubject("")
_SetKeywords("pdf")
_SetUnit($PDF_UNIT_CM)
_SetPaperSize("a4")
_SetZoomMode($PDF_ZOOM_CUSTOM, 90)
_SetOrientation($PDF_ORIENTATION_PORTRAIT)
_SetLayoutMode($PDF_LAYOUT_CONTINOUS)
_InitPDF(@ScriptDir & "\a.pdf")
Local $hFileOpenppdf = FileOpen(@ScriptDir & "\pdf.ntr", $FO_read)
$i = 0
$txt = FileReadLine($hFileOpenppdf)
While $txt <> ""
_LoadResImage("img" & $i, $txt)
$txt = FileReadLine($hFileOpenppdf)
$i = $i + 1
WEnd
$imax = $i - 1
For $i = 0 To $imax
_BeginPage()
_InsertImage("img" & $i, 0, 0, _GetPageWidth() / _GetUnit(), _GetPageHeight() / _GetUnit())
_EndPage()
Next
_ClosePDFFile()
FileClose($hFileOpenppdf)
Binary file added createpdf/createpdf.exe
Binary file not shown.
Binary file added hyperfile2xml.exe
Binary file not shown.
Binary file added libiconv2.dll
Binary file not shown.
Binary file added pdftk.exe
Binary file not shown.

0 comments on commit 0991c4d

Please sign in to comment.