Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-10 10:23:45

0001 //========================================================================
0002 //
0003 // ErrorCodes.h
0004 //
0005 // Copyright 2002-2003 Glyph & Cog, LLC
0006 //
0007 //========================================================================
0008 
0009 //========================================================================
0010 //
0011 // Modified under the Poppler project - http://poppler.freedesktop.org
0012 //
0013 // All changes made under the Poppler project to this file are licensed
0014 // under GPL version 2 or later
0015 //
0016 // Copyright (C) 2017 Albert Astals Cid <aacid@kde.org>
0017 //
0018 // To see a description of the changes please see the Changelog file that
0019 // came with your tarball or type make ChangeLog if you are building from git
0020 //
0021 //========================================================================
0022 
0023 #ifndef ERRORCODES_H
0024 #define ERRORCODES_H
0025 
0026 #define errNone 0 // no error
0027 
0028 #define errOpenFile 1 // couldn't open the PDF file
0029 
0030 #define errBadCatalog 2 // couldn't read the page catalog
0031 
0032 #define errDamaged                                                                                                                                                                                                                             \
0033     3 // PDF file was damaged and couldn't be
0034       // repaired
0035 
0036 #define errEncrypted                                                                                                                                                                                                                           \
0037     4 // file was encrypted and password was
0038       // incorrect or not supplied
0039 
0040 #define errHighlightFile 5 // nonexistent or invalid highlight file
0041 
0042 #define errBadPrinter 6 // invalid printer
0043 
0044 #define errPrinting 7 // error during printing
0045 
0046 #define errPermission 8 // PDF file doesn't allow that operation
0047 
0048 #define errBadPageNum 9 // invalid page number
0049 
0050 #define errFileIO 10 // file I/O error
0051 
0052 #define errFileChangedSinceOpen 11 // file has changed since opening and save can't be done
0053 
0054 #endif