Beispiel #1
0
        private void Load(IDocumentData data)
        {
            var flags = FlagsManager.LoadFlags(DefaultMerger.AddDefaults(data.DocumentWideFlags));

            this.pageCollection = this.elementFactory.CreatePageCollection(flags);
            this.pageCollection.SetCursor(false, this.cursor);
        }
Beispiel #2
0
        private void New()
        {
            var flags = FlagsManager.LoadFlags(Defaults.DocumentWideFlags);

            this.pageCollection = this.elementFactory.CreatePageCollection(flags); // TODO: Set back to page collection
            this.pageCollection.Region.SetParent(this.frame);
            this.pageCollection.Region.SetPoint(FramePoint.TOPLEFT, this.frame, FramePoint.TOPLEFT, 20, -20);
            this.pageCollection.SetCursor(false, this.cursor);
        }