User Tools

Site Tools


pdf:extending

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pdf:extending [2016/03/24 12:08] – [Customize an object type] christianpdf:extending [2016/03/30 09:00] (current) – [Add a new Smalltalk class] christian
Line 42: Line 42:
 === Choose a class name === === Choose a class name ===
  
-As name for this example, I use ''BorderStyle''. Ideally the name should be the same as used in the PDF specification.+As name for this example, I use ''BorderStyle''. Ideally the name should be the same as used in the PDF specification. If the name does not match the name in the specification, be it because the name is already defined or for estetic reasons, the class method ''type'' (or ''subtype'', depending on the type inference mechanism) needs to be implemented.
  
 === Choose the superclass === === Choose the superclass ===
Line 188: Line 188:
 ===== Customize an object type ===== ===== Customize an object type =====
  
-Now, the PDF type is sufficiently defined to be usefully displayed in the PDFExplorer. But more can be done by defining some methods.+Now, the PDF type is sufficiently defined to be usefully displayed in the PDFExplorer. But more can be done by defining some of the following methods.
  
 ==== Optional customization methods ==== ==== Optional customization methods ====
/var/www/virtual/code4hl/html/dokuwiki/data/pages/pdf/extending.txt · Last modified: 2016/03/30 09:00 by christian