blob: 362001b4937d0b573e635fb60fb575752144e29b [file] [log] [blame]
/**************************************************************
*
* 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
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*************************************************************/
#ifndef __com_sun_star_sdb_XOfficeDatabaseDocument_idl__
#define __com_sun_star_sdb_XOfficeDatabaseDocument_idl__
#ifndef __com_sun_star_sdb_XFormDocumentsSupplier_idl__
#include <com/sun/star/sdb/XFormDocumentsSupplier.idl>
#endif
#ifndef __com_sun_star_sdb_XReportDocumentsSupplier_idl__
#include <com/sun/star/sdb/XReportDocumentsSupplier.idl>
#endif
#ifndef __com_sun_star_sdbc_XDataSource_idl__
#include <com/sun/star/sdbc/XDataSource.idl>
#endif
#ifndef __com_sun_star_document_XDocumentSubStorageSupplier_idl__
#include <com/sun/star/document/XDocumentSubStorageSupplier.idl>
#endif
//=============================================================================
module com { module sun { module star { module sdb {
//=============================================================================
/** simplifies the accessing of data sources, and it's corresponding database document and forms, and reports.
*/
published interface XOfficeDatabaseDocument
{
/** allows to access the supplier for forms.
@see com::sun::star::sdb::Forms
*/
interface com::sun::star::sdb::XFormDocumentsSupplier;
/** allows to access the supplier for reports.
@see com::sun::star::sdb::Reports
*/
interface com::sun::star::sdb::XReportDocumentsSupplier;
/** allows the access to all sub storages in the office database document.
*/
interface com::sun::star::document::XDocumentSubStorageSupplier;
/** provides access to the one and only <type>DataSource</type>
associated with this document
*/
[readonly, attribute] com::sun::star::sdbc::XDataSource DataSource;
};
//=============================================================================
}; }; }; };
/*=============================================================================
=============================================================================*/
#endif