public void SetElement(XLWSContents content, OpenXmlElement element) { contents[content] = element; }
public OpenXmlElement GetPreviousElementFor(XLWSContents content) { var max = contents.Where(kp => (Int32)kp.Key < (Int32)content && kp.Value != null).Max(kp => kp.Key); return contents[max]; }
public OpenXmlElement GetPreviousElementFor(XLWSContents content) { var max = contents.Where(kp => (Int32)kp.Key < (Int32)content && kp.Value != null).Max(kp => kp.Key); return(contents[max]); }