public void WriteCloseTag(bool emptyLayoutCell)
        {
            bool num = _contents.Count > 0;

            Flush();
            if (!num)
            {
                if (emptyLayoutCell)
                {
                    OpenXmlParagraphModel.WriteEmptyLayoutCellParagraph(_textWriter);
                }
                else
                {
                    OpenXmlParagraphModel.WriteEmptyParagraph(_textWriter);
                }
            }
            _textWriter.Write("</w:tc>");
        }
示例#2
0
 internal void WriteEmptyParagraph()
 {
     OpenXmlParagraphModel.WriteEmptyParagraph(_currentPart.Writer.TextWriter);
 }