How to get entities/symbol from element
Hello Everyone,I am creating one application using open XML (c#), where I am creating XML from all the paragraphs of the word. Problem starts when inside <w:r>, <w:sym> element comes, which...
View ArticleUse OpenXML to modify Word Doc
I have a Word Document stored on a server I wish to use as a template. I need to replace certain text with data from a database.The two issues I have are: No office on the server to use...
View ArticleCreate PPT programmatically from OpenXML and download
Hi,How to create a ppt programmatically using OpenXML ( C# ) and download the created ppt?I am using Visual studio 2012. If the data is in a string builder, can that be moved to the presentation.I...
View ArticleHow to get PowerPoint to reflow text on startup?
I'm writing powerpoint files with the Open XML SDK, and I need to get PowerPoint to reflow text on startup. I'm setting PP's GUI options for "Shrink text on overflow" and "Wrap text in shape" in my...
View ArticleFirst" available">C++/CLI - assistance needed for SharedStringTablePart GetPartsOfType - no...
In C#, the following statement works:SharedStringTablePart shareStringPart = spreadSheet.WorkbookPart.GetPartsOfType<SharedStringTablePart>().First();where 'spreadSheet' is of type...
View ArticleError in header 3.xml after generating docx , cant understand what is error
Hello,I have a my software that generate docx document. Some days ago i have generated a new docx but word opening this warning me for an error in header3.xml : We cant open filename because we found a...
View ArticleHow to generate the Word Reports from the values in Database
Hi, I am using VS 2008 & can use word 2003 or 2007 at server. I want to create a client server application with client having no dependency like VSTO Runtime(Thin Client Application). I want to...
View ArticleWord Viewer can´t open documents generates with OpenXml SDK that can be open...
Hi, I am generating ".docx" documents using OpenXML 2.5, the generation process consist in parse a ".doxt" template with some values using Visual Studio c# and get a ".docx", and after that the...
View ArticleReplace Hyperlinks in an OpenXML word document
Hi,After a struggle with OpenXML, MailMerge and c#, i now have one last issue to solve. In my document i have some Hyperlinks, each hyperlink should be defined dynamically like the mailmerge...
View ArticleAccept Revision problem
hi.. i'm using OpenXmlPowerTools.4.1.3 original content of the Documentwhen i use OpenXmlPowerTools.RevisionAccepter.AcceptRevisionsof openxmlPowerTool document look like thanks in Advance..
View ArticleTable/Document format gets changed after accept all changes using OpenXml...
Hello TeamI am using OpenXml Power Tools 4.1.3 for accepting revision in document, when I use acceptRevision () method from OpenXml Power Tools my document/table gets disturbed and shows contents in...
View ArticleProgrammatically update Word Link/Embedded Files Source Location
Hi I'm not sure if I posted this in the right forum, so please feel free to point me in the right direction. We are in the middle of migrating thousands of Word and Excel (Office 2010) files from Novel...
View ArticleTag id corrupts Document
Hello,I generate word document from a software component but if i open in word this docx , word wanr me thet this is corrupted. Open the document.xml i have seen this code :<w:hyperlink r:id="rId9"...
View ArticleRemove CellFormula using OpenXML
I want to remove cell formula using OpenXML. Please find below my code.If cell1.CellFormula IsNotNothingThencell1.CellFormula.Remove()EndIfI get a format corrupt error. Please help to resolve this issue.
View ArticleAdd Footer only to last page of the word document using open XML sdk with C#
I am new to OPEN XML SDK 2.5 using C#. I created a doc with a table in it and the contents in the table may go more than 500 rows. So the document may have multiple pages. I have added header and...
View ArticleRelationship Transform Algorithm Issue
Hi,I need some help in transforming and canonicalization of Office XML relationship file mentioned in title i.e. Document.xml.relsI have seen that in the final signature file in OOXML Package, in which...
View ArticleImplementation of relationship transformation algorithm
Hi, I'm trying to calculate digest of _rel/.rel part of MS Word XML signature. There is relationship transform transformation to be applayed to the file before canonicalization and digest calculation....
View ArticleHow do I get the text that a comment references.
I am able to get the author, comment text, and date for a comment, but I am having real trouble getting the text that the comment references. Can someone please help me find a...
View ArticleCommand line arguments for Open XML SDK v2.5 Productivity Tool?
Does the Open XML SDK v2.5 Productivity Tool support start-up arguments/switches?I'd like to know if there's something of this nature available:OpenXmlSdkTool.exe /compare file1.docx...
View ArticleMS Word document protection
Hi,I generate docx files as output from my tool. I would like to add document protection into docx.According ECMA specification I want to use SHA-1 encryption. The sample for "test" password and "foo"...
View Article