152 questions with Microsoft 365 and Office | Open Specifications tags

Sort by: Updated
0 answers

style1.xml and color1.xml files not recognized by Excel for older charts

The issue involves style1.xml and color1.xml files being ignored by chart1.xml for style information, despite adherence to the valid schema as per the documentation at ECMA-376 and MS-OE376. After converting to .xlsx, the chart defaults to style id=2…

Microsoft 365 and Office | Open Specifications
asked 2025-06-23T12:37:05.0066667+00:00
Revanth Kumar 0 Reputation points
commented 2025-06-25T05:57:59.09+00:00
Revanth Kumar 0 Reputation points
2 answers One of the answers was accepted by the question author.

Why does this PPTX need repaired?

I have this PPTX my company's software generates and when opening it in powerpoint it prompts that it requires a repair. I compared the repaired version to the broken version with the Open XML Productivity tool and manually went through a lot of the…

Microsoft 365 and Office | Open Specifications
asked 2025-06-04T19:01:06.01+00:00
Ian Peterson 55 Reputation points
accepted 2025-06-13T08:50:21.07+00:00
Ian Peterson 55 Reputation points
2 answers

Creating a custom style for bibliography in MS Office.

Existing bibliography styles include templates such as: <xsl:template name="templ_prop_Hyphens"> <xsl:param name="LCID" /> <xsl:variable name="_LCID"> <xsl:call-template…

Microsoft 365 and Office | Open Specifications
asked 2025-06-01T06:30:51.48+00:00
Andrii Poliakov 0 Reputation points
answered 2025-06-12T14:13:36.28+00:00
Andrii Poliakov 0 Reputation points
1 answer One of the answers was accepted by the question author.

Error in description of attribute "scaled" of linear gradient fill

The standard states for the attribute scaled of the element <lin> in §20.1.8.41 in ISO/IEC 29500-1:2016(E), Mathematically, if this flag is true, then the gradient vector ( cos x , sin x ) is scaled by the width (w) and height (h) of the fill…

Microsoft 365 and Office | Open Specifications
asked 2025-05-12T09:01:15.8033333+00:00
Regina Henschel 286 Reputation points
accepted 2025-05-28T13:11:04.59+00:00
Regina Henschel 286 Reputation points
1 answer One of the answers was accepted by the question author.

upArrow is missing in presetShapeDefinitions.xml

The element <upArrow> is missing in presetShapeDefinitions.xml. Could you please provide its markup?

Microsoft 365 and Office | Open Specifications
asked 2025-05-14T23:55:11.7366667+00:00
Regina Henschel 286 Reputation points
commented 2025-05-16T23:35:12.5766667+00:00
Regina Henschel 286 Reputation points
5 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…

Microsoft 365 and Office | Open Specifications
Developer technologies | C#
asked 2021-02-03T19:20:57.723+00:00
Fabio Almeida 1 Reputation point
commented 2025-05-12T11:15:22.62+00:00
Zhongyuan Meng 0 Reputation points
5 answers One of the answers was accepted by the question author.

Non-preset <a:tileRect> behaves strange in case of gradient fill with <a:path>.

If you set a custom <a:tileRect> for rectangle or radial gradient fill, then the rendering is strange. I know, that the flip attribute of OOXML is not supported, but the description in Section 2.1.1297.a in [MS-OI29500] works neither. If the tile…

Microsoft 365 and Office | Open Specifications
asked 2025-04-14T20:30:39.85+00:00
Regina Henschel 286 Reputation points
commented 2025-05-05T17:24:38.4233333+00:00
Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

Section Breaks Appear to Be Backwards in OOXML vs Rendered Document

Hello, I have a document where there is a continuous section break on the first page, followed by a page break and then a next-page section break on the following page. I am confused why it appears this way as the OOXML for the document shows the…

Microsoft 365 and Office | Open Specifications
asked 2025-04-28T17:13:00.82+00:00
Connor Shore 70 Reputation points
commented 2025-04-29T16:26:09.9333333+00:00
Connor Shore 70 Reputation points
2 answers

Is the ‘ProtectInClient’ property officially supported and safe to use in WOPI Excel?

Hi, We are looking to restrict copy functionality in WOPI Excel read-only modus. We tested and found that the ‘ProtectInClient’ currently works on WOPI production which blocks copy for end users. However, the available documentation on this property…

Microsoft 365 and Office | Open Specifications
asked 2021-01-18T13:25:43.297+00:00
Pepijn 1 Reputation point
commented 2025-04-21T16:52:08.2533333+00:00
Tom Jebo 2,336 Reputation points Microsoft Employee Moderator
2 answers

TOC default text changes color when "Update Field" is clicked

I have a question why the color changes in a specific document when "Update Field" is clicked. Our application creates output from a template. In the download link is the template file (TocUpdateIssueTemplate.docx) and the output generated…

Microsoft 365 and Office | Open Specifications
asked 2025-04-04T22:23:29.7966667+00:00
Connor Shore 70 Reputation points
commented 2025-04-18T15:10:48.7533333+00:00
mkaszewiak 85 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

How is attribute fillToRect evaluated for a gradient with path="circle"?

A gradient fill of a shape is defined by an element <a:gradFill>. It has a child element <a:path>. For a rectangular gradient it is e.g. <a:path path="rect"> <a:fillToRect l="10000" t="30000"…

Microsoft 365 and Office | Open Specifications
asked 2025-04-11T20:15:38.45+00:00
Regina Henschel 286 Reputation points
commented 2025-04-16T22:04:49.4933333+00:00
Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

Detection of the end of the table

Hello, I am working with an old doc (binary) format. Specifically processing tables. I would just like to ask, is there a reliable way to detect if the next row of a table already belongs to another table? In most cases, I have successfully…

Microsoft 365 and Office | Open Specifications
asked 2025-03-18T11:10:27.8766667+00:00
Vlado 80 Reputation points
accepted 2025-03-25T07:40:29.9433333+00:00
Vlado 80 Reputation points
1 answer One of the answers was accepted by the question author.

Why is the TOC text black when the style says it should be blue?

Hello, I have a question about this simplified document: https://windwardstudios.box.com/s/8cr6e5gnqbfp87h62lh3ymogxuw7yn9t If you place your cursor on "Tester" in the table of contents, if you click on the styles you will notice the style is…

Microsoft 365 and Office | Open Specifications
asked 2025-03-19T14:24:31.12+00:00
Connor Shore 70 Reputation points
commented 2025-03-19T20:57:21.2433333+00:00
Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

Smart Art not rendering for unknown reason

Hello, I have a question why the smart art in my document is not rendering. I have a template file (Template.docx) which has the smart art rendering properly. When we run this template through our engine, the output it produces has issue where the…

Microsoft 365 and Office | Open Specifications
asked 2025-02-19T14:58:45.3333333+00:00
Connor Shore 70 Reputation points
commented 2025-02-19T19:32:29.47+00:00
Connor Shore 70 Reputation points
2 answers

When is the "o:gfxdata" element in the DOCX format actually used by MSWORD? Is it only specific versions?

I have recently wondered if the "o:gfxdata" element in OOXML files (docx) is actually ever used by MSWORD, and if so, by which versions and to what end? This element is added to images and graphic objects when I embed them in Word.

Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Word | For business | Windows
asked 2024-12-24T07:47:33.2566667+00:00
edited a comment 2025-01-06T23:28:20.87+00:00
Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

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…

Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | PowerPoint | For business | Windows
asked 2024-02-14T22:05:19.4866667+00:00
Ian Peterson 55 Reputation points
edited a comment 2024-12-11T16:58:32.8066667+00:00
Mike Bowen 2,051 Reputation points Microsoft Employee Moderator
3 answers One of the answers was accepted by the question author.

Where is the parameter <w10:wrap> located in the binary file doc?

Hello, I am trying to convert a binary doc file to docx. When I did the conversion using MS Word, I see inside the docx (in document.xml) parameter: w10:wrap, located inside <v:shape> group. I can't find where is this parameter in binary…

Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
asked 2024-10-24T09:55:44.73+00:00
Vlado 80 Reputation points
accepted 2024-12-10T15:18:53.8966667+00:00
Vlado 80 Reputation points
1 answer

Open XML SDK tool - Does it retains formatting for Rich Text Area field.

I wanted to inquire about the tool – Open XML SDK for office, used for text processing. We are using this tool with our import data feature. Below is the use case for the same: ·        We will be importing the word/PDF docs into a Rich Text Area field…

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
asked 2024-09-20T04:55:05.1433333+00:00
Anonymous
answered 2024-09-20T17:26:47.8533333+00:00
Tom Jebo 2,336 Reputation points Microsoft Employee Moderator
1 answer One of the answers was accepted by the question author.

syntax definition of structure-reference misses brackets

Assume you have an Excel Table named myData. And this Excel Table has first row with labels Name, Gender, Class, Age and Time . With the syntax rules for structure-reference starting on page 37 in [MS-XLSX] - v20240416, I get this construction: Gender is…

Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
asked 2024-08-04T17:31:06.3533333+00:00
Regina Henschel 286 Reputation points
commented 2024-09-11T08:58:38.3+00:00
Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Can't find the http://schemas.microsoft.com/office/drawing/2015/06/chart schema to download

Hello Microsoft Team! I have a problem with an XML schema, I can't find it anywhere. I tried here: https://learn.microsoft.com/en-us/openspecs/office_standards/ms-odrawxml/bdc95a77-957c-40f8-9ef2-47cbcdeb8af2 but without success, I can't find nothing…

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
asked 2024-08-13T08:00:45.3566667+00:00
VM 25 Reputation points
edited the question 2024-09-02T05:40:59.1466667+00:00
Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff