/* -*- 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 .
*/
case SID_CUT:
pView->DoCut();
mrViewData.GetViewShell()->UpdateDrawShell(); break;
case SID_PASTE: case SID_PASTE_SPECIAL: case SID_PASTE_UNFORMATTED: case SID_CLIPBOARD_FORMAT_ITEMS: case SID_HYPERLINK_SETLINK:
{ // cell methods are at cell shell, which is not available if // ScDrawTextObjectBar is active //! move paste etc. to view shell?
} break;
case SID_SELECTALL:
pView->MarkAll(); break;
case SID_TEXTDIRECTION_LEFT_TO_RIGHT: case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
{
SfxItemSetFixed<SDRATTR_TEXTDIRECTION, SDRATTR_TEXTDIRECTION> aAttr(pView->GetModel().GetItemPool());
aAttr.Put( SvxWritingModeItem(
nSlot == SID_TEXTDIRECTION_LEFT_TO_RIGHT ?
css::text::WritingMode_LR_TB : css::text::WritingMode_TB_RL,
SDRATTR_TEXTDIRECTION ) );
pView->SetAttributes( aAttr );
mrViewData.GetScDrawView()->InvalidateDrawTextAttrs(); // Bidi slots may be disabled
rReq.Done( aAttr );
} break;
void ScDrawTextObjectBar::GetGlobalClipState( SfxItemSet& rSet )
{ // cell methods are at cell shell, which is not available if // ScDrawTextObjectBar is active -> disable everything //! move paste etc. to view shell?
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.