libreoffice/include/oox/token/relationship.hxx
knordback 95b2c8b82e tdf#165742 Step 4.3: Establish a narrow export path for chartex
This is a subtask of tdf#165742: Chartex charts are lost on input from OOXML
and re-export.

Fix various aspects of input and output for chartex (and specifically
for funnel charts). This now allows for loading and re-exporting a
very basic funnel chart, with the result that MS Office successfully
loads the exported chart, and it looks similar (though not quite
identical) to the original.

Change-Id: I6eeb277e31250031604f7cdd21b80848a9c642ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184758
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2025-05-09 14:41:45 +02:00

82 lines
1.5 KiB
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_OOX_TOKEN_RELATIONSHIP_HXX
#define INCLUDED_OOX_TOKEN_RELATIONSHIP_HXX
#include <oox/dllapi.h>
#include <rtl/ustring.hxx>
namespace oox
{
enum class Relationship
{
ACTIVEXCONTROLBINARY,
CHART,
CHARTCOLORSTYLE, // for chartex
CHARTEX,
CHARTSTYLE, // for chartex
CHARTUSERSHAPES,
COMMENTS,
COMMENTAUTHORS,
COMMENTSEXTENDED,
CONNECTIONS,
CONTROL,
CTRLPROP,
CUSTOMXML,
CUSTOMXMLPROPS,
DIAGRAMCOLORS,
DIAGRAMDATA,
DIAGRAMDRAWING,
DIAGRAMLAYOUT,
DIAGRAMQUICKSTYLE,
DRAWING,
ENDNOTES,
EXTERNALLINKPATH,
FONT,
FONTTABLE,
FOOTER,
FOOTNOTES,
GLOSSARYDOCUMENT,
HDPHOTO,
HEADER,
HYPERLINK,
IMAGE,
MEDIA,
NOTESMASTER,
NOTESSLIDE,
NUMBERING,
OFFICEDOCUMENT,
OLEOBJECT,
PACKAGE,
PRESPROPS,
SETTINGS,
SHAREDSTRINGS,
SLIDE,
SLIDELAYOUT,
SLIDEMASTER,
STYLES,
THEME,
VBAPROJECT,
VIDEO,
AUDIO,
VMLDRAWING,
WORDVBADATA,
WORKSHEET,
NUM_ENTRIES // last, unused
};
OUString OOX_DLLPUBLIC getRelationship(Relationship eRelationship);
}
#endif // INCLUDED_OOX_TOKEN_RELATIONSHIP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */