Microsoft Q&A

Office Open Specifications

103 questions

Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.

Browse all Office tags

103 questions with Office Open Specifications tags

Sort by: Updated
0 answers

Finding VBA Compressed source code in ole file

Hi, With reference to [MS-OVBA]. I am parsing a .doc file (MS-97-2003) in Python and i am able to read the directory structure. The directory structure is given at the end here. I know that the entry 'Module1' contains some compressed VBA code. Although…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-27T12:37:42.9033333+00:00
Parth Gupta 40 Reputation points
edited a comment 2023-05-31T16:38:03.21+00:00
Tom Jebo 1,446 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to disable a directory entry in OLE file

Hi, I am trying to parse a .doc file (OLE file) (MS-97-2003) by reading it byte by byte in python. I am so far successful in extracting the directory structure of the file. Suppose i find a directory named "Macros" in the .doc file and i want…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-18T17:38:26.2+00:00
Parth Gupta 40 Reputation points
commented 2023-05-28T10:38:30.01+00:00
Parth Gupta 40 Reputation points
1 answer One of the answers was accepted by the question author.

How to identify number of tokens in TokenSequence. MS-OVBA

Hi, With reference to MS-OVBAhttps://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-ovba/575462ba-bf67-4190-9fac-c275523c75fc Section 2.4.1.1.7 Token Sequence It is mentioned that: "The number of Tokens in the final TokenSequence MUST be…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-24T10:48:31.5133333+00:00
Parth Gupta 40 Reputation points
commented 2023-05-27T06:40:02.39+00:00
Parth Gupta 40 Reputation points
1 answer

Keywords of directory names in a .doc file

Hi, I am trying to fetch the directory structure that’s inside a .doc file (OLE file) (MS 97-2003). I am able to fetch the names of streams and storages (like VBA, Macro, etc) correctly by following the directory chain specified in the FAT sector of…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
427 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-17T05:47:38.47+00:00
Parth Gupta 20 Reputation points
answered 2023-05-17T23:57:28.29+00:00
Mike Bowen 1,101 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Fetching the FIB of a .doc file

I am trying to parse a (.doc) file (Microsoft Word 97-2003 Document) for purposes of extracting the FIB (File Information Block). In the Documentation given in this link: https://interoperability.blob.core.windows.net/files/MS-DOC/%5bMS-DOC%5d.pdf it…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
250 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-10T14:22:16.14+00:00
Parth Gupta 20 Reputation points
accepted 2023-05-15T12:38:48.1566667+00:00
Parth Gupta 20 Reputation points
1 answer

How to fix error069040_01.xml in Excel

Hello, I open my excel file and the system informs that there is a problem with the content and that it would try to recover as much information as possible. Once I accept, the message is the following: <recoveryLog…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
531 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,413 questions
asked 2023-04-28T08:13:38.2666667+00:00
Cristina 0 Reputation points
edited an answer 2023-05-11T08:21:33.62+00:00
Tanay Prasad 325 Reputation points
1 answer One of the answers was accepted by the question author.

OpenXML SDK: How do I find the formula in a CellFormula where the type is "dataTable"?

I'm writing an application in C# to read formulas from various cells in an Excel spreadsheet, and one section is giving me trouble. In Excel, it displays the formula as "{=TABLE(,B5)}" for all cells in this range. I stepped through my C#…

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-05-05T19:11:14.4866667+00:00
Chris 25 Reputation points
accepted 2023-05-08T16:59:17.63+00:00
Chris 25 Reputation points
1 answer One of the answers was accepted by the question author.

.xlsb file in DocumentFormat.OpenXml.Packaging throwing error of OpenXmlPackageException: 'The specified package is not valid.'

.xlsb file in DocumentFormat.OpenXml.Packaging throwing error of OpenXmlPackageException: 'The specified package is not valid.'

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
531 questions
Excel Management
Excel Management
Excel: A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.Management: The act or process of organizing, handling, directing or controlling something.
1,413 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-04-05T13:06:31.1566667+00:00
Mahenoor Mahida 20 Reputation points
edited the question 2023-05-05T02:10:20.06+00:00
Emi Zhang-MSFT 13,076 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Default values for attributes in clrSchemeMapping do not exist

Look at 2.1.395 Part 1 Section 17.15.1.20, clrSchemeMapping (Theme Color Mappings) in [MS-OI29500]. It has a remark, that default values "t1" and "t2" do not exist. I think, that there should be similar remarks for the default values…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-03-28T19:41:21.0866667+00:00
Regina Henschel 131 Reputation points
accepted 2023-04-20T13:28:32.16+00:00
Regina Henschel 131 Reputation points
1 answer One of the answers was accepted by the question author.

Word document is corrupt for unknown reason

Hello, I have a Word document that was generated using our product that is corrupt for an unknown reason. Their input file is a docm file and I have a docx and a docm output file which says it is corrupt. I have run both documents through an OOXML…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
250 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-04-07T15:50:06.04+00:00
Connor Shore 136 Reputation points
accepted 2023-04-18T21:12:15.1633333+00:00
Connor Shore 136 Reputation points
15 answers

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…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,194 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2021-02-03T19:20:57.723+00:00
Fabio Almeida 1 Reputation point
commented 2023-04-10T19:20:47.0766667+00:00
Hung-Chun Yu 976 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

I found an error in your doc

https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-ovba/c375cbf2-b9c6-4594-b064-6dfb830f1851 The size of Data in bytes MUST be CompressedChunk.CompressedChunkHeader.CompressedChunkSize (section 2.4.1.1.4) plus 3. This should be plus 1.

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-03-25T00:56:18.6566667+00:00
BaDanWang-3245 20 Reputation points
accepted 2023-03-29T00:47:27.73+00:00
BaDanWang-3245 20 Reputation points
1 answer

What is invalid about this docx?

Hi, I generated this docx with my software. The Open XML SDK productivity tool does show some validation errors, but fixing these errors doesn't make it so this docx can be opened in Word. Usually when I have an invalid docx word gives me the option to…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
427 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-03-21T18:42:10.34+00:00
Matthew Binsfeld 21 Reputation points
edited an answer 2023-03-22T21:22:28.1166667+00:00
Mike Bowen 1,101 Reputation points Microsoft Employee
1 answer

Updated writeProtection logic

Hi, it looks like MS have changed how the writeProtection element (one definition found https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.writeprotection?view=openxml-2.8.1) behaves in Word documents. Prior to Word 365…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
1,053 questions
Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
250 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-02-06T09:05:15.8266667+00:00
midget 0 Reputation points
answered 2023-02-28T18:54:58.3433333+00:00
Tom Jebo 1,446 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How to sets the PPT background use openxml

I'm using openxml to manipulate ppt, but I don't know how to modify the ppt background, hope to get help, thank you.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,369 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
8,194 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
1,685 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-02-14T08:14:32.7+00:00
qiangang 40 Reputation points
accepted 2023-02-15T02:45:37.8633333+00:00
qiangang 40 Reputation points
1 answer

Pass Authenication cookie to MS Word to open word document without MS Word authentication popup

Hello, We have a website where we list the MS Word documents and a WebDav setup and user has to login for viewing the list of documents. Users can edit the documents online in Office online and while opening the document remotely(by supplying the…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
583 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,435 questions
Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2022-02-03T15:33:05.683+00:00
Varun Arora 1 Reputation point
commented 2023-02-02T13:40:37.4866667+00:00
Wisal Ahmed 0 Reputation points
0 answers

What does acronym STTF stand for

Hi Team, I would like what acronym STTF stand for

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2023-01-20T07:56:44.1266667+00:00
Muraina, Kehinde 0 Reputation points
commented 2023-01-20T17:04:34.0033333+00:00
Tom Jebo 1,446 Reputation points Microsoft Employee
0 answers

[MS-ONESTORE] TransactionLogFragment's nextFragment size

OneNote seems to add some implicit padding to the TransactionLogFragment. According to the [MS-ONESTORE] spec, section 2.3.3.1, the TransactionLogFragment has the following components with their respective size in bytes: list of TransactionEntries…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2021-02-14T15:56:21.437+00:00
Sebastian Engel 1 Reputation point
edited the question 2023-01-12T21:34:14.94+00:00
Hung-Chun Yu 976 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

ST_HINT is missing "cs" enumeration inside RNC/XSD schema files

Hi, Whilst updating the our software to use the Java library "Apache POI", we came across an issue whereby the documentation for the ECMA-376 5th Edition standard specification differs from the WML.RNC and WML.XSD files contained in Part 1…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2022-05-25T01:33:09.76+00:00
Chris Lake 21 Reputation points
edited the question 2023-01-12T21:33:36.81+00:00
Hung-Chun Yu 976 Reputation points Microsoft Employee
1 answer

Unlock Endpoint not being called after Iframe is closed in WOPI, when upgraded Office Online Server to version to 16.0.10338.20039.

Hi All, We have integrated Word application and editing docs using WOPI Integration in our website. I am aware of the fact that in earlier versions of WOPI, OOS, there is a known bug that Unlock endpoint does not get called after the editing session is…

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Open Specifications: Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.
103 questions
asked 2021-07-02T06:18:17.617+00:00
Ajitesh Singh 1 Reputation point
edited the question 2023-01-12T21:31:26.39+00:00
Hung-Chun Yu 976 Reputation points Microsoft Employee