Exemple #1
0
        /*private void ParagraphSet(DocX document)
         * {
         *  this.paragraphService.Set(document, SpaceBefore, SpaceAfter, SpaceLineVal, IndentationSpecialVal, IndentationBefore, IndentationAfter, TextSpace
         *      , ParagraphAlign, SpaceLineType, IndentationSpecial);
         * }*/

        public static void TextReplaceSet(DocX document, TextReplaceService textReplaceService, FormValOption formValOption)
        {
            Dictionary <string, string> replaceTextLists = formValOption.ReplaceTextGridView;

            textReplaceService.TextReplaceSet(document, replaceTextLists);
            //Dictionary<string, string> replaceLinkGridView = formValOption.ReplaceLinkGridView;
            //thisReplaceService.HyperLinkReplaceSet(document, hyperLinkLists);
        }
Exemple #2
0
 public BackWorker(MainFormOption mainFormOption)
 {
     this.pageSettingService  = new PageSettingService();
     this.headerFooterService = new HeaderFooterService();
     this.docInfoService      = new DocInfoService();
     this.textReplaceService  = new TextReplaceService();
     this.paragraphService    = new ParagraphService();
     this.imageService        = new ImageService();
     this.hyperLinkService    = new HyperLinkService();
     this.tableService        = new TableService();
     this.pdfService          = new PdfService();
     this.mainFormOption      = mainFormOption;
     this.logger = LogManager.GetCurrentClassLogger();
 }