コード例 #1
0
 internal WidgetDefaultStyles(WidgetDefaultStyleSet set)
     : base("WidgetDefaultStyles")
 {
     // WidgetDefaultStyles must exist with the WidgetDefaultStyleSet.
     Debug.Assert(set != null);
     _set = set;
 }
コード例 #2
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();
        }
コード例 #3
0
ファイル: WidgetDefaultStyle.cs プロジェクト: naver/protonow
        internal WidgetDefaultStyle(WidgetDefaultStyleSet set, string styleName)
            : base("WidgetDefaultStyle")
        {
            // WidgetDefaultStyle must exist with the WidgetDefaultStyleSet.
            Debug.Assert(set != null);

            _set  = set;
            _name = styleName;
        }