blob: 9d9cfee266ed39d6a1fa2f30fc3dbcb511dac3f0 [file] [log] [blame]
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_presentation_DocumentSettings_idl__
#define __com_sun_star_presentation_DocumentSettings_idl__
#ifndef __com_sun_star_document_HeaderFooterSettings_idl__
#include <com/sun/star/document/HeaderFooterSettings.idl>
#endif
#ifndef __com_sun_star_document_Settings_idl__
#include <com/sun/star/document/Settings.idl>
#endif
//=============================================================================
module com { module sun { module star { module presentation {
//=============================================================================
/** describes properties that apply to the whole presentation document.
*/
published service DocumentSettings
{
/** This service documents the common properties of an office document
*/
service com::sun::star::document::Settings;
//-------------------------------------------------------------------------
/** This service configures the header and footer settings during print
*/
[optional] service com::sun::star::document::HeaderFooterSettings;
//-------------------------------------------------------------------------
/** provides access to the properties.
*/
interface com::sun::star::beans::XPropertySet;
//-------------------------------------------------------------------------
/** enables or disables the printing of the drawing pages
*/
[optional, property] boolean IsPrintDrawing;
/** enables or disables the printing of the notes pages
*/
[optional, property] boolean IsPrintNotes;
/** enables or disables the printing of the handout pages
*/
[optional, property] boolean IsPrintHandout;
/** enables or disables the printing of the outline pages
*/
[optional, property] boolean IsPrintOutline;
/** enables or disables the printing of draw pages that
are marked hidden
*/
[optional, property] boolean IsPrintHiddenPages;
// Note: the following properties exist also in
// css::drawing::DocumentSettings
// ------------------------------------------------------------
/** enables or disables the fitting of the page to the printable
area during print
*/
[optional, property] boolean IsPrintFitPage;
/** if this is true and the paper size for printing is larger than
the paper size of the printer than the content is tiled over
multiple pages.
*/
[optional, property] boolean IsPrintTilePage;
/** is the number format used for page number fields
*/
[optional, property] long PageNumberFormat;
/** If this is true, the distance between two paragraphs is
the sum of ParaTopMargin of the previous and ParaBottomMargin of
the next paragraph. If false, only the greater of the two is
choosen.
*/
[optional, property] boolean ParagraphSummation;
};
//=============================================================================
}; }; }; };
#endif