C# Class OneNoteConversionTool.FormatConversion.SmsgrFormatConverter

Converter that accepts SMSGR Format
Inheritance: GenericFormatConverter
Afficher le fichier Open project: OneNoteDev/OneNoteConversionTool Class Usage Examples

Méthodes publiques

Méthode Description
GetSupportedInputFormat ( ) : string

Returns the name of the input format that this IFormatConverter supports

Méthodes protégées

Méthode Description
ConvertPowerPointToOneNote ( PowerPointOpenXml pptOpenXml, string imgsPath, OneNoteGenerator note, string sectionName ) : void

Converts PowerPoint presentan to OneNote while converting the sections in power point to main pages, and slides to sub pages It creates two notebooks, one for the Trainer and one for the student

IncludeStudentNotebook ( ) : bool

Gets whether the trainer notebook should be created or not

IncludeTrainerNotebook ( ) : bool

Gets whether the trainer notebook should be created or not

Private Methods

Méthode Description
ConvertPowerPointWithSectionsToOneNote ( PowerPointOpenXml pptOpenXml, string imgsPath, OneNoteGenerator note, string sectionId, List sectionNames, List slidesInSections, bool isTrainer ) : void

Helper method to include the common code between the trainer and the student create notebook when converting Power Point files that have sections

ConvertPowerPointWithoutSectionsToOneNote ( PowerPointOpenXml pptOpenXml, string imgsPath, OneNoteGenerator note, string sectionId, bool isTrainer ) : void

Helper method to include the common code between the trainer and the student create notebook when converting Power Point files that doesn't have sections

Method Details

ConvertPowerPointToOneNote() protected méthode

Converts PowerPoint presentan to OneNote while converting the sections in power point to main pages, and slides to sub pages It creates two notebooks, one for the Trainer and one for the student
protected ConvertPowerPointToOneNote ( PowerPointOpenXml pptOpenXml, string imgsPath, OneNoteGenerator note, string sectionName ) : void
pptOpenXml OneNoteConversionTool.FormatReaders.PowerPointOpenXml
imgsPath string
note OneNoteConversionTool.OutputGenerator.OneNoteGenerator
sectionName string
Résultat void

GetSupportedInputFormat() public méthode

Returns the name of the input format that this IFormatConverter supports
public GetSupportedInputFormat ( ) : string
Résultat string

IncludeStudentNotebook() protected méthode

Gets whether the trainer notebook should be created or not
protected IncludeStudentNotebook ( ) : bool
Résultat bool

IncludeTrainerNotebook() protected méthode

Gets whether the trainer notebook should be created or not
protected IncludeTrainerNotebook ( ) : bool
Résultat bool