CCNet.Build.Confluence.PageDocument.BuildColumn C# (CSharp) Method

BuildColumn() public static method

Builds "Column" macro block.
public static BuildColumn ( string width, System.Xml.Linq.XElement body ) : System.Xml.Linq.XElement
width string
body System.Xml.Linq.XElement
return System.Xml.Linq.XElement
		public static XElement BuildColumn(string width, XElement body)
		{
			CheckBody(body);

			return Element(
				"ac:structured-macro",
				Attribute("ac:name", "column"),
				width == null
					? null
					: Element(
						"ac:parameter",
						Attribute("ac:name", "width"),
						width),
				body);
		}