summaryrefslogtreecommitdiff
path: root/src/lib/PGPLUSDocument.cpp
blob: 2b2b4e4886d61b41739505286f2bfb1884e3b528 (plain)
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
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
 * This file is part of the libpgplus 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/.
 */

#include <sstream>
#include <string>
#include <string.h>
#include <libpgplus/PGPLUSDocument.h>
#include "libpgplus_utils.h"

/**
Analyzes the content of an input stream to see if it can be parsed
\param input The input stream
\return A value that indicates whether the content from the input
stream is a PagePlus Document that libpgplus is able to parse
*/
bool libpgplus::PGPLUSDocument::isSupported(librevenge::RVNGInputStream *input)
{
  return false;
}

/**
Parses the input stream content. It will make callbacks to the functions provided by a
RVNGPaintInterface class implementation when needed. This is often commonly called the
'main parsing routine'.
\param input The input stream
\param painter A PGPLUSPainterInterface implementation
\return A value that indicates whether the parsing was successful
*/
bool libpgplus::PGPLUSDocument::parse(::librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
{
  return false;
}

/* vim:set shiftwidth=2 softtabstop=2 expandtab: */