⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 container.cs

📁 PDF文档生成解析使用的库,可以用来改写自己的文档格式
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	public abstract class container : area_Set
	{
		public container(string name) : base(name) { }

		public measurement x
		{
			set
			{
				this.SetAttribute("x", value);
			}
		}

		public measurement y
		{
			set
			{
				this.SetAttribute("y", value);
			}
		}

		public measurement w
		{
			set
			{
				this.SetAttribute("w", value);
			}
		}

		public measurement h
		{
			set
			{
				this.SetAttribute("h", value);
			}
		}

		public measurement minW
		{
			set
			{
				this.SetAttribute("minW", value);
			}
		}

		public measurement minH
		{
			set
			{
				this.SetAttribute("minH", value);
			}
		}

		public measurement maxW
		{
			set
			{
				this.SetAttribute("maxW", value);
			}
		}

		public measurement maxH
		{
			set
			{
				this.SetAttribute("maxH", value);
			}
		}

		public hAlign hAlign
		{
			set
			{
				this.SetAttribute("hAlign", value);
			}
		}

		public vAlign vAlign
		{
			set
			{
				this.SetAttribute("vAlign", value);
			}
		}

		public anchorType anchorType
		{
			set
			{
				this.SetAttribute("anchorType", value);
			}
		}

		public int colSpan
		{
			set
			{
				this.SetAttribute("colSpan", value);
			}
		}

		protected assist _assist;

		public assist assist
		{
			get
			{
				if (_assist == null)
				{
					_assist = new assist();
					this.AddChild(_assist);
				}
				return _assist;
			}
			set
			{
				this.RemoveChild(_assist);
				_assist = value;
				this.AddChild(_assist);
			}
		}

		protected border _border;

		public border border
		{
			get
			{
				if (_border == null)
				{
					_border = new border();
					this.AddChild(_border);
				}
				return _border;
			}
			set
			{
				this.RemoveChild(_border);
				_border = value;
				this.AddChild(_border);
			}
		}

		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 para _para;

		public para para
		{
			get
			{
				if (_para == null)
				{
					_para = new para();
					this.AddChild(_para);
				}
				return _para;
			}
			set
			{
				this.RemoveChild(_para);
				_para = value;
				this.AddChild(_para);
			}
		}

		protected traversal _traversal;

		public traversal traversal
		{
			get
			{
				if (_traversal == null)
				{
					_traversal = new traversal();
					this.AddChild(_traversal);
				}
				return _traversal;
			}
			set
			{
				this.RemoveChild(_traversal);
				_traversal = value;
				this.AddChild(_traversal);
			}
		}

		public presence presence
		{
			set
			{
				this.SetAttribute("presence", value);
			}
		}

	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -