// 中国語注釈サンプル手順
procedure AddChineseAnnotationExamples(PDF: THotPDF);
begin
WriteLn('中国語注釈を追加中...');
// ページタイトル
PDF.CurrentPage.TextOut(50, 60, 0, 'Chinese Annotations - 中国語注釈サンプル:');
// 簡体字中国語重要お知らせ
PDF.CurrentPage.AddTextAnnotation(
WideString('重要なお知らせ:これは重要な中国語注釈です。' + #13#10 +
'関連内容を注意深く読み、要求に従って実行してください。' + #13#10 +
'ご不明な点がございましたら、担当者までお問い合わせください。'),
Rect(50, 75, 70, 95), True, taComment, clRed
);
// キー情報注釈
PDF.CurrentPage.AddTextAnnotation(
WideString('キー情報:ここには重要な技術パラメータが含まれています' + #13#10 +
'データの正確性は複数回の検証により確認されています。'),
Rect(80, 80, 100, 100), False, taKey, $0080FF // オレンジ色
);
// ヘルプ説明注釈
PDF.CurrentPage.AddTextAnnotation(
WideString('ヘルプ説明:クリックして詳細な操作ガイドを表示' + #13#10 +
'このヘルプドキュメントは完全な使用説明を提供します。'),
Rect(110, 80, 130, 100), False, taHelp, clBlue
);
// 備考情報注釈
PDF.CurrentPage.AddTextAnnotation(
WideString('備考情報:補足説明と参考資料' + #13#10 +
'この備考は追加の背景情報を提供します。'),
Rect(140, 80, 160, 100), False, taNote, clGreen
);
// 繁体字中国語注釈
PDF.CurrentPage.AddTextAnnotation(
WideString('繁体字中国語:これは繁体字中国語注釈サンプルです' + #13#10 +
'香港、マカオ、台湾地域のドキュメント処理ニーズに適用されます。'),
Rect(170, 80, 190, 100), False, taInsert, $800080 // 紫色
);
end;