Example #1
0
 public void ToXml(XmlElement aNode)
 {
     aNode.SetAttribute("firstindent", FFirstIndent.ToString());
     aNode.SetAttribute("leftindent", FLeftIndent.ToString());
     aNode.SetAttribute("rightindent", FRightIndent.ToString());
     aNode.SetAttribute("bkcolor", HC.GetColorXmlRGB(FBackColor));
     aNode.SetAttribute("spacemode", GetLineSpaceModeXML_());
     aNode.SetAttribute("horz", GetHorzXML_());
     aNode.SetAttribute("vert", GetVertXML_());
 }
Example #2
0
 public void ToXml(XmlElement aNode)
 {
     aNode.Attributes["firstindent"].Value = FFirstIndent.ToString();
     aNode.Attributes["leftindent"].Value  = FLeftIndent.ToString();
     aNode.Attributes["rightindent"].Value = FRightIndent.ToString();
     aNode.Attributes["bkcolor"].Value     = HC.GetColorXmlRGB(FBackColor);
     aNode.Attributes["spacemode"].Value   = GetLineSpaceModeXML_();
     aNode.Attributes["horz"].Value        = GetHorzXML_();
     aNode.Attributes["vert"].Value        = GetVertXML_();
 }
Example #3
0
        public void ToXml(XmlElement aNode)
        {
            aNode.SetAttribute("firstindent", FFirstIndent.ToString());
            aNode.SetAttribute("leftindent", FLeftIndent.ToString());
            aNode.SetAttribute("rightindent", FRightIndent.ToString());
            aNode.SetAttribute("bkcolor", HC.HCColorToRGBString(FBackColor));
            if (FBreakRough)
            {
                aNode.SetAttribute("breakrough", "1");
            }

            aNode.SetAttribute("spacemode", GetLineSpaceModeXML_());
            aNode.SetAttribute("horz", GetHorzXML_());
            aNode.SetAttribute("vert", GetVertXML_());
        }