diff options
author | Bayram Çiçek <bayram.cicek@collabora.com> | 2024-03-02 16:41:54 +0300 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-09 10:17:16 +0200 |
commit | 045ebdb369ab21a3be7a32dc1c85ad2243eb9129 (patch) | |
tree | 755b6ac7d2913a4af15710510257259bf8a7e6c7 /oox/source/token/relationship.inc | |
parent | 4e606c5b38139c4424fe9334aed32515c7547418 (diff) |
tdf#158857: [Power Query] export connections.xml
- import&export connections stream
- insert xl/connections.xml reference to [Content_Types].xml
- add Relationship::CONNECTIONS
- add support for xr16 namespace
- add ../customXml/item1.xml relationship to xl/_rels/workbook.xml.rels
- add import&export support for following xml elements in xl/connections.xml:
<connections>
<connection>
<dbPr />
<olapPr />
<webPr> (Web Query Properties)
<tables>
<m />
<s />
<x />
</tables>
</webPr>
<textPr>
<textFields>
<textField />
</textFields>
</textPr>
<parameters>
<parameter />
</parameters>
<extLst>
<ext>
(Any element in any namespace) <- TODO/LATER
</ext>
</extLst>
</connection>
</connections>
Change-Id: I1d1c10675b3fe5ffd6a35f1b91d4b83401be2cae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164290
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'oox/source/token/relationship.inc')
-rw-r--r-- | oox/source/token/relationship.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/token/relationship.inc b/oox/source/token/relationship.inc index 5b2f16b9264c..11898133eb06 100644 --- a/oox/source/token/relationship.inc +++ b/oox/source/token/relationship.inc @@ -4,6 +4,7 @@ {Relationship::COMMENTS, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"}, {Relationship::COMMENTAUTHORS, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/commentAuthors"}, {Relationship::COMMENTSEXTENDED, u"http://schemas.microsoft.com/office/2011/relationships/commentsExtended"}, +{Relationship::CONNECTIONS, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections"}, {Relationship::CONTROL, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/control"}, {Relationship::CTRLPROP, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/ctrlProp"}, {Relationship::CUSTOMXML, u"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml"}, |