1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-09-19 13:50:06 +00:00
pdf2htmlEX/src/util/CSSClassNames.h

59 lines
1018 B
C
Raw Normal View History

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 {
const char * FONT_SIZE_CN = "s";
const char * LETTER_SPACE_CN = "l";
const char * WORD_SPACE_CN = "w";
const char * RISE_CN = "r";
const char * WHITESPACE_CN = "_";
const char * HEIGHT_CN = "h";
const char * LEFT_CN = "L";
}
}
/*
* Deprecated!!!
* Naming Convention
*
* CSS classes
*
* _ - white space
* a - Annot link
* b - page Box
* d - page Decoration
* l - Line
* j - Js data
* p - Page
*
* Cd - CSS Draw
*
* Numbered CSS classes
* See also: HTMLRenderer::TextLineBuffer::format_str
*
* t<hex> - Transform matrix
* f<hex> - Font (also for font names)
* s<hex> - font Size
* l<hex> - Letter spacing
* w<hex> - Word spacing
* c<hex> - Fill Color
* C<hex> - Stroke Color
* _<hex> - white space
* r<hex> - Rise
* h<hex> - Height
* L<hex> - Left
*
*/
#endif //CSSCLASSNAMES_H__