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 .
19 #ifndef INCLUDED_SVX_INC_SWFRAMETYPES_HXX
20 #define INCLUDED_SVX_INC_SWFRAMETYPES_HXX
22 #include <com/sun/star/text/TextContentAnchorType.hpp>
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).
29 UNKNOWN
= -1, // return value used by SwFEShell::GetAnchorId
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.
43 DRAW_OBJECT
// A draw-Object! For the SwDoc-interface only!
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */