LibreOffice Module sd (master) 1
escherex.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
22
25{
35};
36
37class PptEscherEx : public EscherEx
38{
39 sal_uInt32 ImplDggContainerSize();
41
42 static sal_uInt32 ImplOptAtomSize();
43 static void ImplWriteOptAtom( SvStream& rSt );
44
45 static sal_uInt32 ImplSplitMenuColorsAtomSize();
46 static void ImplWriteSplitMenuColorsAtom( SvStream& rSt );
47
48 public:
49
50 PptEscherEx( SvStream& rOut, const OUString& );
51 virtual ~PptEscherEx() override;
52
53 void OpenContainer( sal_uInt16 n_EscherContainer, int nRecInstance = 0 ) override;
54 void CloseContainer() override;
55
56 sal_uInt32 EnterGroup( ::tools::Rectangle const * pBoundRect, SvMemoryStream* pClientData );
57
58 sal_uInt32 DrawingGroupContainerSize();
60
62};
63
64/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual sal_uInt32 EnterGroup(const OUString &rShapeName, const tools::Rectangle *pBoundRect)
void WriteDrawingGroupContainer(SvStream &rSt)
Definition: escherex.cxx:34
sal_uInt32 DrawingGroupContainerSize()
Definition: escherex.cxx:29
void CloseContainer() override
Definition: escherex.cxx:162
static sal_uInt32 ImplSplitMenuColorsAtomSize()
Definition: escherex.cxx:99
static sal_uInt32 ImplOptAtomSize()
Definition: escherex.cxx:73
sal_uInt32 ImplDggContainerSize()
Definition: escherex.cxx:43
void OpenContainer(sal_uInt16 n_EscherContainer, int nRecInstance=0) override
Definition: escherex.cxx:126
static void ImplWriteOptAtom(SvStream &rSt)
Definition: escherex.cxx:81
void ImplWriteDggContainer(SvStream &rSt)
Definition: escherex.cxx:55
sal_uInt32 EnterGroup(::tools::Rectangle const *pBoundRect, SvMemoryStream *pClientData)
Definition: escherex.cxx:206
PptEscherEx(SvStream &rOut, const OUString &)
Definition: escherex.cxx:22
virtual ~PptEscherEx() override
Definition: escherex.cxx:122
static void ImplWriteSplitMenuColorsAtom(SvStream &rSt)
Definition: escherex.cxx:107
@ PPTTH_CENTERBODY
Subtitle in Title-Slide.
Definition: escherex.hxx:31
@ PPTTH_OTHER
Text in a Shape.
Definition: escherex.hxx:30
@ PPTTH_CENTERTITLE
Title in Title-Slide.
Definition: escherex.hxx:32
@ PPTTH_QUARTERBODY
Body in four-body slide.
Definition: escherex.hxx:34
@ PPTTH_TITLE
Definition: escherex.hxx:26
@ PPTTH_BODY
Definition: escherex.hxx:27
@ PPTTH_NOTES
Definition: escherex.hxx:28
@ PPTTH_HALFBODY
Body in two-column slide.
Definition: escherex.hxx:33
@ PPTTH_NOTUSED
Definition: escherex.hxx:29
PPT_TextHeader