mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 21:00:55 +08:00
37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
#ifndef _CONSTANTS_H
|
|
#define _CONSTANTS_H
|
|
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
// Ïîääåðæèâàåìàÿ âåðñèÿ 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 /* _CONSTANTS_H */
|