PageRenderTime 37ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/TeXmacs-1.0.7.11-src/src/Plugins/Pdf/dvipdfmx/pdfparse.h

#
C++ Header | 55 lines | 22 code | 9 blank | 24 comment | 0 complexity | c4cf908c2e0cb3a2568ad10587d24eb5 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, MPL-2.0-no-copyleft-exception
  1. /* $Header: /home/cvsroot/dvipdfmx/src/pdfparse.h,v 1.15 2008/05/13 12:23:45 matthias Exp $
  2. This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
  3. Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
  4. the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
  5. Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu>
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  17. */
  18. #ifndef _PDFPARSE_H_
  19. #define _PDFPARSE_H_
  20. #include "numbers.h"
  21. #include "pdfobj.h"
  22. /* Please remove this */
  23. extern void dump (const char *start, const char *end);
  24. extern void skip_line (char **start, char *end);
  25. extern void skip_white (char **start, char *end);
  26. extern char *parse_number (char **start, char *end);
  27. extern char *parse_unsigned (char **start, char *end);
  28. extern char *parse_ident (char **start, char *end);
  29. extern char *parse_val_ident (char **start, char *end);
  30. extern char *parse_opt_ident (char **start, char *end);
  31. extern pdf_obj *parse_pdf_name (char **pp, char *endptr);
  32. extern pdf_obj *parse_pdf_boolean (char **pp, char *endptr);
  33. extern pdf_obj *parse_pdf_number (char **pp, char *endptr);
  34. extern pdf_obj *parse_pdf_null (char **pp, char *endptr);
  35. extern pdf_obj *parse_pdf_string (char **pp, char *endptr);
  36. extern pdf_obj *parse_pdf_dict (char **pp, char *endptr, pdf_file *pf);
  37. extern pdf_obj *parse_pdf_array (char **pp, char *endptr, pdf_file *pf);
  38. extern pdf_obj *parse_pdf_object (char **pp, char *endptr, pdf_file *pf);
  39. extern pdf_obj *parse_pdf_tainted_dict (char **pp, char *endptr);
  40. #endif /* _PDFPARSE_H_ */