MsWord w:WriteProtection algorithm implementation
Hello.MsWord(ooxml) have two pretty similar xml objects, w:DocumentProtection and w:WriteProtection.First one, w:DocumentProtection can be password-encrypted using code from...
View ArticleConversion of an Excel Flat OPC XML File to an Interop WorkSheet Object
Hi,I've developed a COM Excel application with Office Interop, that runs when excel starts and that operates some calculationIn order to avoid to write an endless formatting code (with colors, styles,...
View ArticleCreated presentation using DocumentFormat.OpenXml always asking for repair in...
Hello, I currently have a problem Create a Presentation with DocumentFomat.OpenXml. When I Opened the created presentation in powerpoint it always ask for "Repair". Please help! Best regards, Kamaldeep
View ArticleRedistribution of DLL files to target machines only...
Hi thereIs DocumentFormat.OpenXml.dll the only required DLL to include with our application installer or are these also required? System.IO.FileSystem.Primitives.dll System.IO.Packaging.dllI used NuGet...
View Articledoes this sdk support office 2016/office 365
i see there is a doc said that it supports office 2013: https://docs.microsoft.com/en-us/office/open-xml/about-the-open-xml-sdk#open-xml-sdk-25-for-office does this sdk support office 2016/office 365dwdwd
View ArticleProofing errors not generating in the word documents (MS Word 2010)...
Hi,This is Gururajan. I have developed one application for generating spell errors in word document (I am using MS Word 2010) using OpenXML C#. The tool which i developed is able to generate spell...
View ArticleDoes it support in windows 10?
I am using this for creating spreadsheet in Windows 10 OS, MS office not installed.Where MS office installed on Windows 10 not getting error. I am getting error, Retrieving the COM class factory for...
View ArticleOpen XML - Generated Excel Files are Corrupted
I am trying to export a large amount of data to Excel using Open XML SDK 2.5. However I am not able to open larger files that are generated. When I try to open the Excel files that are generated, I...
View ArticleXML REPORT
Hello everyoneI am working with a software that generate some report , but when i am trying to see those report are in blank in my computer in others computer they can see the report with all of the...
View ArticleSystem.IO.FileFormatException: 'File contains corrupted data.' after...
I have an XLSM file with invalid/broken URIs. So I ran the exact FixInvalidUri function provided in Eric's White blog "Handling Invalid Hyperlinks (OpenXmlPackageException) in the Open XML SDK" on this...
View ArticleHow to loop through a word document and check whether the element is of type...
Hi ,I want to loop through the word document and check what type of element it is and below is my code . foreach(var childElement in...
View ArticleHow to find and delete text from word document
Hi,Below is my code to search and delete text from word document , but it gives error and range can not be deleted Microsoft.Office.Interop.Word.Range rng1 = workDoc.Content;...
View ArticleRead Page Numbers using OpenXML
How to read Page Numbers using OpenXML. Is there any alternate option or work around. Please suggest.
View ArticleOpen compared document using OpenXML
Using Word Interop, I am comparing two documents and opening the compared document at the end of the comparison. What is the option available using OpenXML.
View ArticleAdd watermark in Excel sheet
Hello All I want to add a watermark(text) to a Excel document. As a library for accessing the Excel document DocumentFormat.OpenXML is used.Yours sincerely,Vihaani.
View ArticleUsing OpenXml to copy large Excel file - Append data to same file
Hi .I am trying to use Open XML to copy data from multiple datatables ( around 30+ datatables) . Each datatable contains 10000 rows and 255 columns .I have tried multiple approach but, I am get the...
View ArticleWrap Text - Auto format rows
Hello,I am using OpenXML to create reports, I am filling data in existing excel template file.In excel template 'Wrap text' for all cells is set to true. When my report is complete I open excel file.In...
View ArticleRead text, X, Y coordinates of shape placed on slide layout
Sorry for my English :)I try read X, Y coordinates and text of shapes placed on the firstslide:public static void Read(string presentationPath) { using (var doc =...
View ArticleCompare formatting using OpenXML
How to compare formatting (Bold/Italic/etc.) of two word documents using OpenXML
View ArticlePowerPoint found a problem with content in - Charts and Tables not showing...
I wrote some code based on the Open XML SDK about 10 years ago to create PowerPoint presentations and we are working to add some functionality. I have recompiled the code with the 2.8 SDK. I start...
View Article