--- /dev/null
+<?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
+-------------------------------------------------------------------------------
+ Ministerio de Economía
+ meconlib
+-------------------------------------------------------------------------------
+This file is part of meconlib.
+
+meconlib is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your option)
+any later version.
+
+meconlib is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License; if not,
+write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+Boston, MA 02111-1307 USA
+-------------------------------------------------------------------------------
+Creado: vie mar 19 14:50:53 ART 2004
+Autor: Martin Marrese <mmarre@mecon.gov.ar>
+-------------------------------------------------------------------------------
+$Id$
+-----------------------------------------------------------------------------*/
+
+require_once 'HTML/Page.php';
+
+/**
+ * Clase para crear paginas sin tener que utilizar MECON_Marco.
+ * Obtiene los css de los objetos que se le agregan
+ *
+ * @access public
+ */
+class MECON_HTML_Page extends HTML_Page {
+
+ /**
+ * Constructor.
+ *
+ * @return void
+ * @access public
+ */
+ function MECON_HTML_Page() // ~X2C
+ {
+ parent::HTML_Page(
+ array (
+ 'doctype' => 'HTML 4.01 Transitional',
+ 'charset' => 'iso-8859-1',
+ 'lineend' => 'unix',
+ 'language' => 'es',
+ 'cache' => 'false',
+ 'simple' => 'true'
+ )
+ );
+ }
+
+ /**
+ * Redefinicion de la funcion que permite agregar objetos o html al body de
+ * la pagina.
+ * Si es un objeto debe tener un metodo toHtml y opcionalmente puede tener
+ * un getCSS.
+ *
+ * @param mixed $content Contenido a agregar en la pagina
+ *
+ * @return void
+ * @access public
+ */
+ function addBodyContent($content)
+ {
+ if ((is_object($content)) && (method_exists($content, 'getcss'))) {
+ $this->addStyleSheet($content->getCSS());
+ }
+ parent::addBodyContent($content);
+ }
+
+}
+?>
\ No newline at end of file