Beispiel #1
0
        internal DocumentData(Document document, DocumentType type)
            : base("Document")
        {
            Debug.Assert(document != null);

            _documentType = type;

            _pages = new Pages(document);

            _masterPages = new MasterPages(document);

            _pageAnnotationFieldSet = new AnnotationFieldSet(document, "PageAnnotationFieldSet");

            _widgetAnnotationFieldSet = new AnnotationFieldSet(document, "WidgetAnnotationFieldSet");

            _widgetDefaultStyleSet = new WidgetDefaultStyleSet(document);

            _generatorConfigurationSet = new GeneratorConfigurationSet(document);

            _adaptiveViewSet = new AdaptiveViewSet(document);

            _deviceSet = new DeviceSet(document);

            _documentSettings = new DocumentSettings(document);

            _globalGuides = new Guides();
        }
Beispiel #2
0
        internal PageView(Page parentPage, Guid viewGuid)
            : base(parentPage, "PageView")
        {
            // PageView must exist with its parent page.
            Debug.Assert(parentPage != null);

            _viewGuid = viewGuid;
            _guides   = new Guides();
        }