Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KenPanCS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
KenPanCS
Commits
e7d0cfdc
Commit
e7d0cfdc
authored
Mar 17, 2022
by
tsuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CSRender修正内容.adoc
parent
23f1987b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
248 additions
and
0 deletions
+248
-0
CSRender修正内容.adoc
Docs/CSRender修正内容/CSRender修正内容.adoc
+100
-0
Template.dio.png
Docs/CSRender修正内容/Images/Template.dio.png
+0
-0
tooldump1.png
Docs/CSRender修正内容/Images/tooldump1.png
+0
-0
config.adoc
Docs/CSRender修正内容/config.adoc
+148
-0
No files found.
Docs/CSRender修正内容/CSRender修正内容.adoc
0 → 100644
View file @
e7d0cfdc
:lang: ja
include::config.adoc[]
// custom css.
//:stylesdir: ./
//:stylesheet: edit.css
//:toc: left
//:imagesdir: Images
// Custom Icons(J)
//:icons: image
//:iconsdir: icons
//:icontype: png
//
{ExtendStyle}
// After need empty-one-line
= CSRender修正内容
[.text-right]
--
2022/03/17 辻
--
// tag::sub[]
== 概要
今回検版ツールを修正した内容を説明する文書です。
== 今回の修正箇所
* 検版するPDF毎でのレポート出力
* 出力するレポート名に検版結果(OK/NG)を明記
== 修正の詳細
=== 検版するPDF毎でのレポート出力
Tool使用後コメントシート抜粋::
----
No.2:検版結果は、ファイル単位で出力する様にしてほしい。
No.12:【検版レポート】検版結果のPDFファイルは別々のレポートを作成して欲しい。
----
修正内容::
* ファイル毎でPureVerifyを起動
PureVerifyのCLIツールを呼び出す際に、/inspTiffを引数に追加することで検版するPDFの画像を指定。
* PureVerifyの処理をマルチスレッドで処理
C#のParallelクラスを用い、検版するPDFファイルの数だけ実行されるPureVerifyの処理をマルチスレッド化。スレッドの上限は4に設定。
* GUIーのレポート名指定メニューをレポート出力フォルダ指定メニューに変更
今までは検版レポート名をパスを含めて自由に設定できたが、PDF毎に複数の検版レポートを出力するに伴い、出力先のフォルダパスを指定するのみのメニューに修正。
* レポートの記載内容を一部修正
レポートの記載内容を対象の各PDFファイルに沿った内容となるように修正。
=== 出力するレポート名に検版結果(OK/NG)を明記
Tool使用後コメントシート抜粋::
----
No.3:検版結果レポートを開かなくても、NGのPDFファイルが分かるようにしてほしい
No.13:検版結果のPDFファイルは従来検版ツールのレポートより分かりにくいです。レポートのファイル名を見ると、OK、NGはすぐに分かるようにして欲しい。
----
修正内容::
* 検版レポート名を対応するPDFファイル名に修正
検版レポートの名前を、検版したPDFのファイル名+実行した日時(年月日_時分)として出力するように修正。
* レポート名の接頭にOK/NGを付与
検版レポートの接頭に【OK】あるいは【NG】を付与し、エクスプローラー上から一目で検版結果を判断可能に修正。
(例:【NG】target.pdf【220317_1500】&1%1.pdf ← target.pdfというファイルを2022年3月17日15時0分に検版し、その結果がNGだった場合のレポートファイル名)
== 修正後の動作分析
処理時間::
[cols="4*", options="header"]
|===
|バージョン\ファイル数
|50ファイル
|100ファイル
|150ファイル
|前回配布時のツール
|0分36.98秒
|1分10.73秒
|1分42.97秒
|今回の修正版ツール
|3分31.97秒
|6分08.63秒
|9分03.73秒
|===
実行ボタンを押してから終了までの処理時間は、修正前からおよそ6倍の長さになった。これはPureVerifyを呼び出す回数と表示するコンソールが増えたためである(コンソールは処理終了から閉じるまでの間に数秒のsleepがあるため)。コンソールは前回ツールの時点で非表示にしてほしいとの要望が数件あり、今後の修正で非表示化することにより、もう少し時間を削減できる見込み(Pureverify内部の修正が必要)。一番削減を見込めるのは、1度のPureVerify呼び出しでPDFごとのレポートを生成することかなあと思います。
レポートの確認::
エクスプローラー上から一目でどのファイルがOK/NGなのか判別可能に。処理中であっても、出力先のフォルダをエクスプローラーで開いていれば、リアルタイムでOK/NGの判別が可能。名前の並び替えでOK/NGを一纏まりに表示できる。
image:tooldump1.png[]
以上
// end::sub[]
Docs/CSRender修正内容/Images/Template.dio.png
0 → 100644
View file @
e7d0cfdc
Docs/CSRender修正内容/Images/tooldump1.png
0 → 100644
View file @
e7d0cfdc
564 KB
Docs/CSRender修正内容/config.adoc
0 → 100644
View file @
e7d0cfdc
ifndef::_CONFIG_ADOC[]
// INCLUDE GUARD
:_CONFIG_ADOC: IncludeGuard
////
[コメント開始]
各種事前定義 ここでは最低限必要なものだけ定義、一覧説明をコメントブロックで記載しておく
定義が不要なら、//でコメントアウト、adoc毎に!(びっくりマーク)を追加すればよい
例. :sectnums!:
[コメント終了]
////
//-----------------------------------------------------------------------------------------------------
// 事前定義
:doctype: article
:toclevels: 3
:sectnums:
:sectnumlevels: 4
:sectlinks:
:icons: font
//[イメージのパスを指定]
:imagesdir: Images
// :lang: ja
ifeval::["{lang}" == "ja"]
:toc-title: 目次
:example-caption:
:caption:
//:example-caption: 例
:table-caption: 表
:figure-caption: 図
:preface-title: はじめに/まえがき
:appendix-caption: 付録
:caution-caption: 注意
:important-caption: 重要
:last-update-label: 最終更新
:listing-caption: リスト
:manname-title: 名前
:note-caption: 注記
:warning-caption: 警告
:tip-caption: ヒント
:untitled-label: 無題
:version-label: バージョン
endif::[]
ifeval::["{lang}" != "ja"]
:example-caption:
:caption:
endif::[]
// HTML出力で画像を埋め込む
:data-uri:
// 各種Macro拡張
:hardbreaks:
:experimental:
// Style拡張 [.XXXX]##hogehoge##で使用できる。{ExtendStyle}を表題の直前に記述する
// 属性の前に記載してはいけない。toc: leftなどが無効になる
// 拡張: [.nw]## <自動改行無効、複数空白文字OK> ## .nowrapでもOK。Tableの表幅調整に使用
:ExtendStyle: pass:none[ \
<style> \
.nw{display:inline-block;white-space:pre;} \
.nowrap{display:inline-block;white-space:pre;} \
</style>]
// obsolate
:NoWrap: pass:[<span style="display:inline-block;white-space:pre;">]
:Wrap: pass:[<span style="display:inline;white-space:pre;">]
:End: pass:[</span>]
// 改行 {br}
:br: pass:p[ +]
////
#### COMENT START #################
------------------------------------------------------------------
[ドキュメント毎に設定すべきもの]
:toc: left
:source-highlighter: coderay
:docname: = asciidoc
:author: my name
:revnumber: 0.9
:revdate: 2019/12/1
* 意味が不明なものは以下を参照
https://takumon.github.io/asciidoc-syntax-quick-reference-japanese-translation/
[属性定義]
:experimental: *各種マクロ拡張時に定義しておく
::module: *モジュール名
:Author: *著者名
:Email: *メールアドレス
:Date: *日付(2020/01/20)
:Revision: Rev.1 * リビジョン指定
:lang: ja * 言語指定
:doctype: book * 言語の種類(ja,...)
:description: * 説明???
:docname: ドキュメント名 * ドキュメント説明
[イメージのパスを指定]
:imagesdir: ./_images
[ソースハイライト]
:source-highlighter: coderay
[見出し設定]
:sectnums:
セクションに番号On, Offのときはコメントアウトもしくは"!""
[キャプチャーのラベル、不要なときは、空指定]
:chapter-label:
[目次作成]
:toc: left
目次 left,right,macro macroの場合は挿入箇所でtoc::[]を記述する
[目次のタイトル]
:toc-title:
[目次 階層レベル]
:toclevels: 3
[各ラベルの日本語設定]
:preface-title: はじめに/まえがき
:appendix-caption: 付録
:caution-caption: 注意
:example-caption: 例
:figure-caption: 図
:important-caption: 重要
:last-update-label: 最終更新
:listing-caption: リスト
:manname-title: 名前
:note-caption: 注記
:toc-title: 目次
:table-caption: 表
:warning-caption: 警告
:tip-caption: ヒント
:untitled-label: 無題
:version-label: バージョン
#### COMENT END #################
////
// End of ::_CONFIG_ADOC[]
endif::[]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment