Importer for Xournal Files

Import Xournal notebook

EXAMPLES:

>>> from quill.importer.xournal import Xournal
>>> x = Xournal(xournal_file)
>>> print x    
<quill.importer.xournal.Xournal object at 0x...>
>>> book = x.get_book()
>>> book.title()
'Example_Notebook'
>>> book.get_page(0)
page number 0
class quill.importer.xournal.Xournal(xournal_filename)[source]

Bases: quill.importer.base.ImporterBase

get_page(n)[source]
n_pages()[source]
title()[source]
xournal_color_constants = {'lightblue': (0, 192, 255), 'yellow': (255, 255, 0), 'lightgreen': (0, 255, 0), 'magenta': (255, 0, 255), 'blue': (51, 51, 204), 'gray': (128, 128, 128), 'black': (0, 0, 0), 'orange': (255, 128, 0), 'green': (0, 128, 0), 'white': (255, 255, 255), 'red': (255, 0, 0)}
xournal_page_scale_factor = 820.0
xournal_pen_thickness_factor = 0.5

Previous topic

Importer for Quill Archives

Next topic

Base Class for Exporters

This Page