openoffice

class openlp.plugins.songs.lib.importers.openoffice.OpenOfficeImport(manager, **kwargs)[source]

Bases: openlp.plugins.songs.lib.importers.songimport.SongImport

Import songs from Impress/Powerpoint docs using Impress

close_ooo()[source]

Close OOo. But only if we started it and not on windows

close_ooo_file()[source]

Close file.

create_property(name, value)[source]

Create an OOo style property object which are passed into some Uno methods.

do_import()[source]
open_ooo_file(file_path)[source]

Open the passed file in OpenOffice.org Impress

process_doc()[source]

Process the doc file, a paragraph at a time

process_ooo_document()[source]

Handle the import process for OpenOffice files. This method facilitates allowing subclasses to handle specific types of OpenOffice files.

process_presentation()[source]

Process the file

process_songs_text(text)[source]

Process the songs text

Parameters:text – The text.
start_ooo()[source]

Start OpenOffice.org process TODO: The presentation/Impress plugin may already have it running

start_ooo_process()[source]

Start the OO Process