Skip to content

How to add a file to the package artifacts? #325

@TimG1964

Description

@TimG1964

IIUC, artifacts seem to be created from here: "https://www.dropbox.com/s/9rgm3pnd1dmzmy9/xlsx_artifacts.tar.gz?dl=1"

I need to add a new artifact so that XLSX.jl can understand dynamic array functions like SORT or UNIQUE. This is an xl/metadata.xml file that needs to be added to a workbook if one of these formulae is added. If a workbook is read that already contains one of these functions, this metadata.xml file is present and properly managed. However, if a user of XLSX.jl wants to add such a function and there isn't already one somewhere else, then this file needs to be added.

It needs to go into the relocatable_data location, but I don't see how to get it in there. Is there an easy way?

The file isn't large. I think the following will suffice:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
  <metadataTypes count="1">
    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
    </metadataTypes>
  <futureMetadata name="XLDAPR" count="1">
    <bk>
      <extLst>
        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
        </ext>
      </extLst>
    </bk>
  </futureMetadata>
  <cellMetadata count="1">
    <bk>
      <rc t="1" v="0"/>
    </bk>
  </cellMetadata>
</metadata>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions