LibreOffice Module svtools (master) 1
optionsdrawinglayer.hxx
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#pragma once
21
22#include <svtools/svtdllapi.h>
23#include <sal/types.h>
24#include <tools/color.hxx>
25
27{
28
29/*-****************************************************************************************************
30 @short interface methods to get and set value of config key "org.openoffice.Office.Common/Drawinglayer/..."
31 @descr These options describe internal states to enable/disable features of installed office.
32
33 IsOverlayBuffer()
34 SetOverlayBuffer() => Activate this field for letting Overlay use a buffer
35
36 IsPaintBuffer()
37 SetPaintBuffer() => Activate this field for letting Paint use a prerender buffer
38
39 GetStripeColorA()
40 SetStripeColorA() => Set first of two colors which overlay uses to draw stripes
41
42 GetStripeColorB()
43 SetStripeColorB() => Set second of two colors which overlay uses to draw stripes
44
45 GetStripeLength()
46 SetStripeLength() => Set length of a single stripe in pixels
47
48 @seealso configuration package "org.openoffice.Office.Common/Drawinglayer"
49*//*-*****************************************************************************************************/
50
56
57// #i73602#
61
62// #i74769#, #i75172#
66
67// #i4219#
74
75// #i95644# helper to check if AA is allowed on this system. Currently, for WIN it's disabled
76// and OutDevSupportType::TransparentRect is checked (this hits XRenderExtension, e.g.
77// currently for SunRay as long as not supported there)
79
80// primitives
88
89SVT_DLLPUBLIC void SetAntiAliasing( bool bOn, bool bTemporary );
90
91// #i97672# selection settings
95
96// get system highlight color, limited to the maximum allowed luminance
97// (defined in GetSelectionMaximumLuminancePercent() in SvtOptionsDrawinglayer,
98// combined with Application::GetSettings().GetStyleSettings().GetHighlightColor())
100
101} // namespace SvtOptionsDrawinglayer
102
103/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_uInt16 GetTransparentSelectionPercent()
sal_uInt32 GetMaximumPaperBottomMargin()
void SetAntiAliasing(bool bOn, bool bTemporary)
Some code like to turn this stuff on and off during a drawing operation so it can "tunnel" informatio...
sal_uInt32 GetQuadraticFormControlRenderLimit()
sal_uInt16 GetSelectionMaximumLuminancePercent()
#define SVT_DLLPUBLIC
Definition: svtdllapi.h:27