Patch for alternative output formats
GoogleCodeExporter opened this issue · comments
Attached you will find a patch for current SVN (12 November 2009) that does
the following.
1. Conversion of some classes to interfaces (e.g HTMLDiffer and
HTMLOutput) so that developers can plugin alternative output formats
(e.g. PDF)
2. Some unit tests (and addition of Junit 4 instead of Junit 3). Coverage
is now almost 45%
3. An extra field in the internal structures of daisyDiff so that in
the case of layout removals (e.g. removal
of an italics tag around a sentence) the output can also "remember"
what was the old layout. Currently only a textual representation is
kept (the one shown on the tooltips) but this is not enough for
further processing.
All changes are essentially refactorings so that diff functionality
has not changed at all.
Please review and apply if you are happy with it.
I would be glad to change it further if there are any problems (coding
style, comments, naming e.t.c.)
The patch was created with Eclipse. I tested it by checking out from SVN
the daisy-diff source and applied it again via Eclipse.
Thank you
Original issue reported on code.google.com by kkape...@gmail.com
on 12 Nov 2009 at 9:27
Attachments:
Thanks
I'm looking for a volunteer to apply and test this patch.
Original comment by guy...@gmail.com
on 18 Feb 2010 at 1:42
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
Applied in r143
Original comment by kkape...@gmail.com
on 22 Feb 2010 at 9:28
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****