Esempio n. 1
0
        public virtual void AppendPage()
        {
            MakeLastPageBreak();

            // TODO-Later: Layout of New Page is the same with LastPage
            // TODO-Later£º PageRepository use LayoutFactory.CreateDefaultLayout(), Depends on File system, not good to UT
            // TODO-Later: Make Project Model not Dependent on Project Adapters
            Add(PageModelFactory.CreatePageModel(LayoutFactory.CreateDefaultLayout()));

            var lastPageNO = Count - 1;

            FocusIndex = lastPageNO;
            PageChange(lastPageNO);
        }