Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 1.make_csdrg_pdf.vbs → V1/1.make_csdrg_pdf.vbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Set objShell = CreateObject("WScript.Shell")
objShell.Run "python.exe """ & CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "\make_csdrg_pdf.py""", 1, True
Set objShell = CreateObject("WScript.Shell")
objShell.Run "python.exe """ & CreateObject("Scripting.FileSystemObject").GetParentFolderName(WScript.ScriptFullName) & "\make_csdrg_pdf.py""", 1, True
32 changes: 16 additions & 16 deletions 2.run_pdf_validation.vbs → V1/2.run_pdf_validation.vbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Option Explicit
Dim shell
Dim fso
Dim folder
Set shell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
folder = fso.GetParentFolderName(WScript.ScriptFullName)
shell.CurrentDirectory = folder
shell.Run "py pdf_checker.py", 0, True
MsgBox "PDF QA Finished!", vbInformation
Option Explicit

Dim shell
Dim fso
Dim folder

Set shell = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")

folder = fso.GetParentFolderName(WScript.ScriptFullName)

shell.CurrentDirectory = folder

shell.Run "py pdf_checker.py", 0, True

MsgBox "PDF QA Finished!", vbInformation
File renamed without changes.
197 changes: 98 additions & 99 deletions Report.html → V1/Report.html
Original file line number Diff line number Diff line change
@@ -1,99 +1,98 @@

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>PDF QA Validation Report</title>

<style>

body{
font-family:Arial;
margin:40px;
}

table{
border-collapse:collapse;
width:100%;
}

th,td{
border:1px solid black;
padding:8px;
}

th{
background:#EAEAEA;
}

h1{
margin-bottom:5px;
}

.summary{
margin-top:20px;
margin-bottom:20px;
line-height:1.8;
}

</style>

</head>

<body>

<h1>PDF QA Validation Report</h1>

<hr>

<div class="summary">

<b>Folder</b><br>

J:\bdm\sandbox\kevin\RG

<br><br>

<b>Total PDF :</b> 1<br>
<b>PASS :</b> 0<br>
<b>FAIL :</b> 1

</div>

<table>

<tr>
<th>File</th>
<th>Pages</th>
<th>Fast Web View</th>
<th>Title</th>
<th>Author</th>
<th>Subject</th>
<th>Keywords</th>
<th>Result</th>
<th>Reason</th>
</tr>


<tr>
<td>csdrg.pdf</td>
<td align="right">27</td>
<td>No</td>
<td>Empty</td>
<td>Empty</td>
<td>Empty</td>
<td>Empty</td>
<td>FAIL</td>
<td>Fast Web View</td>
</tr>


</table>

</body>

</html>
<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>PDF QA Validation Report</title>

<style>

body{{
font-family:Arial;
margin:40px;
}}

table{{
border-collapse:collapse;
width:100%;
}}

th,td{{
border:1px solid black;
padding:8px;
}}

th{{
background:#EAEAEA;
}}

h1{{
margin-bottom:5px;
}}

.summary{{
margin-top:20px;
margin-bottom:20px;
line-height:1.8;
}}

</style>

</head>

<body>

<h1>PDF QA Validation Report</h1>

<hr>

<div class="summary">

<b>Folder</b><br>

J:\bdm\sandbox\kevin\RG

<br><br>

<b>Total PDF :</b> 1<br>
<b>PASS :</b> 0<br>
<b>FAIL :</b> 1

</div>

<table>

<tr>
<th>File</th>
<th>Pages</th>
<th>Fast Web View</th>
<th>Title</th>
<th>Author</th>
<th>Subject</th>
<th>Keywords</th>
<th>Result</th>
<th>Reason</th>
</tr>


<tr>
<td>csdrg.pdf</td>
<td align="right">27</td>
<td>No</td>
<td>Empty</td>
<td>Empty</td>
<td>Empty</td>
<td>Empty</td>
<td>FAIL</td>
<td>Fast Web View</td>
</tr>


</table>

</body>

</html>
Loading