private void SaveAttribute(string name, ExcelHeaderFooterText excelHeaderFooterText)
        {
            var elm = ExtensonMethods.NewElement(name);

            _headerFooterNode.Add(elm);
            elm.Value = GetHeaderFooterText(excelHeaderFooterText);
        }
        /// <summary>
        /// Helper function for Save
        /// </summary>
        /// <param name="inStruct"></param>
        /// <returns></returns>
        protected internal string GetHeaderFooterText(ExcelHeaderFooterText inStruct)
        {
            string retValue = "";

            if (inStruct.LeftAlignedText != null)
            {
                retValue += "&L" + inStruct.LeftAlignedText;
            }
            if (inStruct.CenteredText != null)
            {
                retValue += "&C" + inStruct.CenteredText;
            }
            if (inStruct.RightAlignedText != null)
            {
                retValue += "&R" + inStruct.RightAlignedText;
            }
            return(retValue);
        }