/* -*- 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 .
*/
void SplitItem( sal_uInt16 nId, tools::Long nNewSize, bool bPropSmall, bool bPropGreat ); void SetItemSize( sal_uInt16 nId, tools::Long nNewSize );
tools::Long GetItemSize( sal_uInt16 nId ) const; /** Set a range that limits the (variable part of the) size with an upper and a lower bound (both are valid values themselves.) @param nId Id of the item for which the size limits are set. @param rRange Values of -1 define missing bounds, thus setting a range (-1,-1) (the default) removes the size limit.
*/ void SetItemSizeRange (sal_uInt16 nId, const Range& rRange); /** Return the current size limits for the specified item.
*/
tools::Long GetItemSize( sal_uInt16 nId, SplitWindowItemFlags nBits ) const;
sal_uInt16 GetSet( sal_uInt16 nId ) const;
sal_uInt16 GetItemId( vcl::Window* pWindow ) const;
sal_uInt16 GetItemId( const Point& rPos ) const;
sal_uInt16 GetItemPos( sal_uInt16 nId, sal_uInt16 nSetId = 0 ) const;
sal_uInt16 GetItemId( sal_uInt16 nPos ) const;
sal_uInt16 GetItemCount( sal_uInt16 nSetId = 0 ) const; bool IsItemValid( sal_uInt16 nId ) const;
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.