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 .
21 #include <filter/msfilter/escherex.hxx>
23 /// Values for the sal_uLong in PPT_PST_TextHeaderAtom.
30 PPTTH_OTHER
, ///< Text in a Shape
31 PPTTH_CENTERBODY
, ///< Subtitle in Title-Slide
32 PPTTH_CENTERTITLE
, ///< Title in Title-Slide
33 PPTTH_HALFBODY
, ///< Body in two-column slide
34 PPTTH_QUARTERBODY
///< Body in four-body slide
37 class PptEscherEx
: public EscherEx
39 sal_uInt32
ImplDggContainerSize();
40 void ImplWriteDggContainer( SvStream
& rSt
);
42 static sal_uInt32
ImplOptAtomSize();
43 static void ImplWriteOptAtom( SvStream
& rSt
);
45 static sal_uInt32
ImplSplitMenuColorsAtomSize();
46 static void ImplWriteSplitMenuColorsAtom( SvStream
& rSt
);
50 PptEscherEx( SvStream
& rOut
, const OUString
& );
51 virtual ~PptEscherEx() override
;
53 void OpenContainer( sal_uInt16 n_EscherContainer
, int nRecInstance
= 0 ) override
;
54 void CloseContainer() override
;
56 sal_uInt32
EnterGroup( ::tools::Rectangle
const * pBoundRect
, SvMemoryStream
* pClientData
);
58 sal_uInt32
DrawingGroupContainerSize();
59 void WriteDrawingGroupContainer( SvStream
& rSt
);
61 using EscherEx::EnterGroup
;
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */