User Tools

Site Tools


newtyping

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
newtyping [2017/10/05 12:48]
christian [PDF types in PDFtalk]
newtyping [2017/10/12 14:09] (current)
christian [Implementation]
Line 60: Line 60:
 When PDF objects are read from a file, the are syntactically differentiated as primitive object (Number, String, Name, Boolean etc.) or as Array, Dictionary or Stream. These are raw unspecified objects. When PDF objects are read from a file, the are syntactically differentiated as primitive object (Number, String, Name, Boolean etc.) or as Array, Dictionary or Stream. These are raw unspecified objects.
  
-When such an object is assigned to an attribute of a Dictionary or Array with ''​#at:​put:'',​ the types are checked and the raw object is specialized to a fitting subclass. The process can be explained best with a sequence diagram:+When such an object is assigned to an attribute of a Dictionary or Array with ''​at:​put:'',​ the types are checked and the raw object is specialized to a fitting subclass. The process can be explained best with a sequence diagram:
  
 {{:​pdf:​2017-04-13_typing_sequence.jpg?​direct&​200|}} {{:​pdf:​2017-04-13_typing_sequence.jpg?​direct&​200|}}
newtyping.txt ยท Last modified: 2017/10/12 14:09 by christian