All Application and their methods to be used by CreateObject
With reference to [MS-VBAL], section 6.1.2.8.1.4 about CreateObject function, it is mentioned that the 'Class' argument has a string data value, containing the application name and class of the object to create. After some exploration i found that you…
docx generated using OpenXml does not show form elements in MS Word
We use OpenXml to covert html to word. This generated word file does not show radio buttons and check boxes when opened in MS word. It used to show but with recent windows updates, radio buttons and check boxes disappeared. Html contains form…
Clarification on 'WordDocument' stream in OLE file format
Hi, I am trying to parse a '.doc' file (OLE file) in Python. I am trying to understand the structure of the 'WordDocument' stream inside the file. With reference to [MS-DOC] and [MS-CFB], it is known that this stream must be present and have the FIB…
Clarification on picture placement and location in OLE file format
Hi, I am parsing a '.doc' file in python (OLE). I was looking at [MS-CFB] and [MS-DOC] and i am unable to find a reference to find the following: Where (at what offset/sector) can i find (multiple) images that are in my file? In the 'WordDocument'…
Documentation on formats of stream objects in OLE files.
Hi, I am trying to parse a ".doc" file (Microsoft Word 97-2003 Document) (OLE), and I am looking for some documentation. I found the following…
Clarification on allowed names for storage and streams in OLE files
I am parsing an OLE file using Python, and I want to know if there is a predetermined set of names that can be given to streams and storages in the Directory structure of the OLE file. If there is, please provide all the possible names that can be used…
Word COM API ShowHiddenText will hide images
Hi I have a question regarding the Word C# COM API. In our application we have a button to hide our custom tags (which are just field codes), however a customer of ours is reporting an issue where their background image is being hidden when that button…
FORMCHECKBOX field code doesn't render checkbox
I have a word document that contains a FORMCHECKBOX field code I can view by hitting ALT-F9, however when I toggle it to not show the field code, there is no checkbox that appears in its place. Why is this? In our software we insert a checkbox when we…
LightDirection on shape with 3D effect is rendered different than specified
Insert a circle, set a large (72pt for 5.04cm circle width) rounded bevel and use a projection without rotation. That way you can see the direction of the lightning. When you rotate the camera, you should mark the axes with arrows. Use a gray fill color…
how add date in openxml
how to add custom date format in openxml
What is "Specular" and "Diffuse" in the lightRig table in section 2.1.1274 in [MS-OI29500]?
Hi all, The table of lightRigs in section 2.1.1274 in [MS-OI29500] has columns "Specular" and "Diffuse". Such columns are missing in section 2.1.1321, which is about legacy lightRigs. What is the meaning of "Specular" and…
What OOXML can I enter in a PPTX to password protect the presentation?
I have a PPTX and I want to make it password protected programatically by inserting OOXML. When I try to check the Diff of a non-protected and protected document, the files in the password protected OOXML are encrypted and the only line that is human…
How to get theme colors data from theme1.xml file when convert ppt to html
**I have confusion related how I read which color and which color css or filter use in theme ppt. I have no idea related how I calculate the actual color ratio from theme1.xml file. Please guide me how I can proceed on it.** This XML file does not…
How to generate 2 worksheets in excel workbook when we are generating that excel from xml after applying OOXML xsl?
Hi, I am not able to relate/create 2nd sheet in xsl using ooxml. How to link Sheet defined in workbook variable to the <worksheet.. > element where we actually populate the data? Thanks.
Conversion of irregular tables doc->docx.
Hello, I am trying to convert a binary doc file that contains table - into docx ooxml format. I have problem with irregular tables. I have 3 questions: When I'm parsing table properties, I can read cell widths (from sprmTDefTable.rgTc80[i].wWidth) …
How to decode *.one files in OneNote Online format?
Hello! I have a library that processes *.one files in OneNote 2010/OneNote Online formats. Unencrypted documents are processed fine. Encrypted documents in OneNote 2010 format also causes no problem. But I couldn't parse encrypted *.one files in…
Conversion table of doc->docx parameters.
Hello, I am trying to convert a doc binary file into docx ooxml format. There are many ".doc" binary format parameters related to e.g. "OOXML/Settings" sections not mapped 1:1 into ".docx" ooxml format. Can you please…
Are the fields in MS-OFORMS in fmPosition swapped?
In MS-OFORMS, specifically https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-oforms/73c3866f-bbac-4f45-ba70-645fd046bfdf the fmPosition struct is described as "Top (4 bytes)", then "Left (4 bytes)", i.e. vertical…
OOXML - SVG Image doesn't show up preview in box until it gets saved using MS Word.
I am inserting an SVG Image using OOXML 2.18version into document and then uploading to BOX Platform. in BOX Platform the Image preview is not coming, Whereas if I open the document in MS word the image is displaying and if save it to Box, then also…
Excel row height logic calculation
Using C# and OpenXML, given a font name and its height, I need to calculate the exact row height in pixels in order to draw an Excel spreadsheet in a CAD software. What I have done so far: I have been able to accurately calculate a column width given…