Fix of issue 2848.

svn: r14063
This commit is contained in:
Peter Landgren 2010-01-13 18:39:40 +00:00
parent 289e77ef8b
commit 5d1ac53678

View File

@ -6,6 +6,7 @@
# Copyright (C) 2007 Brian G. Matherly # Copyright (C) 2007 Brian G. Matherly
# Copyright (C) 2009 Benny Malengier # Copyright (C) 2009 Benny Malengier
# Copyright (C) 2009 Gary Burton # Copyright (C) 2009 Gary Burton
# Copyright (C) 2010 Peter Landgren
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -193,6 +194,15 @@ class TextDoc(object):
""" """
raise NotImplementedError 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): def write_styled_note(self, styledtext, format, style_name):
""" """
Convenience function to write a styledtext to the cairo doc. Convenience function to write a styledtext to the cairo doc.