List of tags for show and hide
Exemplo n.º 1
0
        /// <summary>
        /// Create builder for template
        /// </summary>
        /// <param name="docxDocument">Template document</param>
        /// <param name="tagVisibilityOptions">List of tags for show and hide</param>
        public DocxDocumentBuilder(DocxDocument docxDocument, TagVisibilityOptions tagVisibilityOptions = null)
            : base(docxDocument.GetWordDocument())
        {
            this.docxDocument = docxDocument;
            this.tagVisibilityOptions = tagVisibilityOptions;

            MergeVanishedRuns();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Create builder for template
        /// </summary>
        /// <param name="docxDocument">Template document</param>
        /// <param name="tagVisibilityOptions">List of tags for show and hide</param>
        public DocxDocumentBuilder(DocxDocument docxDocument, TagVisibilityOptions tagVisibilityOptions = null)
            : base(docxDocument.GetWordDocument())
        {
            this.docxDocument         = docxDocument;
            this.tagVisibilityOptions = tagVisibilityOptions;

            MergeVanishedRuns();
        }