/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * 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 .
*/
enumclass SymbolType : sal_uInt16
{
DONTKNOW = 0,
IMAGE = 1,
ARROW_UP = 2,
ARROW_DOWN = 3,
ARROW_LEFT = 4,
ARROW_RIGHT = 5,
SPIN_UP = 6,
SPIN_DOWN = 7,
SPIN_LEFT = 8,
SPIN_RIGHT = 9,
FIRST = 10,
LAST = 11,
PREV = 12,
NEXT = 13,
PAGEUP = 14,
PAGEDOWN = 15,
PLAY = 16,
STOP = 19,
CLOSE = 25,
CHECKMARK = 28,
RADIOCHECKMARK = 29, FLOAT = 31,
DOCK = 32,
HIDE = 33,
HELP = 34,
PLUS = 35,
MENU = SymbolType::SPIN_DOWN
};
// Border styles for SetBorder() enumclass WindowBorderStyle : sal_Int16
{
NONE = 0x0000,
NORMAL = 0x0001,
MONO = 0x0002,
MENU = 0x0010,
NWF = 0x0020,
NOBORDER = 0x1000,
REMOVEBORDER = 0x2000, // Never use native border, used to ensure consistency of form controls // inside documents across platforms and in pdf/print output
NONATIVEBORDER = 0x4000,
}; namespace o3tl
{ template<> struct typed_flags<WindowBorderStyle> : is_typed_flags<WindowBorderStyle, 0x7033> {};
}
enumclass TimeFormat
{
Hour12, Hour24
};
enumclass ExtTimeFieldFormat
{ /** the first 4 of these are only used by base/dbaccess */
Short24H, Long24H,
Short12H, Long12H,
ShortDuration, LongDuration
};
inlinebooloperator !=(const ItalicMatrix& a, const ItalicMatrix& b)
{ return !(a == b);
}
enumclass VclAlign
{
Fill,
Start,
End,
Center
};
enumclass VclPackType
{
Start = 0,
End = 1,
LAST = End
};
enumclass VclTaskBarStates { // Default, no specifics
Normal, // Display some progress defined by SetTaskBarProgress
Progress, // Something going on, but no exact progress scale
ProgressUnknown, // Process on pause
Paused, // Some error did happen
Error
};
// Return Values from Dialog::Execute //!!! in case of changes adjust /basic/source/runtime/methods.cxx msgbox
// small, large, size32 force an exact toolbox size for proper alignment // DontCare will let the toolbox decide about its size enumclass ToolBoxButtonSize
{
DontCare,
Small,
Large,
Size32,
};
// available button sizes for navigation bar enumclass NavbarButtonSize
{ Auto,
Small,
Large,
XLarge,
};
namespace vcl
{ // The exact sizes of the icons in each size grouping are not necessarily // the exact size indicated by the name, but the upper limit of their size. // e.g. many Size26 icons are often 24x24px and only some 26x26px enumclass ImageType
{
Size16,
Size26,
Size32,
Small = Size16,
LAST = Size32,
};
// Specifies a writing direction-based specialization for an image. // Sets do not necessarily provide all possible specializations. enumclass ImageWritingDirection
{
LeftRightTopBottom = 0,
RightLeftTopBottom,
DontCare = LeftRightTopBottom,
};
}
enumclass DrawFrameStyle
{
NONE = 0x0000,
In = 0x0001,
Out = 0x0002,
Group = 0x0003,
DoubleIn = 0x0004,
DoubleOut = 0x0005,
NWF = 0x0006,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.