Regex replace text working only for few words (Problem please help)
I have for example this words in documentsfirma_o, num_o, tel_o, etc..., firma_p, num_p, etc... when I use Regex Regex regexText = new Regex("firma_o"); docText = regexText.Replace(docText, "Firma...
View ArticleSetting image size in XML using wp:extent and a:ext
I am having an XML file generated dynamically (using ruby) and I'm simply having an issue with image sizing. A few people online have mentioned that they're set based on the pixel dimensions of the...
View ArticleCopy and insert Row
Hello.I want to copy a row and then insert it after, within SpreadSheetML using Open XML SDK 2.0 API
View ArticleHow to make excel formulas reflect according to row insert operation
Hi, everyone. I have a website, user can design and upload excel template file for data filling and downloading. The backgroud program will read data from database and fill data into the excel....
View ArticleAdding Text To an Existing Word Document (.docx) results in file corruption
Hi, Im trying to add text to a document copied from one directory to another. Heres my code: string dir = Directory.GetCurrentDirectory(); string filename = dir +...
View ArticleHow to get the R1C1 text for cell formula
In excel applcation, a cell formula can has two styles, one is A1 style, another is R1C1 style. For example, cell C1 can has the "=A1+B1" in A1 style and "=RC[-2]+RC[-1]" in R1C1 style for the same...
View ArticleWordprocessing - Problem with package or word can't open generated File
Hello,ich' ve written a tool in ABAP language for generating docx files. It works fine, but word cannot open generated files. I searched the web for a tool, which can validate OOXML files and found...
View ArticleEditor for generating WordML
Hello, today i was given a task to create the XSLT for Word documents and found that we need to be using WordML and feeling like there should be a editor in place such as i have a word document...
View ArticleEmbed .wav file in ms word
I am trying to embed .wav file as ole object using c# . If someone has a code snippet , could you please share it ?
View ArticleNeed to convert PPTX file to mp4 using Open XML
Is it possible to convert pptx to mp4? Please provide me any way I can do using Open Xml .
View ArticleHow to avoid/ignaore AlternateContent of Choice and Fallback in document...
How to avoid/ignaore AlternateContent of Choice and Fallback in document using openXML C#, since word processing textframes are coming in word 2013 .R L Kiran
View ArticlePublic member 'Reset' on type 'XmlNodeList' not found.
Hello All,recently we have created new web server and moved our vb.net based web services to the new server(Windows 2012).below is my code, in web service project i have referred Interop.MSXML2...
View ArticleCompute max number of characters for a shape
Sorry for my English :)I know shape's (on the slide) width, height, and its text font size. Is there a way to definemax number of characters which shape can contain?I need just an approximate number...
View Articlehow to generate xslt for WordML
Could anyone tell if I can create a xslt using a designed Word Document. trying to avoid writing all the tags manually.
View ArticleGet all tables values which exist in word document
Hi,We need to extract all tables (from word document) and insert into a SQL server table. Can anyone help to get rows/columns from word document for each table?See below what i'm trying...using...
View ArticleEnable DTD processing in Open XML SDK
Hello,I'm trying to create an application vulnerable to XXE attacks (for training purposes). How can I enable DTD processing in OpenXmlReader and use it for opening Open XML documents?I am able to...
View ArticleOpenXML - Formatting lost when displaying contents of word document
See below content from Word Document:Deadline for Lenders to report market disruption (Clause 17.3(Market disruption)):See below whats get displayed on asp.net pageDeadline for Lenders to report market...
View ArticleOpenXML - Insert tables fetched from word document into SQL Server Database
Below code displays all the tables in word document. I want to insert into SQL Server table, how can we do that.. what objects should i pass to ado.net command.. using (WordprocessingDocument doc =...
View ArticleHow to retrieve specific element from open xml Word document mainpart
I am trying to read some specific text from a word document using open xml SDK. The structure of the document looks like this.Requirement: Search for "Title of the chapter" - when found return...
View ArticleExtract Sections from word document
See below document structure: Need to search for "Lender" and return items under it...in this case point (a)"Lender" in document is HEADING2"Lender" means:(a) any bank, financial...
View Article