/// <summary> /// Clears all of the renderer's layout parameter stacks. /// </summary> public void ClearLayoutStacks() { StyleStack.Clear(); FontStack.Clear(); ColorStack.Clear(); GlyphShaderStack.Clear(); LinkStack.Clear(); }
public PPTXSlide CreateNewSlide() { if (currentSlide != null) { EndSheet(currentSlide); } currentSlide = new PPTXSlide() { SlideLayout = EPPTXSlideLayoutType.BlankSheet }; document.Slides.Add(currentSlide); FontStack.Clear(); LastAddedItemTransform = new PPTXTransform(); LastAddedItemTransform.SizeY = Settings.Margin.Top; TextManager.Init(this); TableManager.Init(this); return(currentSlide); }