PDF Watermark について
PDF Watermark は、透かしやページ番号、ヘッダー、フッター、スタンプ、ラベルを文書に加えるためのスキルです。一括処理も案内しますが、透かしの実処理は行わず、手順を提示します。
主な機能
- 01テキスト・画像の透かし
- 02各種ページ番号形式
- 03ヘッダーとフッター
- 04スタンプ、ラベル、Bates 番号
- 05文書の一括処理
活用シーン
- 01草稿や機密 PDF への表示追加
- 02レポートへのページ番号追加
- 03ヘッダーとフッターの統一
- 04法律文書への一括ラベル付け
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ claude-office-skills/ skills --skill pdf-watermarkインストール後、Claude Code で/pdf-watermarkを入力して読み込まれたか確認します。
詳細
PDF の透かしとページ要素
PDF ドキュメントに透かし、ページ番号、ヘッダー、フッター、その他のオーバーレイ要素を追加します。
概要
このスキルでは、次のことができます。
- テキストまたは画像の透かしを追加する
- ページ番号を挿入する
- ヘッダーとフッターを作成する
- スタンプとラベルを適用する
- 複数のドキュメントを一括処理する
使用方法
透かし
"Add 'CONFIDENTIAL' watermark to this PDF"
"Apply a diagonal 'DRAFT' watermark"
"Add our company logo as a watermark"
ページ番号
"Add page numbers to this PDF"
"Number pages starting from page 3"
"Add 'Page X of Y' at the bottom center"
ヘッダー/フッター
"Add a header with the document title"
"Create a footer with date and page number"
"Add company name to every page header"
透かしのオプション
テキストの透かし
## Text Watermark Configuration
### Content
- **Text**: CONFIDENTIAL
- **Font**: Arial Bold
- **Size**: 72 pt
- **Color**: #FF0000 (Red)
- **Opacity**: 30%
### Position
- **Placement**: Center
- **Rotation**: 45° diagonal
- **Offset X**: 0
- **Offset Y**: 0
### Pages
- **Apply to**: All pages / First only / Custom range
- **Skip pages**: [None]
### Preview
╔════════════════════════╗
║ ║
║ C O N F I D E N ║
║ T I A L ║
║ ║
╚════════════════════════╝
画像の透かし
## Image Watermark Configuration
### Image
- **File**: logo.png
- **Size**: 200 x 100 px
- **Opacity**: 20%
- **Maintain aspect ratio**: Yes
### Position
| Preset | Description |
|--------|-------------|
| Center | Middle of page |
| Top-right | Corner logo |
| Bottom-center | Footer area |
| Tile | Repeated pattern |
### Current Setting
- **Position**: Bottom-right corner
- **Margin**: 20px from edges
- **Behind text**: Yes (background)
透かしのプリセット
| プリセット | テキスト | スタイル | 用途 |
|---|---|---|---|
| Draft | DRAFT | グレー、斜め、50% | 作業中 |
| Confidential | CONFIDENTIAL | 赤、斜め、30% | 機密文書 |
| Copy | COPY | 青、水平、25% | 複製 |
| Approved | APPROVED | 緑、スタンプ形式 | 承認 |
| Sample | SAMPLE | グレー、タイル状 | デモ用ドキュメント |
| Do Not Copy | DO NOT COPY | 赤、斜め、40% | 複製禁止 |
ページ番号
設定オプション
## Page Numbering Configuration
### Format
| Style | Example |
|-------|---------|
| Simple | 1, 2, 3 |
| Page X | Page 1 |
| X of Y | 1 of 25 |
| Section | 1-1, 1-2 |
| Roman | i, ii, iii |
| Letter | A, B, C |
### Position
| Location | Alignment |
|----------|-----------|
| Header | Left / Center / Right |
| Footer | Left / Center / Right |
### Current Setting
- **Format**: Page {n} of {total}
- **Position**: Footer, Center
- **Font**: Arial, 10pt
- **Start from**: Page 1
- **Skip pages**: Cover (page 1)
高度な番号付け
## Advanced Page Number Scheme
### Section-Based Numbering
| Pages | Format | Example |
|-------|--------|---------|
| 1 (Cover) | None | - |
| 2-5 (Front matter) | Roman | i, ii, iii, iv |
| 6-100 (Body) | Arabic | 1, 2, 3... |
| 101-110 (Appendix) | Letter | A-1, A-2 |
### Prefix/Suffix
- **Prefix**: "Page "
- **Suffix**: " - Company Name"
- **Result**: "Page 5 - Company Name"
ヘッダーとフッター
ヘッダーの設定
## Header Setup
### Layout (3-column)
| Left | Center | Right |
|------|--------|-------|
| [Logo] | Document Title | [Date] |
### Styling
- **Font**: Arial, 10pt
- **Color**: #333333
- **Line below**: Yes, 0.5pt gray
### Dynamic Fields
| Field | Code | Output |
|-------|------|--------|
| Page number | {page} | 5 |
| Total pages | {pages} | 25 |
| Date | {date} | Jan 29, 2026 |
| Time | {time} | 14:30 |
| Filename | {filename} | report.pdf |
| Title | {title} | Q4 Report |
フッターの設定
## Footer Setup
### Layout
| Left | Center | Right |
|------|--------|-------|
| © 2026 Company | Confidential | Page {page} of {pages} |
### Styling
- **Font**: Arial, 9pt
- **Color**: #666666
- **Line above**: Yes, 0.5pt gray
- **Margin from bottom**: 0.5 inch
スタンプとラベル
スタンプのオプション
## Document Stamps
### Preset Stamps
| Stamp | Style | Color |
|-------|-------|-------|
| APPROVED | ✓ Checkmark | Green |
| REJECTED | ✗ X mark | Red |
| REVIEWED | ○ Circle | Blue |
| PENDING | △ Triangle | Yellow |
| FINAL | ▢ Box | Black |
### Custom Stamp
- **Text**: SIGNED
- **Date**: Include date below
- **Name**: Include name line
- **Style**: Official stamp look
ベイツ番号
## Bates Numbering (Legal)
### Configuration
- **Prefix**: ABC-
- **Start**: 000001
- **Suffix**: -2026
- **Position**: Bottom right
### Example
ABC-000001-2026
ABC-000002-2026
ABC-000003-2026
...
### Across Multiple Documents
| Document | Start | End |
|----------|-------|-----|
| doc1.pdf (50 pages) | ABC-000001 | ABC-000050 |
| doc2.pdf (30 pages) | ABC-000051 | ABC-000080 |
| doc3.pdf (25 pages) | ABC-000081 | ABC-000105 |
一括処理
透かしの一括処理ジョブ
## Batch Watermark Application
### Input
- **Folder**: /documents/contracts/
- **Files**: 25 PDFs
- **Total Pages**: 450
### Watermark Settings
- **Type**: Text
- **Text**: CONFIDENTIAL
- **Style**: Diagonal, 30% opacity, red
### Progress
| File | Pages | Status |
|------|-------|--------|
| contract_001.pdf | 15 | ✅ Complete |
| contract_002.pdf | 22 | ✅ Complete |
| contract_003.pdf | 18 | ⏳ Processing |
| ... | ... | ... |
### Results
- Processed: 25/25 files
- Total pages watermarked: 450
- Output folder: /documents/contracts_watermarked/
出力例
透かしレポート
## Watermark Application Report
### Document
- **Input**: quarterly_report.pdf
- **Output**: quarterly_report_watermarked.pdf
- **Pages**: 45
### Applied Elements
| Element | Details | Pages |
|---------|---------|-------|
| Watermark | "CONFIDENTIAL" diagonal | All |
| Logo | Company logo, bottom-right | All |
| Page numbers | "Page X of Y", footer center | 2-45 |
| Header | Title + Date | All |
| Footer | Copyright notice | All |
### Verification
- [ ] Watermark visible but not obscuring content
- [ ] Page numbers sequential and correct
- [ ] Headers/footers properly positioned
- [ ] No content overlap issues
ツールのおすすめ
オンラインツール
- SmallPDF:簡単に透かしを追加できます
- ILovePDF:ページ番号の追加に適しています
- PDF24:無料で、設定可能です
- Sejda:多くのオプションがあります
デスクトップソフトウェア
- Adobe Acrobat Pro:細かく制御できます
- Foxit PDF Editor:優れた機能を備えています
- PDF-XChange:多くのオプションがあります
- Preview (Mac):基本機能のみです
プログラムによる処理
- pdf-lib (JavaScript):細かく制御できます
- PyPDF2 (Python):基本的な透かしに対応します
- iText (Java/.NET):プロフェッショナル向けです
- PDFBox (Java):優れたオプションを備えています
制限事項
- 実際の透かし処理は実行できません(手順を案内します)
- 画像の透かしには適切な解像度が必要です
- セキュリティ保護された PDF の中には変更できないものがあります
- 複雑な透かしはファイルサイズを増加させることがあります
- ページサイズが異なると、位置が変わることがあります
- テキストの透かしは、フォントの利用可否に影響されます
コメント
Markdown 対応