![]() ![]() Setting useBuilderFormatting to either true or false makes no difference. There was a problem with v17 reported some time ago that was allegedly fixed, however I am using the latest version (I had the same problem on v20 also). html).' The Web Page option converts the document into an HTML file that preserves its formatting. Click the 'Save as type' drop-down menu and select 'Web Page (. Click 'File' and select the 'Save As' option. Loses all the table formatting, irrespective of the target file type (docx, pdf, gif, etc). Click 'File,' select 'Open' and double-click on the Word document you want to email. ![]() I uninstalled the update and the tables are back to normal. The occurred immediately following the install of Word Update KB2880529 on Tuesday, June 16, 2014. The alignment of columns is off and the formatting of text in the cells has changed. We have created a Word document for a client that has then uploaded it to Sharepoint. A number of tables in my word documents are no longer formatted correcting. Using (var docStream = new FileStream(string.Format(fileName, saveFormat), FileMode.OpenOrCreate)) Uploading Word doc to Sharepoint destroys table formatting and style. The table is moved to the left and thus when printing. Suddenly, when using these templates, the user reports that when saving a document based on the template, the layout of the table is changed. In this code: private static void GenerateFinalFile(string convertedHTML, string fileName, SaveFormat saveFormat)Ī finalDoc = new () ĭocumentBuilder documentBuilder = new DocumentBuilder(finalDoc) ĭocumentBuilder.InsertHtml(convertedHTML) we have several Word-templates with horizontally absolute positioned tables in it, so we can use fields in it to print on standard (preprinted) forms. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |