PDFファイルを作成した後に、「ページの前後を入れ替えたい」「不要なページを削除したい」「誤字や脱字を直したい」といった修正をしたくなることは多い。 しかし、無料のAcrobat Readerでは上記のような修正ができない。同アプリは、PDFを閲覧するために開発されているため、本格的な修正や編集機能は搭載しないのだ(図1)。
複数のPDFファイルを1つに結合するには 異なるアプリケーションで作成したPDFファイルなどを1つに結合して、1つのPDFファイルにして送付したいということはないだろうか。本Tech TIPSでは、無料で複数のPDFファイルを結合する方法を3種類紹介する。 見積書や請求書、仕様書など、PCで作成した文書をPDFファイルにして保存しておいたり、他人に送付したりすることも多い。Microsoft Officeでは、デフォルトでPDFファイルへの出力をサポートしており、この機能を使ってMicrosoft WordやExcelの文書をPDFファイルにしている人も多いと思う。 ただ、単一のアプリケーションで作成したドキュメント類をPDFファイルにするのは簡単だが、異なるアプリケーションで作成したドキュメント類をまとめて1つのPDFファイルにするとなると意外と難しい。 そこで、本Tech TIPSでは
書類をオンラインでやり取りする機会が増えるにつれ、利用頻度が増しているのがPDFだ。Wordなどの文書ファイルは環境によっては開けないだけでなく、改ざんされるというリスクもある。PDFにすれば、体裁を崩さずに改ざんしづらいファイルにできるため、社外とのやり取りや、〝正式〟な文書として保管する書類ほど、PDFにすることが多い。 簡単に改ざんできないことから、「PDFは編集できない」と思い込んでいる人もいるが、それは誤解だ。編集が禁止されていないPDFなら、無料のソフトでもコメントの追加や文字入力が可能。「Acrobat Pro」などの有料ソフトを使えば内容も編集できる。 無料ソフトの筆頭は、PDFの開発元であるアドビの「Acrobat Reader」。閲覧に便利な機能を備えるのはもちろん、PDFへの入力やコメントの追加も可能。ひな型への入力から書類の校正・チェックまで、パソコン上で完結できる
PDFを見るだけならWebブラウザーでもよいが、最近ではPDFを回覧してチェックを入れる機会も増えている。PDF上に線や文字で注釈を付けられるアプリを使えば、印刷やスキャンの手間が省け、入力した文字はそのまま修正時に利用できるので、テレワークでも重宝されている。 Acrobat Readerでは、画面右側のツールパネルから「コメント」を選択すると、注釈を付けるためのツールバーが開く(図1)。PDF上の任意の場所にコメントを付ける「ノート注釈」や、文字列に取り消し線やマーカーを引くツール、手描き用の描画ツールなどがそろっている。四角形や円などの図形も描けるので、ちょっとした修正を入れるには十分な機能だ。
はじめに docker-asciidoctor によるPDF作成 よく使う docker-asciidoctor のオプション docker-asciidoctor のテーマファイル はじめに AsciiDoc で日本語を含む PDF を生成するには、asciidoctor-pdf を使うのが王道ですが、asciidoctor-pdf v1.5.0 以降ではフォントのフォールバック設定が除外されており、文字化けが発生します。 そんな時には、以下の作業を行います。 https://github.com/asciidoctor/asciidoctor-pdf/blob/main/data/themes/default-theme.yml からテーマファイルを取得して、以下のフォールバック設定を追加。 font: catalog: Noto Serif: ...略 M+ 1mn: ...略 #
Web上で扱うことも多いPDF。ただドキュメントとして表示するだけで、あえてJavaScriptから操作することは殆どないでしょう。しかし、JavaScriptとPDFが連携できるようになれば、もっと可能性が広がりそうです。 今回紹介するPDF-LIBはWebブラウザ、nodeのどちらからでも操作できるPDFライブラリです。 PDF-LIBの使い方 JavaScriptだけでPDFを作成しています。 既存のPDFにテキストを追加することもできます。 複数のPDFを一つにまとめることも。 画像を差し込むサンプル。 フォントを指定して実行。 メタデータを追加することもできます。 さらにSVGをPDFに描画します。 PDF-LIBは新規のPDFはもちろん、既存のPDFに手を加えることもできます。レポートを作るレベルになるとそれなりに難しそうですが、簡単な内容であればJavaScriptだけでPD
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く