/* -*- 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 __com_sun_star_sdb_QueryDesign_idl__
#define __com_sun_star_sdb_QueryDesign_idl__
#include This service implements a user interface for creating SQL statements either through a graphical design
interface or simply to enter the SQL statement directly. The design view of the QueryDesign is divided into two parts. The first part contains the table windows
where columns can be selected for the SQL statement. The second part contains the columns which should appear
in the selection of the SQL statement or criteria which narrow the query. A In In The view which is being designed must support the In The client of the designer is then responsible to listen at changes in the
Operation Modes
QueryDesign
component has 3 operation modes, which control what kind of object is edited:
Query Mode
, the designer is used to modify an existing or create a new client-side
query.View Mode
, the designer is used to modify an existing or create a new server-side
view.XAlterView
is not supported, and the view has been saved.Command Mode
, the designer is used to design an standalone SQL command.
Initialization is done using the
DataSourceName
and ActiveConnection
are present, the former
is ignored.
There's a number of legacy settings which are recognized for compatibility reasons, though you're discouraged from using them:
See chapter Initialization for details.
*/ interface com::sun::star::lang::XInitialization; /** reflects the designed SQL command at the moment it was last saved by the user. */ [readonly, property] string ActiveCommand; /** specifies whether the user enabled escape processing for the statement being designed. @see DataAccessDescriptor::EscapeProcessing @since OOo 2.4 */ [readonly, property, optional] boolean EscapeProcessing; }; }; }; }; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */