versereferencelist

class openlp.plugins.bibles.lib.versereferencelist.VerseReferenceList[source]

Bases: object

The VerseReferenceList class encapsulates a list of verse references, but maintains the order in which they were added.

add(book, chapter, verse, version, copyright, permission)[source]
add_version(version, copyright, permission)[source]
format_verses()[source]
format_versions(copyright=True, permission=True)[source]

Format a string with the bible versions used

Parameters:
  • copyright – If the copyright info should be included, default is true.
  • permission – If the permission info should be included, default is true.
Returns:

A formatted string with the bible versions used