/usr/include/libqxp-0.0/libqxp/QXPDocument.h is in libqxp-dev 0.0.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* This file is part of the libqxp 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/.
*/
#ifndef INCLUDED_LIBQXP_QXPDOCUMENT_H
#define INCLUDED_LIBQXP_QXPDOCUMENT_H
#include <librevenge/librevenge.h>
#include <librevenge-stream/librevenge-stream.h>
#include "QXPPathResolver.h"
#include "libqxp_api.h"
namespace libqxp
{
class QXPDocument
{
public:
/** Result of parsing the file.
*/
enum Result
{
RESULT_OK, //< parsed without any problem
RESULT_FILE_ACCESS_ERROR, //< problem when accessing the file
RESULT_PARSE_ERROR, //< problem when parsing the file
RESULT_UNSUPPORTED_FORMAT, //< unsupported file format
RESULT_UNKNOWN_ERROR //< an unspecified error
};
/** Type of document.
*/
enum Type
{
TYPE_UNKNOWN, //< unrecognized file
TYPE_DOCUMENT,
TYPE_TEMPLATE,
TYPE_BOOK,
TYPE_LIBRARY
};
static QXPAPI bool isSupported(librevenge::RVNGInputStream *input, Type *type = 0);
static QXPAPI Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *document, QXPPathResolver *resolver = 0);
};
} // namespace libqxp
#endif // INCLUDED_LIBQXP_QXPDOCUMENT_H
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
|