Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18667

Option to remove ids from headings when importing an Office document

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.6.4
    • Fix Version/s: None
    • Component/s: Office
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce

      • In LibreOffice, create a document with several headings and generate a table of contents for these headings
      • Create a page using type "Page from Office"
      • In the "Office Importer" screen, select the ODT file you just created

      Actual result

      In the page content resulting from the import, each heading contains an "id" macro, for example:

      = {{id name="__RefHeading___Toc25188_1777390344"/}}Heading ABC =
      

      Expected result

      This issue proposes to provide an option for removing such ids upon import, since in many cases, the ids generated by XWiki are used for referencing sections rather than the original ids.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            slauriere slauriere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: