hosain-fouad / dotify

Automatically exported from code.google.com/p/dotify
0 stars 3 forks source link

Missing functionality in the formatter interface #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The formatter interface places some formatting functionality outside of the 
interface via VolumeContentFormatter. The implementation creates new formatters 
and passes to them information that the main formatter already has. This has 
resulted in:
 * an incomplete formatter interface
 * duplication of data structures
 * code that is difficult to maintain

Instead, the formatter interface should contain methods to add volume-templates 
and toc-data. This way, the formatter functionality would be in the formatter 
component only, and not also in the parser as it is now.

Separation between core formatting tasks and additional formatting tasks should 
probably be maintained, perhaps through different interfaces.

Original issue reported on code.google.com by joel.hak...@mtm.se on 21 Nov 2013 at 1:53

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 21 Nov 2013 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 21 Nov 2013 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 21 Nov 2013 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 21 Nov 2013 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 21 Jan 2014 at 8:17

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 27 Jan 2014 at 1:25

GoogleCodeExporter commented 9 years ago

Original comment by joel.hak...@mtm.se on 28 Jan 2014 at 3:54