/* -*- 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 .
*/ #ifndef INCLUDED_SVX_RULRITEM_HXX #define INCLUDED_SVX_RULRITEM_HXX
class SVX_DLLPUBLIC SvxLongLRSpaceItem final : public SfxPoolItem
{
tools::Long mlLeft; // nLeft or the negative first-line indentation
tools::Long mlRight; // the unproblematic right edge
class SVX_DLLPUBLIC SvxLongULSpaceItem final : public SfxPoolItem
{
tools::Long mlLeft; // nLeft or the negative first-line indentation
tools::Long mlRight; // the unproblematic right edge
struct SVX_DLLPUBLIC SvxColumnDescription
{
tools::Long nStart; /* Start of the column */
tools::Long nEnd; /* End of the column */ bool bVisible; /* Visibility */
tools::Long nEndMin; //min. possible position of end
tools::Long nEndMax; //max. possible position of end
class SVX_DLLPUBLIC SvxColumnItem final : public SfxPoolItem
{
std::vector<SvxColumnDescription> aColumns; // Column array
tools::Long nLeft; // Left edge for the table
tools::Long nRight; // Right edge for the table; for columns always // equal to the surrounding frame
sal_uInt16 nActColumn; // the current column bool bTable; // table? bool bOrtho; // evenly spread columns
public: static SfxPoolItem* CreateDefault(); // right edge of the surrounding frame // nLeft, nRight each the distance to the surrounding frame
DECLARE_ITEM_TYPE_FUNCTION(SvxColumnItem)
SvxColumnItem(sal_uInt16 nAct = 0);
SvxColumnItem(sal_uInt16 nActCol, sal_uInt16 nLeft, sal_uInt16 nRight); // Table with borders
class SVX_DLLPUBLIC SvxObjectItem final : public SfxPoolItem
{
tools::Long nStartX; /* Start in x direction */
tools::Long nEndX; /* End in x direction */
tools::Long nStartY; /* Start in y direction */
tools::Long nEndY; /* End in y direction */ bool bLimits; /* boundary limit control by the application */
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.