/* -*- 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 .
*/ #pragma once
/** called when init fails at the tablewindowdata because the m_xTable object could not provide columns, but no exception was thrown.
Expected to throw. */ virtualvoid onNoColumns_throw() override;
/// base class overwritten: create and delete windows /// (not really delete, as it becomes an UndoAction) bool ContainsTabWin(const OTableWindow& rTabWin); // #i122589# Allow to check if OTableWindow is registered virtualvoid AddTabWin( const OUString& _rTableName, const OUString& _rAliasName, bool bNewTable = false ) override; virtualvoid RemoveTabWin(OTableWindow* pTabWin) override;
/// Inserting a Connection the structure void GetConnection(OQueryTableConnection* pConn); /** Removing a Connection from the structure
This results effectively in complete reset of request form, as all windows are hidden, as are all Connections to these windows and all
request columns based on those tables */ void DropConnection(VclPtr<OQueryTableConnection> const & rConn);
// show and hide TabWin (NOT create or delete) bool ShowTabWin(OQueryTableWindow* pTabWin, OQueryTabWinUndoAct* pUndoAction, bool _bAppend); void HideTabWin(OQueryTableWindow* pTabWin, OQueryTabWinUndoAct* pUndoAction);
/// ensure visibility of TabWins (+ and invalidate connections) virtualvoid EnsureVisible(const OTableWindow* _pWin) override;
/// how many tables with a certain alias do I already have?
sal_Int32 CountTableAlias(const OUString& rName, sal_Int32& rMax);
/// insert field (simply passed to parents) void InsertField(const OTableFieldDescRef& rInfo);
/// rebuild everything (TabWins, Connections) /// (PRECONDITION: ClearAll was called previously) virtualvoid ReSync() override;
/// delete everything hard (TabWins, Connections), without any notifications virtualvoid ClearAll() override;
// used by AddTabDlg to see if tables can still be added //virtual sal_Bool IsAddAllowed();
/// announce new Connection and insert it, if not existing yet void NotifyTabConnection(const OQueryTableConnection& rNewConn, bool _bCreateUndoAction = true);
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.