/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
 * 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/.
 */

module com { module sun { module star { module chart2 {

/**
    Provides interface for DataPointCustomLabelField service.

    @since LibreOffice 6.1
*/
interface XDataPointCustomLabelField : XFormattedString2
{
    DataPointCustomLabelFieldType getFieldType();

    void setFieldType( [in] DataPointCustomLabelFieldType fieldType );

    string getGuid();

    void setGuid( [in] string guid );

    /**
        Indicates whether the label field's content is sourced from a cell[range] or not.

        @since LibreOffice 7.3
    */
    boolean getDataLabelsRange();

    /**
        Sets whether the label field's content is sourced from a cell[range] or not.

        @since LibreOffice 7.3
    */
    void setDataLabelsRange( [in] boolean dataLabelsRange );

    /**
        Returns the address of the cell[range] from which the content of this field is sourced.

        @since LibreOffice 7.3
    */
    string getCellRange();

    /**
        Sets the address of the cell[range] from which the content of this field is sourced.

        @since LibreOffice 7.3
    */
    void setCellRange( [in] string cellRange );

};



} ; // chart2
} ; // com
} ; // sun
} ; // star

/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
