public XElement generate(Profile p, bool extensionsOnly)
        {
            var        gen   = new HierarchicalTableGenerator(OutputPath, InlineGraphics);
            TableModel model = gen.initNormalTable();

            genProfile(model.getRows(), p, extensionsOnly);

            return(gen.generate(model));
        }
        public XElement generate(Profile p, bool extensionsOnly)
        {
            var gen = new HierarchicalTableGenerator(OutputPath, InlineGraphics);
            TableModel model = gen.initNormalTable();

            genProfile(model.getRows(), p, extensionsOnly);

            return gen.generate(model);
        }
        public XElement generateStructureTable(String defFile, Profile.ProfileStructureComponent structure, bool diff, String imageFolder, 
                    bool inlineGraphics, Profile profile, string profileUrl, String profileBaseFileName) 
        {
            HierarchicalTableGenerator gen = new HierarchicalTableGenerator(imageFolder, inlineGraphics);
            TableModel model = gen.initNormalTable();

            // List<Profile.ElementComponent> list = diff ? structure.getDifferential().getElement() : structure.getSnapshot().getElement();   DSTU2
            var list = structure.Element;
            var nav = new ElementNavigator(structure);
            nav.MoveToFirstChild();
    
            genElement(defFile == null ? null : defFile+"#"+structure.Name+".", gen, model.getRows(), nav, profile, diff, profileUrl, profileBaseFileName);
            return gen.generate(model);
        }
예제 #4
0
        public XElement generateStructureTable(String defFile, Profile.ProfileStructureComponent structure, bool diff, String imageFolder,
                                               bool inlineGraphics, Profile profile, string profileUrl, String profileBaseFileName)
        {
            HierarchicalTableGenerator gen = new HierarchicalTableGenerator(imageFolder, inlineGraphics);
            TableModel model = gen.initNormalTable();

            // List<Profile.ElementComponent> list = diff ? structure.getDifferential().getElement() : structure.getSnapshot().getElement();   DSTU2
            var list = structure.Element;
            var nav  = new ElementNavigator(structure);

            nav.MoveToFirstChild();

            genElement(defFile == null ? null : defFile + "#" + structure.Name + ".", gen, model.getRows(), nav, profile, diff, profileUrl, profileBaseFileName);
            return(gen.generate(model));
        }