From 12c02a7a645e0bc0a2acdddfe3fdb9911b8c6a61 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Sun, 21 May 2006 21:51:51 +0000 Subject: Unix-ify the sources (bzr r928) --- src/dom/odf/odfdocument.cpp | 322 ++++++++++++++++++++++---------------------- 1 file changed, 161 insertions(+), 161 deletions(-) (limited to 'src/dom/odf/odfdocument.cpp') diff --git a/src/dom/odf/odfdocument.cpp b/src/dom/odf/odfdocument.cpp index ba6cfc63b..cba9e1349 100644 --- a/src/dom/odf/odfdocument.cpp +++ b/src/dom/odf/odfdocument.cpp @@ -1,161 +1,161 @@ -/** - * - * This class contains an ODF Document. - * Initially, we are just concerned with .odg content.xml + resources - * - * --------------------------------------------------------------------- - * - * Copyright (C) 2006 Bob Jamison - * - * This program 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 3 of the License, or - * (at your option) any later version. - * - * This program 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 - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - * For more information, please write to rwjj@earthlink.net - * - */ - -#include "odfdocument.h" - - -namespace odf -{ - - -//######################################################################## -//# I M A G E D A T A -//######################################################################## - - -/** - * - */ -ImageData::ImageData(const std::string &fname, - const std::vector &buf) -{ - fileName = fname; - data = buf; -} - -/** - * - */ -ImageData::ImageData(const ImageData &other) -{ - fileName = other.fileName; - data = other.data; -} - -/** - * - */ -ImageData::~ImageData() -{ -} - -/** - * - */ -std::string ImageData::getFileName() -{ - return fileName; -} - -/** - * - */ -void ImageData::setFileName(const std::string &val) -{ - fileName = val; -} - -/** - * - */ -std::vector &ImageData::getData() -{ - return data; -} - -/** - * - */ -void ImageData::setData(const std::vector &buf) -{ - data = buf; -} - - - - - -//######################################################################## -//# O D F D O C U M E N T -//######################################################################## - - - -/** - * - */ -OdfDocument::OdfDocument() -{ -} - - -/** - * - */ -OdfDocument::OdfDocument(const OdfDocument &other) -{ - content = other.content; - images = other.images; -} - - -/** - * - */ -OdfDocument::~OdfDocument() -{ -} - -/** - * - */ -bool OdfDocument::readFile(const std::string &fileName) -{ - return true; -} - -/** - * - */ -bool OdfDocument::writeFile(const std::string &fileName) -{ - return true; -} - - - - - -} //namespace odf - - - - -//######################################################################## -//# E N D O F F I L E -//######################################################################## - +/** + * + * This class contains an ODF Document. + * Initially, we are just concerned with .odg content.xml + resources + * + * --------------------------------------------------------------------- + * + * Copyright (C) 2006 Bob Jamison + * + * This program 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 3 of the License, or + * (at your option) any later version. + * + * This program 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 + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * For more information, please write to rwjj@earthlink.net + * + */ + +#include "odfdocument.h" + + +namespace odf +{ + + +//######################################################################## +//# I M A G E D A T A +//######################################################################## + + +/** + * + */ +ImageData::ImageData(const std::string &fname, + const std::vector &buf) +{ + fileName = fname; + data = buf; +} + +/** + * + */ +ImageData::ImageData(const ImageData &other) +{ + fileName = other.fileName; + data = other.data; +} + +/** + * + */ +ImageData::~ImageData() +{ +} + +/** + * + */ +std::string ImageData::getFileName() +{ + return fileName; +} + +/** + * + */ +void ImageData::setFileName(const std::string &val) +{ + fileName = val; +} + +/** + * + */ +std::vector &ImageData::getData() +{ + return data; +} + +/** + * + */ +void ImageData::setData(const std::vector &buf) +{ + data = buf; +} + + + + + +//######################################################################## +//# O D F D O C U M E N T +//######################################################################## + + + +/** + * + */ +OdfDocument::OdfDocument() +{ +} + + +/** + * + */ +OdfDocument::OdfDocument(const OdfDocument &other) +{ + content = other.content; + images = other.images; +} + + +/** + * + */ +OdfDocument::~OdfDocument() +{ +} + +/** + * + */ +bool OdfDocument::readFile(const std::string &fileName) +{ + return true; +} + +/** + * + */ +bool OdfDocument::writeFile(const std::string &fileName) +{ + return true; +} + + + + + +} //namespace odf + + + + +//######################################################################## +//# E N D O F F I L E +//######################################################################## + -- cgit v1.2.3