LibreOffice Module drawinglayer (master)
1
include
drawinglayer
tools
primitive2dxmldump.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
10
#ifndef INCLUDED_DRAWINGLAYER_TOOLS_PRIMITIVE2DXMLDUMP_HXX
11
#define INCLUDED_DRAWINGLAYER_TOOLS_PRIMITIVE2DXMLDUMP_HXX
12
13
#include <
sal/config.h
>
14
#include <
drawinglayer/drawinglayerdllapi.h
>
15
#include <libxml/tree.h>
16
#include <
drawinglayer/primitive2d/baseprimitive2d.hxx
>
17
#include <
test/xmldocptr.hxx
>
18
#include <vector>
19
20
namespace
tools
{
class
XmlWriter; }
21
22
namespace
drawinglayer
23
{
24
25
class
DRAWINGLAYER_DLLPUBLIC
Primitive2dXmlDump
final
26
{
27
private
:
28
std::vector<bool>
maFilter
;
29
void
decomposeAndWrite(
const
drawinglayer::primitive2d::Primitive2DContainer
& rPrimitive2DSequence,
tools::XmlWriter
& rWriter);
30
31
public
:
32
Primitive2dXmlDump
();
33
~Primitive2dXmlDump
();
34
42
xmlDocUniquePtr
dumpAndParse(
const
drawinglayer::primitive2d::Primitive2DContainer
& aPrimitive2DSequence,
const
OUString& rStreamName = OUString());
43
45
void
dump
(
const
drawinglayer::primitive2d::Primitive2DContainer
& rPrimitive2DSequence,
const
OUString& rStreamName);
46
47
};
48
49
}
50
51
#endif
// INCLUDED_DRAWINGLAYER_TOOLS_PRIMITIVE2DXMLDUMP_HXX
52
53
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
baseprimitive2d.hxx
drawinglayer::Primitive2dXmlDump
Definition:
primitive2dxmldump.hxx:26
drawinglayer::Primitive2dXmlDump::maFilter
std::vector< bool > maFilter
Definition:
primitive2dxmldump.hxx:28
drawinglayer::Primitive2dXmlDump::~Primitive2dXmlDump
~Primitive2dXmlDump()
drawinglayer::primitive2d::Primitive2DContainer
Definition:
Primitive2DContainer.hxx:41
tools::XmlWriter
config.h
drawinglayerdllapi.h
DRAWINGLAYER_DLLPUBLIC
#define DRAWINGLAYER_DLLPUBLIC
Definition:
drawinglayerdllapi.h:18
dump
VCL_DLLPUBLIC void dump(const SkBitmap &bitmap, const char *file)
drawinglayer
tools
xmldocptr.hxx
xmlDocUniquePtr
std::unique_ptr< xmlDoc, xmlDocDeleter > xmlDocUniquePtr
Generated on Sun Jul 30 2023 04:42:57 for LibreOffice Module drawinglayer (master) by
1.9.3