1). Boolean values(布尔类型):
true or false
2). Integer and real numbers(数字类型)
其中实数收到范围和精度的限制;它们经常采用fixed-point形式而不是floating-point形式. 范围和精度受内部表述和消费者应用程序的限制.
123 43445 +17 −98 0
34.5 −3.62 +123.6 4. −.002 0.0
3). Strings(字符串类型):
可以是literal序列也可以是16进制数据.
literal数据用()来闭合; 16进制数据用<>来闭合.
( This is a string )
( Strings may contain newlines
and such . )
( Strings may contain balanced parentheses ( ) and
special characters ( * ! & } ^ % and so on ) . )
( The following is an empty string . )
( )
( It has zero ( 0 ) length . )
< 4E6F762073686D6F7A206B6120706F702E >
转义符:
/n 换行
/r 回车
/t 制表符
/b 退格
/f 换页
/( 左括号
/) 右括号
// 斜杠
/ddd 八进制表示
( This string contains /245two octal characters/307 . )
4). Names(名称类型)
通常前面有个/
/Name1
/ASomewhatLongerName
/A;Name_With−Various***Characters?
/1 . 2
/$$
/@pattern
/. notdef
/Adobe#20Green Adobe Green
/PANTONE#205757#20CV PANTONE 5757 CV
/paired#28#29parentheses paired( )parentheses
/The_Key_of_F#23_Minor The_Key_of_F#_Minor
/A#42 AB
5). Arrays(数组类型)
[ 549 3.14 false ( Ralph ) /SomeName ]
6). Dictionaries(字典类型)
<< /Type /Example
/Subtype /DictionaryExample
/Version 0 . 01
/IntegerItem 12
/StringItem ( a string )
/Subdictionary << /Item1 0 . 4
/Item2 true
/LastItem ( not ! )
/VeryLastItem ( OK )
>>
>>
7). Streams(流类型)
dictionary
stream
… Zero or more bytes …
endstream
8). The null object(空对象)
null
Additional object:
Reference object: 应用对象
5 0 R
PDF----基本数据对象
最新推荐文章于 2023-05-05 13:26:08 发布