LibreOffice Module svx (master)
1
include
svx
swframetypes.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
#ifndef INCLUDED_SVX_INC_SWFRAMETYPES_HXX
20
#define INCLUDED_SVX_INC_SWFRAMETYPES_HXX
21
22
#include <com/sun/star/text/TextContentAnchorType.hpp>
23
24
// The former Rendezvous-IDs live on:
25
// There are IDs for the anchors (SwFormatAnchor) and some others
26
// that are only of importance for interfaces (SwDoc).
27
enum class
RndStdIds
28
{
29
UNKNOWN
= -1,
// return value used by SwFEShell::GetAnchorId
30
31
// the following 5 values are deliberately the same as the values in css::text::TextContentAnchorType
32
FLY_AT_PARA
=
int
(css::text::TextContentAnchorType_AT_PARAGRAPH),
// Anchored at paragraph.
33
FLY_AS_CHAR
=
int
(css::text::TextContentAnchorType_AS_CHARACTER),
// Anchored as character.
34
FLY_AT_PAGE
=
int
(css::text::TextContentAnchorType_AT_PAGE),
// Anchored at page.
35
FLY_AT_FLY
=
int
(css::text::TextContentAnchorType_AT_FRAME),
// Anchored at frame.
36
FLY_AT_CHAR
=
int
(css::text::TextContentAnchorType_AT_CHARACTER),
// Anchored at character.
37
38
HEADER
,
39
FOOTER
,
40
HEADERL
,
41
HEADERR
,
42
43
DRAW_OBJECT
// A draw-Object! For the SwDoc-interface only!
44
};
45
46
#endif
47
48
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FrameTypeFlags::FOOTER
@ FOOTER
FrameTypeFlags::HEADER
@ HEADER
UNKNOWN
UNKNOWN
RTFKeyword::HEADERL
@ HEADERL
RTFKeyword::HEADERR
@ HEADERR
int
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int
RndStdIds
RndStdIds
Definition:
swframetypes.hxx:28
RndStdIds::FLY_AT_FLY
@ FLY_AT_FLY
RndStdIds::FLY_AT_PARA
@ FLY_AT_PARA
RndStdIds::FLY_AT_PAGE
@ FLY_AT_PAGE
RndStdIds::DRAW_OBJECT
@ DRAW_OBJECT
RndStdIds::FLY_AT_CHAR
@ FLY_AT_CHAR
RndStdIds::FLY_AS_CHAR
@ FLY_AS_CHAR
Generated on Sun Jul 30 2023 04:27:40 for LibreOffice Module svx (master) by
1.9.3