LibreOffice Module sc (master)
1
sc
source
filter
inc
rtfexp.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
20
#pragma once
21
22
#include <memory>
23
#include "
expbase.hxx
"
24
#include <
tools/solar.h
>
25
26
class
ScRTFExport
:
public
ScExportBase
27
{
28
std::unique_ptr<sal_uLong[]>
pCellX
;
// cumulative range in a table
29
30
void
WriteTab
(
SCTAB
nTab );
31
void
WriteRow
(
SCTAB
nTab,
SCROW
nRow );
32
void
WriteCell
(
SCTAB
nTab,
SCROW
nRow,
SCCOL
nCol );
33
34
public
:
35
36
ScRTFExport
(
SvStream
&,
ScDocument
*,
const
ScRange
& );
37
virtual
~ScRTFExport
()
override
;
38
39
void
Write
();
40
};
41
42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScDocument
Definition:
document.hxx:323
ScExportBase
Definition:
expbase.hxx:30
ScRTFExport
Definition:
rtfexp.hxx:27
ScRTFExport::WriteRow
void WriteRow(SCTAB nTab, SCROW nRow)
Definition:
rtfexp.cxx:95
ScRTFExport::WriteCell
void WriteCell(SCTAB nTab, SCROW nRow, SCCOL nCol)
Definition:
rtfexp.cxx:148
ScRTFExport::~ScRTFExport
virtual ~ScRTFExport() override
Definition:
rtfexp.cxx:53
ScRTFExport::ScRTFExport
ScRTFExport(SvStream &, ScDocument *, const ScRange &)
Definition:
rtfexp.cxx:46
ScRTFExport::Write
void Write()
Definition:
rtfexp.cxx:57
ScRTFExport::pCellX
std::unique_ptr< sal_uLong[]> pCellX
Definition:
rtfexp.hxx:28
ScRTFExport::WriteTab
void WriteTab(SCTAB nTab)
Definition:
rtfexp.cxx:73
ScRange
Definition:
address.hxx:495
SvStream
expbase.hxx
solar.h
SCTAB
sal_Int16 SCTAB
Definition:
types.hxx:22
SCCOL
sal_Int16 SCCOL
Definition:
types.hxx:21
SCROW
sal_Int32 SCROW
Definition:
types.hxx:17
Generated on Sun Jul 30 2023 04:28:40 for LibreOffice Module sc (master) by
1.9.3