LibreOffice LibreOffice 25.8 SDK API Reference

ParagraphStyle.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20
21 module com { module sun { module star { module style {
22
23
27published service ParagraphStyle
28{
30 service Style;
31
36 [optional] service com::sun::star::xml::ParaUserDefinedAttributesSupplier;
37
39 service ParagraphProperties;
40
47 [property] long ParaLeftMarginRelative;
48
49
56 [property] long ParaRightMarginRelative;
57
58
65 [property] long ParaTopMarginRelative;
66
67
74 [property] long ParaBottomMarginRelative;
75
78 [property] short Category;
79
80 [property] float CharDiffHeight;
81
85 [property] short CharPropHeight;
86
90 [property] float CharDiffHeightAsian;
91
95 [property] short CharPropHeightAsian;
96
100 [property] float CharDiffHeightComplex;
101
105 [property] short CharPropHeightComplex;
106
114 [optional, readonly, property] string PageStyleName;
115};
116
117
118}; }; }; };
119
120/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition: Ambiguous.idl:20
com::sun::star::style::ParagraphStyle
specifies a style sheet for paragraphs within a com::sun::star::text::Text.
Definition: ParagraphStyle.idl:28
com::sun::star::style::ParagraphStyle::CharPropHeightComplex
short CharPropHeightComplex
This value contains the character height as percentage value relative to the height of the character ...
Definition: ParagraphStyle.idl:105
com::sun::star::style::ParagraphStyle::ParaRightMarginRelative
long ParaRightMarginRelative
determines the right margin of the paragraph relative to the ParaRightMargin of the parent style.
Definition: ParagraphStyle.idl:56
com::sun::star::style::ParagraphStyle::CharDiffHeight
float CharDiffHeight
Definition: ParagraphStyle.idl:80
com::sun::star::style::ParagraphStyle::Category
short Category
determines the category of a paragraph style.
Definition: ParagraphStyle.idl:78
com::sun::star::style::ParagraphStyle::ParaBottomMarginRelative
long ParaBottomMarginRelative
determines the Bottom margin of the paragraph relative to the ParaBottomMargin of the parent style.
Definition: ParagraphStyle.idl:74
com::sun::star::style::ParagraphStyle::ParagraphProperties
service ParagraphProperties
specifies the style properties.
Definition: ParagraphStyle.idl:39
com::sun::star::style::ParagraphStyle::PageStyleName
string PageStyleName
returns the name of the page style in use
Definition: ParagraphStyle.idl:114
com::sun::star::style::ParagraphStyle::Style
service Style
specifies administrative properties.
Definition: ParagraphStyle.idl:30
com::sun::star::style::ParagraphStyle::CharPropHeight
short CharPropHeight
This value contains the character height as percentage value relative to the height of the character ...
Definition: ParagraphStyle.idl:85
com::sun::star::style::ParagraphStyle::ParaTopMarginRelative
long ParaTopMarginRelative
determines the top margin of the paragraph relative to the ParaTopMargin of the parent style.
Definition: ParagraphStyle.idl:65
com::sun::star::style::ParagraphStyle::CharDiffHeightComplex
float CharDiffHeightComplex
This value contains the character height as difference in point to the height of the character in the...
Definition: ParagraphStyle.idl:100
com::sun::star::style::ParagraphStyle::ParaLeftMarginRelative
long ParaLeftMarginRelative
determines the left margin of the paragraph relative to the ParaLeftMargin of the parent style.
Definition: ParagraphStyle.idl:39
com::sun::star::style::ParagraphStyle::CharPropHeightAsian
short CharPropHeightAsian
This value contains the character height as percentage value relative to the height of the character ...
Definition: ParagraphStyle.idl:95
com::sun::star::style::ParagraphStyle::CharDiffHeightAsian
float CharDiffHeightAsian
This value contains the character height as difference in point to the height of the character in the...
Definition: ParagraphStyle.idl:90
com::sun::star::xml::ParaUserDefinedAttributesSupplier
A component that supports this service preserves XML attributes, unknown by its parser,...
Definition: ParaUserDefinedAttributesSupplier.idl:29