Пример #1
0
        public CDVDocument() : base(null)
        {
            TextStyle            = new CDVTextStyle();
            TextStyle.StyleName  = "Normal";
            TextStyle.Color      = CDVColor.Black;
            textStyles["Normal"] = TextStyle;

            ParaStyle            = new CDVParaStyle();
            ParaStyle.StyleName  = "Normal";
            paraStyles["Normal"] = ParaStyle;

            Visibility         = new CDVVisibilityStyle();
            Visibility.Visible = true;
        }
Пример #2
0
 static CDVParaStyle()
 {
     ps_empty = new CDVParaStyle();
 }
Пример #3
0
 public void AddParaStyle(string name, CDVParaStyle ps)
 {
     paraStyles[name] = ps;
 }