mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-13 15:23:55 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62550 954022d7-b5bf-4e40-9824-e11837661b57
39 lines
1.4 KiB
C++
39 lines
1.4 KiB
C++
#ifndef _PDF_READER_CONSTANTS_H
|
|
#define _PDF_READER_CONSTANTS_H
|
|
|
|
namespace PdfReader
|
|
{
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
// Поддерживаемая версия PDF файла
|
|
#define SupportedPDFVersionStr "1.7"
|
|
#define SupportedPDFVersionNum 1.7
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
// Paper size
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
// Стандартные размеры страницы (в пикселях (72dpi))
|
|
#ifndef A4_PAPER
|
|
#define DefaultPaperWidth 595 // ISO A4 (210x297 mm)
|
|
#define DefaultPaperHeight 842
|
|
#else
|
|
#define DefaultPaperWidth 612 // American letter (8.5x11")
|
|
#define DefaultPaperHeight 792
|
|
#endif
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
// Config file path
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
#if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
|
|
#define UserConfigFile "pdfrc"
|
|
#define SysConfigFile "pdfrc"
|
|
#else
|
|
#define UserConfigFile ".pdfrc"
|
|
#define SysConfigFile ".pdfrc"
|
|
#endif
|
|
}
|
|
|
|
#endif // _PDF_READER_CONSTANTS_H
|