1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10d1766043SAndrew Rist * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12d1766043SAndrew Rist * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19d1766043SAndrew Rist * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_text_TextSection_idl__ 24cdf0e10cSrcweir#define __com_sun_star_text_TextSection_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_text_TextContent_idl__ 27cdf0e10cSrcweir#include <com/sun/star/text/TextContent.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __com_sun_star_text_XTextSection_idl__ 31cdf0e10cSrcweir#include <com/sun/star/text/XTextSection.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir#ifndef __com_sun_star_container_XNamed_idl__ 35cdf0e10cSrcweir#include <com/sun/star/container/XNamed.idl> 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir 38cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 39cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 40cdf0e10cSrcweir#endif 41cdf0e10cSrcweir 42cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertyState_idl__ 43cdf0e10cSrcweir#include <com/sun/star/beans/XPropertyState.idl> 44cdf0e10cSrcweir#endif 45cdf0e10cSrcweir 46cdf0e10cSrcweir#ifndef __com_sun_star_text_SectionFileLink_idl__ 47cdf0e10cSrcweir#include <com/sun/star/text/SectionFileLink.idl> 48cdf0e10cSrcweir#endif 49cdf0e10cSrcweir#ifndef __com_sun_star_style_GraphicLocation_idl__ 50cdf0e10cSrcweir#include <com/sun/star/style/GraphicLocation.idl> 51cdf0e10cSrcweir#endif 52cdf0e10cSrcweir#ifndef __com_sun_star_text_XTextColumns_idl__ 53cdf0e10cSrcweir#include <com/sun/star/text/XTextColumns.idl> 54cdf0e10cSrcweir#endif 55cdf0e10cSrcweir#ifndef _com_sun_star_xml_UserDefinedAttributesSupplier_idl_ 56cdf0e10cSrcweir#include <com/sun/star/xml/UserDefinedAttributesSupplier.idl> 57cdf0e10cSrcweir#endif 58cdf0e10cSrcweir 59cdf0e10cSrcweir 60cdf0e10cSrcweir//============================================================================= 61cdf0e10cSrcweir 62cdf0e10cSrcweirmodule com { module sun { module star { module text { 63cdf0e10cSrcweir 64cdf0e10cSrcweir//============================================================================= 65cdf0e10cSrcweir/** A <type>TextSection</type> is a range of complete paragraphs within a text. 66cdf0e10cSrcweir 67cdf0e10cSrcweir <p>The content of the section may be the content of a link into another 68cdf0e10cSrcweir document, a link from the same document, or the result of a DDE 69cdf0e10cSrcweir operation. 70cdf0e10cSrcweir 71cdf0e10cSrcweir <p><type>TextSection</type> instances can be linked from and to other 72cdf0e10cSrcweir texts. 73cdf0e10cSrcweir 74cdf0e10cSrcweir*/ 75cdf0e10cSrcweirpublished service TextSection 76cdf0e10cSrcweir{ 77cdf0e10cSrcweir service com::sun::star::text::TextContent; 78cdf0e10cSrcweir 79cdf0e10cSrcweir [optional] service com::sun::star::xml::UserDefinedAttributesSupplier; 80cdf0e10cSrcweir 81cdf0e10cSrcweir interface com::sun::star::text::XTextSection; 82cdf0e10cSrcweir interface com::sun::star::container::XNamed; 83cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 84cdf0e10cSrcweir interface com::sun::star::beans::XPropertyState; 85cdf0e10cSrcweir 86cdf0e10cSrcweir //------------------------------------------------------------------------- 87cdf0e10cSrcweir /** This property contains a conditional expression. 88cdf0e10cSrcweir 89cdf0e10cSrcweir <p>If the result of the conditional expression is <true/> and the property 90cdf0e10cSrcweir <member>TextSection::IsVisible</member> is <false/>, then the section is hidden.</p> 91cdf0e10cSrcweir */ 92cdf0e10cSrcweir [property] string Condition; 93cdf0e10cSrcweir 94cdf0e10cSrcweir //------------------------------------------------------------------------- 95cdf0e10cSrcweir /** If this property is <FALSE/>, the text section is hidden. 96cdf0e10cSrcweir */ 97cdf0e10cSrcweir [property] boolean IsVisible; 98cdf0e10cSrcweir 99cdf0e10cSrcweir //------------------------------------------------------------------------- 100cdf0e10cSrcweir /** If this property is <TRUE/>, the text section is protected 101cdf0e10cSrcweir and cannot be modified from the user interface. 102cdf0e10cSrcweir */ 103cdf0e10cSrcweir [property] boolean IsProtected; 104cdf0e10cSrcweir 105cdf0e10cSrcweir //------------------------------------------------------------------------- 106cdf0e10cSrcweir /** If this property is set, then the content of the section is read 107cdf0e10cSrcweir from the specified document. 108cdf0e10cSrcweir 109cdf0e10cSrcweir */ 110cdf0e10cSrcweir [property] com::sun::star::text::SectionFileLink FileLink; 111cdf0e10cSrcweir 112cdf0e10cSrcweir //------------------------------------------------------------------------- 113cdf0e10cSrcweir /** specifies the source of a file link in the document that is 114cdf0e10cSrcweir specified in <member>TextSection::FileLink</member>. 115cdf0e10cSrcweir 116cdf0e10cSrcweir <p>The source may be a text section or a bookmark. 117cdf0e10cSrcweir If <member>TextSection::FileLink</member> is empty, then the 118cdf0e10cSrcweir current document is searched for the source. If this property 119cdf0e10cSrcweir is empty and <member>TextSection::FileLink</member> is set, 120cdf0e10cSrcweir then the complete document content is linked into this section.</p> 121cdf0e10cSrcweir */ 122cdf0e10cSrcweir [property] string LinkRegion; 123cdf0e10cSrcweir 124cdf0e10cSrcweir //------------------------------------------------------------------------- 125cdf0e10cSrcweir /** specifies the type of the command string for a DDE operation. 126cdf0e10cSrcweir <p>The type can be the name of the application that provides a DDE source.</p> 127cdf0e10cSrcweir */ 128cdf0e10cSrcweir [property] string DDECommandType; 129cdf0e10cSrcweir 130cdf0e10cSrcweir //------------------------------------------------------------------------- 131cdf0e10cSrcweir /** specifies the source file name of the command string for a DDE operation. 132cdf0e10cSrcweir */ 133cdf0e10cSrcweir [property] string DDECommandFile; 134cdf0e10cSrcweir 135cdf0e10cSrcweir //------------------------------------------------------------------------- 136cdf0e10cSrcweir /** specifies the source element of the command string for a DDE operation. 137cdf0e10cSrcweir <p>The element can be i.e. a name of a cell in a sheet or a bookmark.</p> 138cdf0e10cSrcweir */ 139cdf0e10cSrcweir [property] string DDECommandElement; 140cdf0e10cSrcweir 141cdf0e10cSrcweir //------------------------------------------------------------------------- 142cdf0e10cSrcweir /** contains the URL for the background graphic. 143cdf0e10cSrcweir */ 144cdf0e10cSrcweir [property] string BackGraphicURL; 145cdf0e10cSrcweir 146cdf0e10cSrcweir //------------------------------------------------------------------------- 147cdf0e10cSrcweir /** contains the name of the file filter for the background graphic. 148cdf0e10cSrcweir */ 149cdf0e10cSrcweir [property] string BackGraphicFilter; 150cdf0e10cSrcweir 151cdf0e10cSrcweir //------------------------------------------------------------------------- 152cdf0e10cSrcweir /** determines the position of the background graphic. 153cdf0e10cSrcweir 154cdf0e10cSrcweir @see GraphicLocation 155cdf0e10cSrcweir */ 156cdf0e10cSrcweir [property] com::sun::star::style::GraphicLocation BackGraphicLocation; 157*d8faddccSMatthias Seidel /** determines whether footnotes inside the section are displayed at the end of the 158cdf0e10cSrcweir section text. 159cdf0e10cSrcweir */ 160cdf0e10cSrcweir [property] boolean FootnoteIsCollectAtTextEnd; 161cdf0e10cSrcweir //------------------------------------------------------------------------- 162*d8faddccSMatthias Seidel /** determines whether the footnotes numbering restarts within the section. 163cdf0e10cSrcweir This is only valid if <code>FootnoteIsRestartNumbering</code> is set. 164cdf0e10cSrcweir */ 165cdf0e10cSrcweir [property] boolean FootnoteIsRestartNumbering; 166cdf0e10cSrcweir //------------------------------------------------------------------------- 167*d8faddccSMatthias Seidel /** determines at which number the footnote numbering inside of the section starts. 168cdf0e10cSrcweir This is only valid if <code>FootnoteIsRestartNumbering</code> is set. 169cdf0e10cSrcweir */ 170cdf0e10cSrcweir [property] short FootnoteRestartNumberingAt; 171cdf0e10cSrcweir //------------------------------------------------------------------------- 172*d8faddccSMatthias Seidel /** determines whether the footnotes within the section use an own numbering format. 173cdf0e10cSrcweir This is only valid if <code>FootnoteIsRestartNumbering</code> is set. 174cdf0e10cSrcweir */ 175cdf0e10cSrcweir [property] boolean FootnoteIsOwnNumbering; 176cdf0e10cSrcweir //------------------------------------------------------------------------- 177*d8faddccSMatthias Seidel /** determines the numbering type of the footnote numbering as a value of 178cdf0e10cSrcweir <type scope="com::sun::star::style">NumberingType</type>. 179cdf0e10cSrcweir This is only valid if <code>FootnoteIsOwnNumbering</code> is set. 180cdf0e10cSrcweir */ 181cdf0e10cSrcweir [property] short FootnoteNumberingType; 182cdf0e10cSrcweir //------------------------------------------------------------------------- 183*d8faddccSMatthias Seidel /** determines the prefix that is display before the footnote number. 184cdf0e10cSrcweir This is only valid if <code>FootnoteIsOwnNumbering</code> is set. 185cdf0e10cSrcweir */ 186cdf0e10cSrcweir [property] string FootnoteNumberingPrefix; 187cdf0e10cSrcweir //------------------------------------------------------------------------- 188*d8faddccSMatthias Seidel /** determines the suffix that is display after of the footnote number. 189cdf0e10cSrcweir This is only valid if <code>FootnoteIsOwnNumbering</code> is set. 190cdf0e10cSrcweir */ 191cdf0e10cSrcweir [property] string FootnoteNumberingSuffix; 192cdf0e10cSrcweir //------------------------------------------------------------------------- 193*d8faddccSMatthias Seidel /** determines whether endnotes inside the section are displayed at the end of the 194cdf0e10cSrcweir section text. 195cdf0e10cSrcweir */ 196cdf0e10cSrcweir [property] boolean EndnoteIsCollectAtTextEnd; 197cdf0e10cSrcweir //------------------------------------------------------------------------- 198*d8faddccSMatthias Seidel /** determines whether the endnotes numbering restarts within the section. 199cdf0e10cSrcweir This is only valid if <code>EndnoteIsRestartNumbering</code> is set. 200cdf0e10cSrcweir */ 201cdf0e10cSrcweir [property] boolean EndnoteIsRestartNumbering; 202cdf0e10cSrcweir //------------------------------------------------------------------------- 203*d8faddccSMatthias Seidel /** determines at which number the endnote numbering inside of the section starts. 204cdf0e10cSrcweir This is only valid if <code>EndnoteIsRestartNumbering</code> is set. 205cdf0e10cSrcweir */ 206cdf0e10cSrcweir [property] short EndnoteRestartNumberingAt; 207cdf0e10cSrcweir //------------------------------------------------------------------------- 208*d8faddccSMatthias Seidel /** determines whether the endnotes within the section use an own numbering format. 209cdf0e10cSrcweir This is only valid if <code>EndnoteIsRestartNumbering</code> is set. 210cdf0e10cSrcweir */ 211cdf0e10cSrcweir [property] boolean EndnoteIsOwnNumbering; 212cdf0e10cSrcweir //------------------------------------------------------------------------- 213*d8faddccSMatthias Seidel /** determines the numbering type of the endnote numbering as a value of 214cdf0e10cSrcweir <type scope="com::sun::star::style">NumberingType</type>. 215cdf0e10cSrcweir This is only valid if <code>EndoteIsOwnNumbering</code> is set. 216cdf0e10cSrcweir */ 217cdf0e10cSrcweir [property] short EndnoteNumberingType; 218cdf0e10cSrcweir //------------------------------------------------------------------------- 219*d8faddccSMatthias Seidel /** determines the prefix that is display before the endnote number. 220cdf0e10cSrcweir This is only valid if <code>EndnoteIsOwnNumbering</code> is set. 221cdf0e10cSrcweir */ 222cdf0e10cSrcweir [property] string EndnoteNumberingPrefix; 223cdf0e10cSrcweir //------------------------------------------------------------------------- 224*d8faddccSMatthias Seidel /** determines the suffix that is display after the endnote number. 225cdf0e10cSrcweir This is only valid if <code>EndnoteIsOwnNumbering</code> is set. 226cdf0e10cSrcweir */ 227cdf0e10cSrcweir [property] string EndnoteNumberingSuffix; 228cdf0e10cSrcweir //------------------------------------------------------------------------- 229*d8faddccSMatthias Seidel /** determines if a DDE link is updated automatically. 230cdf0e10cSrcweir */ 231cdf0e10cSrcweir [property] boolean IsAutomaticUpdate; 232cdf0e10cSrcweir //------------------------------------------------------------------------- 233cdf0e10cSrcweir /** allows columns to be set into the text section 234cdf0e10cSrcweir */ 235cdf0e10cSrcweir [property] com::sun::star::text::XTextColumns TextColumns; 236*d8faddccSMatthias Seidel /** determines the left margin of the section 237cdf0e10cSrcweir */ 238cdf0e10cSrcweir [optional, property] long SectionLeftMargin; 239cdf0e10cSrcweir //------------------------------------------------------------------------- 240*d8faddccSMatthias Seidel /** determines the left margin of the section 241cdf0e10cSrcweir */ 242cdf0e10cSrcweir [optional, property] long SectionRightMargin; 243cdf0e10cSrcweir //------------------------------------------------------------------------- 244cdf0e10cSrcweir}; 245cdf0e10cSrcweir 246cdf0e10cSrcweir//============================================================================= 247cdf0e10cSrcweir 248cdf0e10cSrcweir}; }; }; }; 249cdf0e10cSrcweir 250cdf0e10cSrcweir#endif 251