LibreOffice Module chart2 (master)
1
chart2
source
inc
XMLRangeHelper.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
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/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
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 .
18
*/
19
#pragma once
20
21
#include <
sal/types.h
>
22
#include <rtl/ustring.hxx>
23
#include "
charttoolsdllapi.hxx
"
24
25
namespace
chart::XMLRangeHelper
26
{
27
28
struct
OOO_DLLPUBLIC_CHARTTOOLS
Cell
29
{
30
sal_Int32
nColumn
;
31
sal_Int32
nRow
;
32
bool
bRelativeColumn
;
33
bool
bRelativeRow
;
34
bool
bIsEmpty
;
35
36
Cell
() :
37
nColumn(0),
38
nRow(0),
39
bRelativeColumn(false),
40
bRelativeRow(false),
41
bIsEmpty(true)
42
{}
43
44
bool
empty
()
const
{
return
bIsEmpty; }
45
};
46
47
struct
OOO_DLLPUBLIC_CHARTTOOLS
CellRange
48
{
49
Cell
aUpperLeft
;
50
Cell
aLowerRight
;
51
OUString
aTableName
;
52
};
53
54
CellRange
getCellRangeFromXMLString
(
const
OUString & rXMLString );
55
56
OUString
getXMLStringFromCellRange
(
const
CellRange
& rRange );
57
58
}
// namespace chart::XMLRangeHelper
59
60
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
charttoolsdllapi.hxx
OOO_DLLPUBLIC_CHARTTOOLS
#define OOO_DLLPUBLIC_CHARTTOOLS
Definition:
charttoolsdllapi.hxx:29
chart::XMLRangeHelper
Definition:
XMLRangeHelper.hxx:26
chart::XMLRangeHelper::getXMLStringFromCellRange
OUString getXMLStringFromCellRange(const CellRange &rRange)
Definition:
XMLRangeHelper.cxx:342
chart::XMLRangeHelper::getCellRangeFromXMLString
CellRange getCellRangeFromXMLString(const OUString &rXMLString)
Definition:
XMLRangeHelper.cxx:290
chart::XMLRangeHelper::CellRange
Definition:
XMLRangeHelper.hxx:48
chart::XMLRangeHelper::CellRange::aUpperLeft
Cell aUpperLeft
Definition:
XMLRangeHelper.hxx:49
chart::XMLRangeHelper::CellRange::aTableName
OUString aTableName
Definition:
XMLRangeHelper.hxx:51
chart::XMLRangeHelper::CellRange::aLowerRight
Cell aLowerRight
Definition:
XMLRangeHelper.hxx:50
chart::XMLRangeHelper::Cell
Definition:
XMLRangeHelper.hxx:29
chart::XMLRangeHelper::Cell::nRow
sal_Int32 nRow
Definition:
XMLRangeHelper.hxx:31
chart::XMLRangeHelper::Cell::nColumn
sal_Int32 nColumn
Definition:
XMLRangeHelper.hxx:30
chart::XMLRangeHelper::Cell::empty
bool empty() const
Definition:
XMLRangeHelper.hxx:44
chart::XMLRangeHelper::Cell::bRelativeRow
bool bRelativeRow
Definition:
XMLRangeHelper.hxx:33
chart::XMLRangeHelper::Cell::Cell
Cell()
Definition:
XMLRangeHelper.hxx:36
chart::XMLRangeHelper::Cell::bIsEmpty
bool bIsEmpty
Definition:
XMLRangeHelper.hxx:34
chart::XMLRangeHelper::Cell::bRelativeColumn
bool bRelativeColumn
Definition:
XMLRangeHelper.hxx:32
types.h
Generated on Sun Jul 30 2023 04:39:33 for LibreOffice Module chart2 (master) by
1.9.3