bump product version to 6.3.0.0.beta1
[LibreOffice.git] / sd / source / filter / eppt / escherex.hxx
blob58b48fa7379d36d19582a25ae10a3873b93f5dce
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_ESCHEREX_HXX
21 #define INCLUDED_SD_SOURCE_FILTER_EPPT_ESCHEREX_HXX
22 #include <filter/msfilter/escherex.hxx>
24 /// Values for the sal_uLong in PPT_PST_TextHeaderAtom.
25 enum PPT_TextHeader
27 PPTTH_TITLE,
28 PPTTH_BODY,
29 PPTTH_NOTES,
30 PPTTH_NOTUSED,
31 PPTTH_OTHER, ///< Text in a Shape
32 PPTTH_CENTERBODY, ///< Subtitle in Title-Slide
33 PPTTH_CENTERTITLE, ///< Title in Title-Slide
34 PPTTH_HALFBODY, ///< Body in two-column slide
35 PPTTH_QUARTERBODY ///< Body in four-body slide
38 class PptEscherEx : public EscherEx
40 sal_uInt32 ImplDggContainerSize();
41 void ImplWriteDggContainer( SvStream& rSt );
43 static sal_uInt32 ImplOptAtomSize();
44 static void ImplWriteOptAtom( SvStream& rSt );
46 static sal_uInt32 ImplSplitMenuColorsAtomSize();
47 static void ImplWriteSplitMenuColorsAtom( SvStream& rSt );
49 public:
51 PptEscherEx( SvStream& rOut, const OUString& );
52 virtual ~PptEscherEx() override;
54 void OpenContainer( sal_uInt16 n_EscherContainer, int nRecInstance = 0 ) override;
55 void CloseContainer() override;
57 sal_uInt32 EnterGroup( ::tools::Rectangle const * pBoundRect, SvMemoryStream* pClientData );
59 sal_uInt32 DrawingGroupContainerSize();
60 void WriteDrawingGroupContainer( SvStream& rSt );
62 using EscherEx::EnterGroup;
65 #endif
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */