From 006dfd3ab6a57d0cd5a91cf5d2d21db949b830c5 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Tue, 5 Feb 2013 16:05:01 +0800 Subject: [PATCH] oops, add the missing file --- src/util/CSSClassNames.h | 58 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/util/CSSClassNames.h diff --git a/src/util/CSSClassNames.h b/src/util/CSSClassNames.h new file mode 100644 index 0000000..b0b8e57 --- /dev/null +++ b/src/util/CSSClassNames.h @@ -0,0 +1,58 @@ +/* + * CSSClassNames.h + * + * Copyright (C) 2013 Lu Wang + */ + +#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 - Transform matrix + * f - Font (also for font names) + * s - font Size + * l - Letter spacing + * w - Word spacing + * c - Fill Color + * C - Stroke Color + * _ - white space + * r - Rise + * h - Height + * L - Left + * + */ + + +#endif //CSSCLASSNAMES_H__