PDF文档生成解析使用的库,可以用来改写自己的文档格式

源代码在线查看: border.cs

软件大小: 449 K
上传用户: SMILE19890517
关键词: 文档
下载地址: 免注册下载 普通下载 VIP

相关代码

				using System;
				using System.Collections.Generic;
				using System.Text;
				
				namespace AnotherPDFLib.XFA
				{
					/// 
					/// A box model element that describes the border surrounding an object.
					/// 
					public class border : boxelement
					{
						public border() : base("border") { }
				
						public hand hand
						{
							set
							{
								this.SetAttribute("hand", value);
							}
						}
				
						protected fill _fill;
				
						public fill fill
						{
							get
							{
								if (_fill == null)
								{
									_fill = new fill();
									this.AddChild(_fill);
								}
								return _fill;
							}
							set
							{
								this.RemoveChild(_fill);
								_fill = value;
								this.AddChild(_fill);
							}
						}
				
						protected margin _margin;
				
						public margin margin
						{
							get
							{
								if (_margin == null)
								{
									_margin = new margin();
									this.AddChild(_margin);
								}
								return _margin;
							}
							set
							{
								this.RemoveChild(_margin);
								_margin = value;
								this.AddChild(_margin);
							}
						}
				
						protected corner _corner;
				
						public corner corner
						{
							get
							{
								if (_corner == null)
								{
									_corner = new corner();
									this.AddChild(_corner);
								}
								return _corner;
							}
							set
							{
								this.RemoveChild(_corner);
								_corner = value;
								this.AddChild(_corner);
							}
						}
				
						protected edge _edge;
				
						public edge edge
						{
							get
							{
								if (_edge == null)
								{
									_edge = new edge();
									this.AddChild(_edge);
								}
								return _edge;
							}
							set
							{
								this.RemoveChild(_edge);
								_edge = value;
								this.AddChild(_edge);
							}
						}
				
						public borderbreak @break
						{
							set
							{
								this.SetAttribute("break", value);
							}
						}
				
						public string relevant
						{
							set
							{
								this.SetAttribute("relevant", value);
							}
						}
				
						protected edge _edgeleft;
				
						public edge edgeleft
						{
							get
							{
								if (_edgeleft == null)
								{
									_edgeleft = new edge();
									this.AddChild(_edgeleft);
								}
								return _edgeleft;
							}
							set
							{
								this.RemoveChild(_edgeleft);
								_edgeleft = value;
								this.AddChild(_edgeleft);
							}
						}
				
						protected edge _edgeright;
				
						public edge edgeright
						{
							get
							{
								if (_edgeright == null)
								{
									_edgeright = new edge();
									this.AddChild(_edgeright);
								}
								return _edgeright;
							}
							set
							{
								this.RemoveChild(_edgeright);
								_edgeright = value;
								this.AddChild(_edgeright);
							}
						}
				
						protected edge _edgetop;
				
						public edge edgetop
						{
							get
							{
								if (_edgetop == null)
								{
									_edgetop = new edge();
									this.AddChild(_edgetop);
								}
								return _edgetop;
							}
							set
							{
								this.RemoveChild(_edgetop);
								_edgetop = value;
								this.AddChild(_edgetop);
							}
						}
				
						protected edge _edgebottom;
				
						public edge edgebottom
						{
							get
							{
								if (_edgebottom == null)
								{
									_edgebottom = new edge();
									this.AddChild(_edgebottom);
								}
								return _edgebottom;
							}
							set
							{
								this.RemoveChild(_edgebottom);
								_edgebottom = value;
								this.AddChild(_edgebottom);
							}
						}
				
						protected corner _cornerul;
				
						public corner cornerul
						{
							get
							{
								if (_cornerul == null)
								{
									_cornerul = new corner();
									this.AddChild(_cornerul);
								}
								return _cornerul;
							}
							set
							{
								this.RemoveChild(_cornerul);
								_cornerul = value;
								this.AddChild(_cornerul);
							}
						}
				
						protected corner _cornerur;
				
						public corner cornerur
						{
							get
							{
								if (_cornerur == null)
								{
									_cornerur = new corner();
									this.AddChild(_cornerur);
								}
								return _cornerur;
							}
							set
							{
								this.RemoveChild(_cornerur);
								_cornerur = value;
								this.AddChild(_cornerur);
							}
						}
				
						protected corner _cornerbl;
				
						public corner cornerbl
						{
							get
							{
								if (_cornerbl == null)
								{
									_cornerbl = new corner();
									this.AddChild(_cornerbl);
								}
								return _cornerbl;
							}
							set
							{
								this.RemoveChild(_cornerbl);
								_cornerbl = value;
								this.AddChild(_cornerbl);
							}
						}
				
						protected corner _cornerbr;
				
						public corner cornerbr
						{
							get
							{
								if (_cornerbr == null)
								{
									_cornerbr = new corner();
									this.AddChild(_cornerbr);
								}
								return _cornerbr;
							}
							set
							{
								this.RemoveChild(_cornerbr);
								_cornerbr = value;
								this.AddChild(_cornerbr);
							}
						}
				
					}
				}
							

相关资源