2013-02-05 08:05:01 +00:00
|
|
|
/*
|
|
|
|
* CSSClassNames.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Lu Wang <coolwanglu@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CSSCLASSNAMES_H__
|
|
|
|
#define CSSCLASSNAMES_H__
|
|
|
|
|
|
|
|
namespace pdf2htmlEX {
|
|
|
|
namespace CSS {
|
|
|
|
|
2013-02-05 10:19:25 +00:00
|
|
|
const char * const LINE_CN = "l";
|
|
|
|
const char * const TRANSFORM_MATRIX_CN = "t";
|
|
|
|
|
|
|
|
// page_decoration is for shadow etc
|
|
|
|
// page_frame cannot have margin or border-width, pdf2htmlEX.js will use it to determine the coordinates
|
|
|
|
// page_content holds everything inside the page, could be hidden to speed up rendering
|
|
|
|
// page_data holds data for pdf2htmlEX.js
|
|
|
|
const char * const PAGE_DECORATION_CN = "d";
|
|
|
|
const char * const PAGE_FRAME_CN = "p";
|
|
|
|
const char * const PAGE_CONTENT_BOX_CN = "b";
|
|
|
|
const char * const PAGE_DATA_CN = "j";
|
|
|
|
|
|
|
|
const char * const FONT_NAME_CN = "f";
|
|
|
|
const char * const FONT_SIZE_CN = "s";
|
|
|
|
const char * const FILL_COLOR_CN = "c";
|
|
|
|
const char * const STROKE_COLOR_CN = "C";
|
|
|
|
const char * const LETTER_SPACE_CN = "l";
|
|
|
|
const char * const WORD_SPACE_CN = "w";
|
|
|
|
const char * const RISE_CN = "r";
|
|
|
|
const char * const WHITESPACE_CN = "_";
|
|
|
|
const char * const HEIGHT_CN = "h";
|
|
|
|
const char * const LEFT_CN = "L";
|
|
|
|
|
|
|
|
const char * const CSS_DRAW_CN = "Cd";
|
|
|
|
const char * const LINK_CN = "a";
|
2013-02-05 08:05:01 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //CSSCLASSNAMES_H__
|