Newer
Older
ClosedXML / ClosedXML / Excel / PageSetup / IXLHeaderFooter.cs
@Francois Botha Francois Botha on 30 May 2017 847 bytes Unknown changes - something to do with line endings?
using System;

namespace ClosedXML.Excel
{
    public enum XLHFMode { OddPagesOnly, OddAndEvenPages, Odd }
    public interface IXLHeaderFooter
    {
        /// <summary>
        /// Gets the left header/footer item.
        /// </summary>
        IXLHFItem Left { get; }

        /// <summary>
        /// Gets the middle header/footer item.
        /// </summary>
        IXLHFItem Center { get; }

        /// <summary>
        /// Gets the right header/footer item.
        /// </summary>
        IXLHFItem Right { get; }

        /// <summary>
        /// Gets the text of the specified header/footer occurrence.
        /// </summary>
        /// <param name="occurrence">The occurrence.</param>
        String GetText(XLHFOccurrence occurrence);

        IXLHeaderFooter Clear(XLHFOccurrence occurrence = XLHFOccurrence.AllPages);
    }
}