public override void ToXml(XmlElement aNode)
 {
     aNode.SetAttribute("sno", StyleNo.ToString());
     aNode.SetAttribute("left", FLeft.ToString());
     aNode.SetAttribute("top", FTop.ToString());
     aNode.SetAttribute("width", Width.ToString());
     aNode.SetAttribute("height", Height.ToString());
 }
 public override void ToXml(XmlElement aNode)
 {
     aNode.Attributes["sno"].Value    = StyleNo.ToString();
     aNode.Attributes["left"].Value   = FLeft.ToString();
     aNode.Attributes["top"].Value    = FTop.ToString();
     aNode.Attributes["width"].Value  = Width.ToString();
     aNode.Attributes["height"].Value = Height.ToString();
 }
 public override void ToXml(XmlElement aNode)
 {
     aNode.SetAttribute("sno", StyleNo.ToString());
     aNode.SetAttribute("left", FLeft.ToString());
     aNode.SetAttribute("top", FTop.ToString());
     aNode.SetAttribute("width", Width.ToString());
     aNode.SetAttribute("height", Height.ToString());
     aNode.SetAttribute("pageindex", FPageIndex.ToString());
     if (FLock)
     {
         aNode.SetAttribute("lock", "1");
     }
 }
示例#4
0
 public override string ToHtml(string aPath)
 {
     return("<a class=\"fs" + StyleNo.ToString() + "\">" + Text + "</a>");
 }