You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.6 KiB

<?php
// Project: Web Reference Database (refbase) <http://www.refbase.net>
// Copyright: Matthias Steffens <mailto:refbase@extracts.de> and the file's
// original author(s).
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY. Please see the GNU General Public
// License for more details.
//
// File: ./export/export_odfxml.php
// Repository: $HeadURL: file:///svn/p/refbase/code/branches/bleeding-edge/export/export_odfxml.php $
// Author(s): Matthias Steffens <mailto:refbase@extracts.de>
//
// Created: 01-Jun-06, 13:57
// Modified: $Date: 2007-02-17 01:10:14 +0000 (Sat, 17 Feb 2007) $
// $Author: msteffens $
// $Revision: 894 $
// This exports ODF XML. This file must reside in the 'export' directory of the refbase root directory.
// It uses functions from include file 'odfxml.inc.php' that requires the ActiveLink PHP XML Package,
// which is available under the GPL from: <http://www.active-link.com/software/>
// --------------------------------------------------------------------
// --- BEGIN EXPORT FORMAT ---
// Export found records as ODF XML:
function exportRecords($result, $rowOffset, $showRows, $exportStylesheet, $displayType)
{
// Generate and serve an ODF XML file of ALL records:
$recordCollection = odfDocument($result, "spreadsheet"); // function 'odfDocument()' is defined in 'odfxml.inc.php'
return $recordCollection;
}
// --- END EXPORT FORMAT ---
// --------------------------------------------------------------------
?>