none
Office open XML ( open XML) probelm with Mac OS RRS feed

  • Question

  • Hi,

    How can i check whether my application is generating Transitional OpenXML document or Strict OpenXML document ?

    And how can i convert that into a Transitional OpenXML document ?

    Please suggest me 

    Thanks
    Pradeep Simhadri
    Saturday, February 22, 2014 2:32 AM

All replies

  • Hi,

    Since Office for MAC OS is quite different from Office of Windows OS, for questions about the development of Office for MAC, I suggest you posting in Microsoft Community Forums for Mac for more effective responses.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, February 24, 2014 5:30 AM
    Moderator
  • Hi Luna

    I think Pradeep's real question is independent of Mac OS. He wants to know how to determine whether his application is generating Transitional or Strict Office Open XML and how Strict can be converted to Transitional... That question has nothing to do with OS.


    Cindy Meister, VSTO/Word MVP, my blog

    Monday, February 24, 2014 1:55 PM
    Moderator
  • Hi Pradeep

    I don't know the answer, except that anything you generate using the Open XML SDK 2.0 or 2.5 will, by default, be compatible with Word for Windows 2007 as long as it doesn't contain functionality added to Office in a later version.

    At the moment, only Office 2013 can generate a "Strict" document. You can also use the SDK to generate a Strict document "simply" by conforming to the "Strict" rules (shema). But the current versions of the SDK don't do that on their own.


    Cindy Meister, VSTO/Word MVP, my blog

    Monday, February 24, 2014 1:58 PM
    Moderator
  • Hi Pradeep,

    As Cindy mentioned, if you use the Open XML SDK 2.0 or 2.5, it should be compatible with Office 2007, and it should also be compatible with Mac Office 2011.

    Did you encounter any issues while opening an Office document by using Mac Office System?


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, February 25, 2014 7:02 AM
    Moderator
  • Hello Jeffry,

    Thanks for the input. Thanks Cindy.

    to generate the open-xml from my application, i am using the following in my template.

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <?mso-application progid="Word.Document"?>
    <pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage">
    <pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512">
    <pkg:xmlData>
    <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>
    <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/>
    <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/>
    <Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties" Target="docProps/custom.xml"/>
    </Relationships>
    </pkg:xmlData>
    </pkg:part>
    <pkg:part pkg:name="/word/_rels/document.xml.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="256">
    <pkg:xmlData>
    <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
    <Relationship Id="rId8" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes" Target="endnotes.xml"/><Relationship Id="rId13" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId7" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes" Target="footnotes.xml"/><Relationship Id="rId12" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/>
    <Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering" Target="numbering.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml" Target="../customXml/item1.xml"/>
    <Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings" Target="webSettings.xml"/>
    <Relationship Id="rId11" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/image1.png"/><Relationship Id="rId5" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/><Relationship Id="rId10" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer" Target="footer1.xml"/><Relationship Id="rId4" Type="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects" Target="stylesWithEffects.xml"/>
    <Relationship Id="rId9" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header" Target="header1.xml"/>
    </Relationships>
    </pkg:xmlData>
    </pkg:part>
    <pkg:part pkg:name="/word/document.xml" pkg:contentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml">
    <pkg:xmlData><w:document xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" 
    xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" 
    xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" 
    xmlns:mo="http://schemas.microsoft.com/office/mac/office/2008/main" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:mv="urn:schemas-microsoft-com:mac:vml" 
    xmlns:o="urn:schemas-microsoft-com:office:office" 
    xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" 
    xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" 
    xmlns:v="urn:schemas-microsoft-com:vml" 
    xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" 
    xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" 
    xmlns:w10="urn:schemas-microsoft-com:office:word" 
    xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" 
    xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" 
    xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" 
    xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" 
    xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" 
    xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" 
    mc:Ignorable="w14 wp14">

    when i say download , my application generated open xml for me based on the above template.

    This document also contains .png file , which is generated in the application.  

    when we try to open that open-xml using ms-word in desktop its open very fine.

    But in mac machine it hangs. Our prediction is , its because of .png file size.

    please suggest me , its very brain eating and also very important to solve this issue.

    Lot of user are waiting on this.

    Regards

    Pradeep

    Friday, February 28, 2014 5:51 AM
  • Hi Pradeep

    <<This document also contains .png file , which is generated in the application.  when we try to open that open-xml using ms-word in desktop its open very fine. But in mac machine it hangs. Our prediction is , its because of .png file size. please suggest me , its very brain eating and also very important to solve this issue. Lot of user are waiting on this.>>

    I might ask in the MAC group (link from Luna Zheng) whether anyone would be willing to try to open this document and inspect it as to why it can't open in a Mac. The Mac specialists will know more about Mac limitations vs. WinWord.

    The other thing you can try is to create the document without the *.png file and try to open it in a Mac environment. If it opens, insert the *.png file manually, save, close and then compare the two files. (Or the Mac may even tell you why it can't insert that particular *.png.)


    Cindy Meister, VSTO/Word MVP, my blog

    Tuesday, March 4, 2014 4:35 PM
    Moderator