示例#1
0
 /// <summary>
 /// Clears all of the renderer's layout parameter stacks.
 /// </summary>
 public void ClearLayoutStacks()
 {
     StyleStack.Clear();
     FontStack.Clear();
     ColorStack.Clear();
     GlyphShaderStack.Clear();
     LinkStack.Clear();
 }
示例#2
0
        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);
        }