forked from amazingfate/loongoffice
in case of all chart types except pie chart. Clean up commit 4223ff2be69f03e571464b0b09ad0d278918631b (tdf#48436 Chart: add CustomLabelPosition UNO API property). Note: use the correct default OOXML label placement in case of radar charts. Change-Id: I9a8f509304b3c70d879c8c6a95bc91d15ac28521 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87759 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
/* -*- 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/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
#ifndef __com_sun_star_chart_DataLabelPlacement_idl__
|
|
#define __com_sun_star_chart_DataLabelPlacement_idl__
|
|
|
|
|
|
|
|
module com { module sun { module star { module chart {
|
|
|
|
|
|
/** These values specify where the captions/labels of data points are displayed.
|
|
*/
|
|
published constants DataLabelPlacement
|
|
{
|
|
const long AVOID_OVERLAP = 0;
|
|
const long CENTER = 1;
|
|
const long TOP = 2;
|
|
const long TOP_LEFT = 3;
|
|
const long LEFT = 4;
|
|
const long BOTTOM_LEFT = 5;
|
|
const long BOTTOM = 6;
|
|
const long BOTTOM_RIGHT = 7;
|
|
const long RIGHT = 8;
|
|
const long TOP_RIGHT = 9;
|
|
const long INSIDE = 10;
|
|
const long OUTSIDE = 11;
|
|
const long NEAR_ORIGIN = 12;
|
|
/** @since LibreOffice 7.0 */ const long CUSTOM = 13;
|
|
};
|
|
|
|
|
|
}; }; }; };
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|