documentation update and version bump

pull/1/head
Yusuke Shinyama 2011-05-15 01:37:14 +09:00
parent 56917a213c
commit 2e8180ddee
3 changed files with 10 additions and 6 deletions

View File

@ -9,7 +9,7 @@
<div align=right class=lastmod> <div align=right class=lastmod>
<!-- hhmts start --> <!-- hhmts start -->
Last Modified: Wed Apr 20 13:07:02 UTC 2011 Last Modified: Sat May 14 16:33:16 UTC 2011
<!-- hhmts end --> <!-- hhmts end -->
</div> </div>
@ -361,6 +361,8 @@ no stream header is displayed for the ease of saving it to a file.
<h2><a name="changes">Changes</a></h2> <h2><a name="changes">Changes</a></h2>
<ul> <ul>
<li> 2010/05/15: Speed improvements for layout analysis.
<li> 2010/05/15: API changes. <code>LTText.get_text()</code> is added.
<li> 2010/04/20: API changes. LTPolygon class was renamed as LTCurve. <li> 2010/04/20: API changes. LTPolygon class was renamed as LTCurve.
<li> 2010/04/20: LTLine now represents horizontal/vertical lines only. Thanks to Koji Nakagawa. <li> 2010/04/20: LTLine now represents horizontal/vertical lines only. Thanks to Koji Nakagawa.
<li> 2010/03/07: Documentation improvements by Jakub Wilk. Memory usage patch by Jonathan Hunt. <li> 2010/03/07: Documentation improvements by Jakub Wilk. Memory usage patch by Jonathan Hunt.

View File

@ -9,7 +9,7 @@
<div align=right class=lastmod> <div align=right class=lastmod>
<!-- hhmts start --> <!-- hhmts start -->
Last Modified: Wed Apr 20 12:57:57 UTC 2011 Last Modified: Sat May 14 16:36:12 UTC 2011
<!-- hhmts end --> <!-- hhmts end -->
</div> </div>
@ -144,17 +144,19 @@ these objects.
Note that this box is created by geometric analysis and does not necessarily Note that this box is created by geometric analysis and does not necessarily
represents a logical boundary of the text. represents a logical boundary of the text.
It contains a list of <code>LTTextLine</code> objects. It contains a list of <code>LTTextLine</code> objects.
<code>get_text()</code> method returns the text content.
<dt> <code>LTTextLine</code> <dt> <code>LTTextLine</code>
<dd> Contains a list of <code>LTChar</code> objects that represent <dd> Contains a list of <code>LTChar</code> objects that represent
a single text line. The characters are aligned either horizontaly a single text line. The characters are aligned either horizontaly
or vertically, depending on the text's writing mode. or vertically, depending on the text's writing mode.
<code>get_text()</code> method returns the text content.
<dt> <code>LTChar</code> <dt> <code>LTChar</code>
<dt> <code>LTText</code> <dt> <code>LTAnon</code>
<dd> These objects represent an actual letter in the text as a Unicode string. <dd> Represent an actual letter in the text as a Unicode string.
Note that, while a <code>LTChar</code> object has actual boundaries, Note that, while a <code>LTChar</code> object has actual boundaries,
<code>LTText</code> objects does not, as these are "virtual" characters, <code>LTAnon</code> objects does not, as these are "virtual" characters,
inserted by a layout analyzer according to the relationship between two characters inserted by a layout analyzer according to the relationship between two characters
(e.g. a space). (e.g. a space).

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2 #!/usr/bin/env python2
__version__ = '20110227' __version__ = '20110515'
if __name__ == '__main__': print __version__ if __name__ == '__main__': print __version__