コード例 #1
0
        public FieldsManager(AWindow w)
        {
            W    = w;
            show = new ShowInfo(w);

            rData = new SchemaRootData();
            rData.Configure(SchemaGuidManager.GetNewAppGuidString());

            aData = new SchemaAppData();
            aData.Configure("App Data Name", "App Data Description");

            raData = new SchemaRootAppData();
            raData.Configure("Root-App Data Name", "Root-App Data Description");

            cData = new SchemaCellData();
            cData.Configure("new name", "A1", UpdateRules.UR_AS_NEEDED, "cell Family", false, "xl file path", "worksheet name");
            cData.Configure("Another new name", "B2", UpdateRules.UR_AS_NEEDED, "second cell Family", false, "second xl file path", "second worksheet name");
        }
コード例 #2
0
        public FieldsManager(AWindow w, Document doc)
        {
            this.doc = doc;

            W      = w;
            scMgr  = SchemaManager.Instance;
            exMgr  = new ExStoreMgr(w, doc);
            dsMgr  = new DataStoreManager(doc);
            show   = new ShowInfo(w);
            exData = ExStorData.Instance;

            rData = new SchemaRootData();
            rData.Configure(SchemaGuidManager.GetNewAppGuidString());

            aData = new SchemaAppData();
            aData.Configure("App Data Name", "App Data Description");

            raData = new SchemaRootAppData();
            raData.Configure("Root-App Data Name", "Root-App Data Description");

            cData = new SchemaCellData();
            cData.Configure("new name", "A1", UpdateRules.UR_AS_NEEDED,
                            "cell Family", false, "xl file path", "worksheet name");
        }