para.cs

来自「PDF文件格式解析库源代码」· CS 代码 · 共 113 行

CS
113
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	/// <summary>
	/// A formatting element that specifies default paragraph and alignment properties to be applied to the
	/// content of an enclosing container.
	/// </summary>
	public class para : element_id
	{
		public para() : base("para") { }

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

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

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

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

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

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

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

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

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

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

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

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

	}
}

⌨️ 快捷键说明

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