ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class Presentation.Presentation(system, config, p_type=None)

This is the abstract class which a <no title> interacts with to control a Presentation (like MS PowerPoint or OpenOffice.org Impress). Combined with an instance of PresentationImpl these classes implement the Bridge Pattern

Parameters:

  • system: a <no title> object letting us control the remote system

  • config: a <no title> object containing the config information for this user

  • p_type: optionally override the config file type of Presentation to get an instance of a particular spreadsheet

close_presentation(save=False)

Close the currently open presentation.

Parameters:

  • save: whether to save any changes during close

Return: True iff things seem to work correctly

exit(save=False)

Exit the application.

Parameters:

  • save: Whether or not save presentations that have been modified

load_presentation(path)

Open an existing Presentation stored at the given path.

Parameters:

  • path: the path on the system being controlled to the desired Presentation

Return: True iff the Presentation seems to have opened

open()

Open the application. Generally this will have a default, blank presentation.