LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XPaneBorderPainter.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
20module com { module sun { module star { module drawing { module framework {
21
36 interface XPaneBorderPainter
37{
53 ::com::sun::star::awt::Rectangle addBorder (
54 [in] string sPaneBorderStyleName,
55 [in] ::com::sun::star::awt::Rectangle aRectangle,
56 [in] BorderType eBorderType);
57
74 ::com::sun::star::awt::Rectangle removeBorder (
75 [in] string sPaneBorderStyleName,
76 [in] ::com::sun::star::awt::Rectangle aRectangle,
77 [in] BorderType eBorderType);
78
96 void paintBorder (
97 [in] string sPaneBorderStyleName,
98 [in] ::com::sun::star::rendering::XCanvas xCanvas,
99 [in] ::com::sun::star::awt::Rectangle aOuterBorderRectangle,
100 [in] ::com::sun::star::awt::Rectangle aRepaintArea,
101 [in] string sTitle);
102
123 void paintBorderWithCallout (
124 [in] string sPaneBorderStyleName,
125 [in] ::com::sun::star::rendering::XCanvas xCanvas,
126 [in] ::com::sun::star::awt::Rectangle aOuterBorderRectangle,
127 [in] ::com::sun::star::awt::Rectangle aRepaintArea,
128 [in] string sTitle,
129 [in] ::com::sun::star::awt::Point aCalloutAnchor);
130
136 ::com::sun::star::awt::Point getCalloutOffset (
137 [in] string sPaneBorderStyleName);
138};
139
140}; }; }; }; }; // ::com::sun::star::drawing::framework
141
142/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::drawing::framework::XPaneBorderPainter
Paint the border around a rectangular region, typically a pane.
Definition XPaneBorderPainter.idl:37
com::sun::star::drawing::framework::XPaneBorderPainter::removeBorder
::com::sun::star::awt::Rectangle removeBorder([in] string sPaneBorderStyleName, [in] ::com::sun::star::awt::Rectangle aRectangle, [in] BorderType eBorderType)
Shrink the given rectangle by the size of the specified part of the border.
com::sun::star::drawing::framework::XPaneBorderPainter::addBorder
::com::sun::star::awt::Rectangle addBorder([in] string sPaneBorderStyleName, [in] ::com::sun::star::awt::Rectangle aRectangle, [in] BorderType eBorderType)
Enlarge the given rectangle by the size of the specified part of the border.
com::sun::star::drawing::framework::XPaneBorderPainter::paintBorder
void paintBorder([in] string sPaneBorderStyleName, [in] ::com::sun::star::rendering::XCanvas xCanvas, [in] ::com::sun::star::awt::Rectangle aOuterBorderRectangle, [in] ::com::sun::star::awt::Rectangle aRepaintArea, [in] string sTitle)
Paint the border around a pane.
com::sun::star::drawing::framework::XPaneBorderPainter::paintBorderWithCallout
void paintBorderWithCallout([in] string sPaneBorderStyleName, [in] ::com::sun::star::rendering::XCanvas xCanvas, [in] ::com::sun::star::awt::Rectangle aOuterBorderRectangle, [in] ::com::sun::star::awt::Rectangle aRepaintArea, [in] string sTitle, [in] ::com::sun::star::awt::Point aCalloutAnchor)
Paint the border around a pane where the border includes a call out that is anchored at the given poi...
com::sun::star::drawing::framework::XPaneBorderPainter::getCalloutOffset
::com::sun::star::awt::Point getCalloutOffset([in] string sPaneBorderStyleName)
Return the offset of a call out anchor with respect to the outer border.
com::sun::star::rendering::XCanvas
Central interface for rendering.
Definition XCanvas.idl:96
com::sun::star::drawing::framework::BorderType
BorderType
See XPaneBorderPainter and its addBorder() and removeBorder() methods for an explanation of the borde...
Definition BorderType.idl:27
com
Definition Ambiguous.idl:20
com::sun::star::awt::Point
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition Point.idl:28
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition Rectangle.idl:28