Search Unity

Microsoft.Office.Interop.Word Unity and iOS development

Discussion in 'iOS and tvOS' started by prawn-star, Jan 14, 2021.

  1. prawn-star

    prawn-star

    Joined:
    Nov 21, 2012
    Posts:
    77
    Has anyone had any luck getting Microsoft.Office.Interop.Word working in Unity.
    And if so do you know if it will work with iPhone

    I can read a DOCX file fine parsing the document.xml file, but just trying to get exact page numbers for each paragraph.

    LastRenderedPageBreak is just not accurate enough in some instances
     
  2. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    It won't work with iPhone. Microsoft.Office.Interop is COM based, and COM is not supported with iOS.
     
  3. prawn-star

    prawn-star

    Joined:
    Nov 21, 2012
    Posts:
    77
    Thanks for that, saved me a few hours of headaches