Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,12 @@ static void Main(string[] args)
}
}

/// <summary>
/// Adds the text body items to the Presentation document
/// </summary>
/// <param name="docTextBody"></param>
private static void AddTextBodyItems(WTextBody docTextBody)
{
AddTextBodyItems(docTextBody, null);
}

/// <summary>
/// Iterates the text body items of Word document and creates slides and add textbox accordingly
/// </summary>
/// <param name="docTextBody"></param>
/// <param name="powerPointTableCell"></param>
private static void AddTextBodyItems(WTextBody docTextBody, ICell powerPointTableCell)
private static void AddTextBodyItems(WTextBody docTextBody, ICell powerPointTableCell = null)
{
ISlide powerPointSlide = null;
IShape powerPointShape = null;
Expand Down Expand Up @@ -146,23 +137,13 @@ private static void ApplyListStyles(IParagraph powerPointParagraph)
powerPointParagraph.IndentLevelNumber = 1;
}

/// <summary>
/// Adds the paragraph items to the Presentation document
/// </summary>
/// <param name="docParagraph"></param>
/// <param name="powerPointParagraph"></param>
private static void AddParagraphItems(WParagraph docParagraph, IParagraph powerPointParagraph)
{
AddParagraphItems(docParagraph, powerPointParagraph, null);
}

/// <summary>
/// Iterates the paragraph and adds the paragraph items to the Presentation document
/// </summary>
/// <param name="docParagraph"></param>
/// <param name="powerPointParagraph"></param>
/// <param name="powerPointTableCell"></param>
private static void AddParagraphItems(WParagraph docParagraph, IParagraph powerPointParagraph, ICell powerPointTableCell)
private static void AddParagraphItems(WParagraph docParagraph, IParagraph powerPointParagraph, ICell powerPointTableCell = null)
{
for (int i = 0; i < docParagraph.Items.Count; i++)
{
Expand Down