/************************************************************************* * * 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: TextPageStyle.idl,v $ * $Revision: 1.6 $ * * 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_TextPageStyle_idl__ #define __com_sun_star_text_TextPageStyle_idl__ #ifndef __com_sun_star_util_Color_idl__ #include #endif #ifndef __com_sun_star_table_ShadowFormat_idl__ #include #endif #ifndef __com_sun_star_table_BorderLine_idl__ #include #endif #ifndef __com_sun_star_style_PageStyleLayout_idl__ #include #endif #ifndef __com_sun_star_style_GraphicLocation_idl__ #include #endif #ifndef __com_sun_star_awt_Size_idl__ #include #endif #ifndef __com_sun_star_text_XText_idl__ #include #endif #ifndef __com_sun_star_text_XTextColumns_idl__ #include #endif #ifndef __com_sun_star_container_XNameContainer_idl__ #include #endif //============================================================================= module com { module sun { module star { module text { //============================================================================= /** represents a page style for a text document.

This service extends the service PageStyle with specific properties for text documents.

*/ published service TextPageStyle { //------------------------------------------------------------------------- /** determins whether the register mode is active on that page. */ [property] boolean RegisterModeActive; //------------------------------------------------------------------------- /** contains the name of the paragraph style that is used as reference of the register mode. */ [property] string RegisterParagraphStyle; //------------------------------------------------------------------------- /** contains the column settings of the page. */ [property] com::sun::star::text::XTextColumns TextColumns; //------------------------------------------------------------------------- /** contains the interface to the text of the header. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText HeaderText; //------------------------------------------------------------------------- /** contains the interface to the text of the header of left pages. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText HeaderTextLeft; //------------------------------------------------------------------------- /** contains the interface to the text of the header of right pages. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText HeaderTextRight; //------------------------------------------------------------------------- /** contains the interface to the text of the footer. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText FooterText; //------------------------------------------------------------------------- /** contains the interface to the text of the footer of a left page. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText FooterTextLeft; //------------------------------------------------------------------------- /** contains the interface to the text of the footer of a right page. @see com::sun::star::text::Text */ [property] com::sun::star::text::XText FooterTextRight; //------------------------------------------------------------------------- /** contains the maximum height of the footnote area (in 1/100 mm).

If set to zero, the height of the current page is used as limit.

*/ [property] long FootnoteHeight; //------------------------------------------------------------------------- /** contains the weight of the separator line between the text and the footnote area (in 1/100 mm). */ [property] short FootnoteLineWeight; //------------------------------------------------------------------------- /** contains the color of the separator line between the text and the footnote area. */ [property] com::sun::star::util::Color FootnoteLineColor; //------------------------------------------------------------------------- /** contains the relative width of the separator line between the text and the footnote area (in percent). */ [property] byte FootnoteLineRelativeWidth; //------------------------------------------------------------------------- /** contains the adjustment of the separator line between the text and the footnote area. @see com::sun::star::text::HorizontalAdjust */ [property] short FootnoteLineAdjust; //------------------------------------------------------------------------- /** contains the distance between the text and the separator line between the text and the footnote area (in 1/100 mm). */ [property] long FootnoteLineTextDistance; //------------------------------------------------------------------------- /** contains the distance between the footnote area and the separator line between the text and the footnote area (in 1/100 mm). */ [property] long FootnoteLineDistance; }; //============================================================================= }; }; }; }; #endif