Skip to main content
Interwork Corporation
IDR Solutions Product Support Portal
PDF開発用語集 モードの切替 ダーク/ライト/自動 モードの切替 ダーク/ライト/自動 モードの切替 ダーク/ライト/自動

COSNumber

概要

COSNumberは、Apache PDFBoxのCOS(Carousel Object Structure)レイヤーにおける基礎クラスであり、PDFドキュメント内の数値を表現します。COSレイヤーは、PDF仕様 ( Citation: N.A., (N.A.). (). Document management — Portable document format — Part 2: PDF 2.0 International Organization for Standardization Retrieved from https://www.iso.org/standard/75839.html ) で定義されているプリミティブデータ型に直接マッピングされるJavaオブジェクトを提供します。COSNumberは、PDFファイル構造に現れる整数値と浮動小数点数値の両方を扱います。

定義

COSNumberは、Apache PDFBoxにおけるPDF処理の最下層レベルで数値オブジェクトを表現する抽象基底クラスです。このクラスは、2つの具象実装クラスの親クラスとして機能します:COSInteger(整数用)とCOSFloat(小数用)です。PDFコンテンツを扱うための便利な抽象化を提供する上位レベルのPDFBoxクラスとは異なり、COSNumberは ( Citation: N.A., (N.A.). (). Document management — Portable document format — Part 2: PDF 2.0 International Organization for Standardization Retrieved from https://www.iso.org/standard/75839.html ) で定義されているプリミティブデータ構造を直接操作するため、低レベルのPDF操作タスクに不可欠です。

全投稿を閲覧 gdoc_arrow_right_alt