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