1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef CHART2_CHARTDEBUGTRACE_HXX
20 #define CHART2_CHARTDEBUGTRACE_HXX
22 #include <com/sun/star/chart2/XChartDocument.hpp>
23 #include <com/sun/star/chart2/XDiagram.hpp>
24 #include "charttoolsdllapi.hxx"
26 #define CHART_TRACE_OSL_DEBUG_LEVEL 2
33 #if OSL_DEBUG_LEVEL >= CHART_TRACE_OSL_DEBUG_LEVEL
34 /** Does several OSL_TRACEs that show information about the given chart document
35 (e.g. the chart-type manager, diagrams etc.)
37 If OSL_DEBUG_LEVEL is less than CHART_TRACE_OSL_DEBUG_LEVEL this
38 function does nothing.
40 OOO_DLLPUBLIC_CHARTTOOLS
void ChartDebugTraceDocument(
41 const ::com::sun::star::uno::Reference
<
42 ::com::sun::star::chart2::XChartDocument
> & xDoc
,
45 /** Does several OSL_TRACEs that show information about the given diagram
46 (e.g. coordinate systems, data series etc.)
48 If OSL_DEBUG_LEVEL is less than CHART_TRACE_OSL_DEBUG_LEVEL this
49 function does nothing.
51 OOO_DLLPUBLIC_CHARTTOOLS
void ChartDebugTraceDiagram(
52 const ::com::sun::star::uno::Reference
<
53 ::com::sun::star::chart2::XDiagram
> & xDiagram
,
60 // CHART2_CHARTDEBUGTRACE_HXX
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */