From 5d1ac5367830c0e11cf6b973bac387c4ec3fcb92 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 13 Jan 2010 18:39:40 +0000 Subject: [PATCH] Fix of issue 2848. svn: r14063 --- src/gen/plug/docgen/textdoc.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gen/plug/docgen/textdoc.py b/src/gen/plug/docgen/textdoc.py index 1b4fd2ef9..38c51a834 100644 --- a/src/gen/plug/docgen/textdoc.py +++ b/src/gen/plug/docgen/textdoc.py @@ -6,6 +6,7 @@ # Copyright (C) 2007 Brian G. Matherly # Copyright (C) 2009 Benny Malengier # Copyright (C) 2009 Gary Burton +# Copyright (C) 2010 Peter Landgren # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -193,6 +194,15 @@ class TextDoc(object): """ raise NotImplementedError + def write_endnotes_ref(self, text, style_name): + """ + Writes the note's text and take care of paragraphs, + + @param text: text to write. + @param style_name: style to be used. + """ + raise NotImplementedError + def write_styled_note(self, styledtext, format, style_name): """ Convenience function to write a styledtext to the cairo doc.