/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TextContentAnchorType.idl,v $ * $Revision: 1.9 $ * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_text_TextContentAnchorType_idl__ #define __com_sun_star_text_TextContentAnchorType_idl__ //============================================================================= module com { module sun { module star { module text { //============================================================================= // DocMerge from xml: enum com::sun::star::text::TextContentAnchorType /** specify how the text content is attached to its surrounding text. */ published enum TextContentAnchorType { //------------------------------------------------------------------------- // DocMerge from xml: value com::sun::star::text::TextContentAnchorType::AT_PARAGRAPH /** The anchor of the object is set at the top left position of the paragraph. */ AT_PARAGRAPH, //------------------------------------------------------------------------- // DocMerge from xml: value com::sun::star::text::TextContentAnchorType::AS_CHARACTER /** The object is anchored instead of a character.

The size of the object influences the height of the text line.

*/ AS_CHARACTER, //------------------------------------------------------------------------- // DocMerge from xml: value com::sun::star::text::TextContentAnchorType::AT_PAGE /** The object is anchored to the page.

The position does not change if the content of the document is changed.

*/ AT_PAGE, //------------------------------------------------------------------------- // DocMerge from xml: value com::sun::star::text::TextContentAnchorType::AT_FRAME /** The object is anchored to a text frame. */ AT_FRAME, //------------------------------------------------------------------------- // DocMerge from xml: value com::sun::star::text::TextContentAnchorType::AT_CHARACTER /** The object is anchored to a character.

The position of the object changes if the position of this character is changed.

*/ AT_CHARACTER }; //============================================================================= }; }; }; }; #endif