Home | Trees | Index | Help |
|
---|
Package Pyblio :: Package Cite :: Package WP :: Class IWordProcessor |
|
Method Summary | |
---|---|
Insert a list of references at the current position of the document. | |
Establish a connection to the word processor. | |
Disconnect from the word processor. | |
Retrieve the list of (uid, key) tuples previously inserted in the current document with self.cite(). | |
Check if the connection is still up. | |
Return a generate object ready to accept instructions to rebuild the current bibliography list. | |
Update the keys shown to the user. |
Method Details |
---|
cite(self, keys)Insert a list of references at the current position of the document. keys is a list of tuples (uid, key) where uid is the identifier of the record in the database, and key is the key to be shown to the user. |
connect(self)Establish a connection to the word processor. This binds this object to a specific document in the word processor. No other operation except is_connected can take place before connection. |
disconnect(self)Disconnect from the word processor. |
fetch(self)Retrieve the list of (uid, key) tuples previously inserted in the current document with self.cite(). The tuples are ordered according to the position of the references in the text. If the WP does not support this operation, returns None (not []). |
is_connected(self)Check if the connection is still up. |
update_biblio(self)Return a generate object ready to accept instructions to rebuild the current bibliography list. An example of such a generator is provided byPyblio.Format.OpenOffice.Generator .
|
update_keys(self, keymap)Update the keys shown to the user. keymap is a dictionary that provides, for each uid having changed, the new key to be displayed. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 | http://epydoc.sf.net |