How to set vertical alignment and line folding for excel cell?
How to set vertical alignment and line folding for excel cell?
View ArticleCreate subtotal
Hi I need create subtotal from DocumentFormat.OpenXml, any idea ?thanks !zambrano
View ArticleAdd HTML content with Image into header and footer in Open XML SDK 2.0
I facing issue with header and footer in docx using OpenXml SDK. Here I adding html content with image in both and header and footer. Its a dynamic header footer content so can't hard code into coding...
View ArticleCalculated dates values are not calculated on read but on save
I'm working on a system that reads excel sheets and parses it. Using a method like this: string strDoc = @"C:\Users\Public\Documents\Sheet11.xlsx"; using (Stream stream = File.Open(strDoc,...
View ArticleNot able to have a Content Control in which I can add line breaks
I am trying to insert some text at a Bookmark in document.Here is my sequence.1. Start a loop for a number of Questions. 2. Add Question Text with line break at beginning and end.3. Add Content Control...
View ArticleMs Word Font issue
Hello.I use Office 2016 , Hebrew version.If I open XML file of document on part of runs I see <w:rFonts w:hint=“cs”/>Itdisturbs me covert docx to html.What does this mean?How can I remove it ?Thn
View ArticleInterested to split and merge Powerpoint Presentation
Hi, Can anybody help me in splitting a pptx file into individual pptx files having exaclty one slide in each file based on number of slides in source pptx. Then merge these files into a single...
View ArticleOpen Xml not provide ahyp:hlinkClr tochange color of hyperlink.
Hi I need to change the color of a hyperlink in a presentation using documentformat.openxml in c# but openxml not provide ahyp:hlinkClr to change the color. Please help.kamaldeep
View ArticleHow to merge word documents with different headers using openxml?
I am trying to merge multiple documents into a single. I am using AltChunk altChunk = new AltChunk(). When documents are merged, it does not seem to retain seperate hearders of each document. The...
View ArticleUsing Content control to print MSSQL Table
I want to print a table from the database and print on some content control on an MS word document.I am very new to using content control to print out tables from a Database, Can i use SdtElement?My...
View ArticleList c# Openxml how to print Table on content control
I am trying to print a table to a Content control from a Database (MSSQL), the webservice is supposed to fetch some records and put it to a content control in the form of a table using List. So I do...
View ArticleCopying powerpoint presentation to Sharepoint-Online corrupts customXML Data
Hello,Our company develops and distributes a Powerpoint Add-In.We received a Powerpoint Presentation from our customer from his Sharepoint online server and wanted to place it with our Powerpoint AddIn...
View ArticleWord found unreadable content in xxx.docx after split a docx using openxml
I have a full.docx which includes two math questions, the docx embeds some pictures and MathType equation (oleobject), I split the doc according to this, get two files (first.docx, second.docx) ,...
View ArticleOpenXMLSDK: Draw Scribble shape in Doc
I need to draw Scribble shape in Word doc using Open-Xml in my UWP project. I've searched a lot about this but couldn't find anything. I've also checked MSDN Site.I'm using OS: Windows 10, OpenXMLSDK...
View ArticleRTF inside WordProcessing.Paragraph
Hi, We have a program which takes .docx-files and replaces certain texts (eg. 'something1') with certain replacement values. Everything goes well when we replace these texts with normal text, but...
View ArticleCOPY DOCUMENT AT END OF OTHER DOCUMENT
I am copying one document at end of other document.I have written all code including coping styles and other data.In one case line spacing is not getting copied from source document.The paragraphs...
View ArticleNeed sample examples on applying the font and color to the excel cell with...
Dear all, I have a requirement to apply the font and color to the excel cells in a row using DocumentFormat.OpenXml and have to do it programatically. I would like to have sample code examples or...
View ArticleCopy Header code sample not working.
Hi,I am trying to add a header to a word document as per code samples on MSDN.https://docs.microsoft.com/en-us/office/open-xml/how-to-replace-the-header-in-a-word-processing-documentI am getting...
View Articlehow to retain different styles in different documents during merging?
I am merging multiple documents using the following code snippet.However, it is messing around with the styling. First document has a numbered list style and the second document has a bullet list...
View ArticleHow to apply Percentage format to the excel cell with DocumentFormat.OpenXml
Dear all, I have a requirement to apply Percentage Format to the excel cell and also I have to apply other styling like bold and border to the same excel cell. I have to make use of...
View Article