SAP ABAP Class CL_THTMLB_CSS_UTIL (CSS Utility Class)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI-UI-TAG (Application Component) Tag Library
     BSP_DYN_CONFIG_TAG_LIB (Package) New tag library for CRM IC
Properties
Class CL_THTMLB_CSS_UTIL  
Short Description CSS Utility Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BSP_DYN_CONFIG_TAG_LIB   New tag library for CRM IC 
Created 20090112   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 WBMR Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_THTMLB_CSS_UTIL has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_THTMLB_COLOR_UTIL 20091208 test
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SPACE_PLACEHOLDER Static Attribute Protected Type reference (TYPE) STRING '#####' Placeholder for spaces in strings 20090123
2 GT_CLASS_GROUPS Static Attribute Protected Type reference (TYPE) TT_CLASS_GROUP Classification of CSS classes 20090126
Methods
# Method Level Visibility Method type Description Created on
1 ADD_CSS_RULES Static method Protected Method Adds the specified rules to the specified rule set. 20090513
2 ANALYZE_ALL_CSS_FILES Static method Public Method Analyses all of the CSS files for inefficiencies. 20090924
3 BUILD_CLASS_GROUPS Static method Protected Method Builds the CSS class classification. 20090126
4 BUILD_CLEAN_CSS_STRING Static method Protected Method Builds the final CSS string from CSS rule groups. 20090127
5 BUILD_MODERN_STAND_CSS_FILE Static method Protected Method Builds the compliant stand CSS file. 20090514
6 CLEANUP_CSS_CODE Static method Public Method Cleans up CSS code using all the capabilities of this class. 20090123
7 CLEANUP_SKIN Static method Public Method Cleans up the specified skin. 20090507
8 COLORIZE_CSS_COLOR Static method Public Method Colorizes the specified CSS color by changing its hue. 20090817
9 COMPRESS_CSS_DECLARATIONS Static method Protected Method Compresses declarations using shorthand notation. 20090202
10 CONDENSE_RULE_GROUPS Static method Protected Method Combines identical rules within each rule group. 20090127
11 COPY_DECLARATION Static method Protected Method Copies the specified declaration from the specified rules. 20090507
12 CUT_DECLARATION Static method Protected Method Cuts the specified declaration from the specified rules. 20090507
13 DELETE_DUPLICATE_DECLARATION Static method Protected Method Removes any duplicate CSS declarations in the given rules. 20090507
14 EXPAND_CSS_BACKGROUND Static method Protected Method Expands the background CSS property. 20090122
15 EXPAND_CSS_BACKGROUND_POSITION Static method Protected Method Expands the background-position CSS property. 20090122
16 EXPAND_CSS_BORDER_OUTLINE Static method Protected Method Expands the border and outline CSS properties. 20090123
17 EXPAND_CSS_DECLARATIONS Static method Protected Method Expands shorthand declarations. 20090122
18 EXPAND_CSS_FONT Static method Protected Method Expands the font CSS property. 20090123
19 EXPAND_CSS_LIST_STYLE Static method Protected Method Expands the list-style CSS property. 20090123
20 EXPAND_CSS_MARGIN_PADDING Static method Protected Method Expands the margin and padding CSS properties. 20090123
21 EXTRACT_CSS_COMMENTS Static method Protected Method Extracts comments from CSS code and assigns them to classes. 20090127
22 EXTRACT_CSS_RULES Static method Protected Method Adds rules from a CSS string into the specified rule table. 20090121
23 EXTRACT_Z_INDEX_RULES Static method Protected Method Places all z-index rules in a separate group. 20090430
24 FIND_DECLARATION Static method Protected Method Finds the specified CSS declaration in the specified rules. 20090507
25 GET_CSS_FILE_HEADER Static method Protected Method Returns the header comment of the given CSS file. 20090505
26 GET_CSS_GEN_DATETIME Static method Public Method Gets the CSS's generation date/time, returns it as a string 20131001
27 GET_CSS_SELECTOR_GROUP Static method Protected Method Returns the comment (key) associated with a selector. 20090505
28 GET_CSS_SELECTOR_SPECIFICITY Static method Public Method Computes a CSS selector's specificity. 20090121
29 GET_INT_VALUE_FROM_SIZE_STRING Static method Public Method Extracts integer value from height/width string, like '12px' 20091201
30 GET_LAST_CSS_SELECTOR_TOKEN Static method Protected Method Returns a CSS selector's last token. 20090924
31 GET_PROGRAM_SOURCE_CODE Static method Public Method Returns the source code of the specified program. 20091001
32 GET_STYLESHEET_LINKS_HTML Static method Public Method Returns the HTML for links to the given stylesheets. 20090525
33 GROUP_COMPLIANT_CSS_FILES Static method Protected Method Places equal attributes in a Core Compliant CSS file. 20090511
34 GROUP_CSS_RULES Static method Protected Method Groups CSS rules according to their selector's comment key. 20090127
35 HSL_TO_RGB Static method Public Method Converts the specified HSL values to RGB. 20090817
36 INSERT_STRING_PLACEHOLDERS Static method Protected Method Inserts placeholders for spaces within strings. 20090123
37 IS_CASCADE Static method Protected Method Returns true if the specified selector is a cascade. 20090925
38 IS_MODERN_BROWSER Static method Protected Method Returns true if the specified browser is considered modern. 20090507
39 IS_PLAIN_TAG_TOKEN Static method Protected Method Returns true if the specified token is a class-less tag. 20090924
40 LOAD_BSP_FILE_VERSION Static method Protected Method Loads a version of the specified BSP page with flow logic. 20090925
41 LOAD_CSS_FILE Static method Public Method Loads the specified CSS file into a string. 20090112
42 LOAD_CSS_FILE_STRUCTURE Static method Protected Method Reads the specified CSS file into a structure. 20090507
43 LOAD_MIME_FILE_VERSION Static method Protected Method Loads a version of the specified CSS file. 20090926
44 MINIMIZE_CSS_CODE Static method Public Method Removes comments and whitespaces from a CSS string. 20090121
45 OPTIMIZE_CHILDREN_CSS_FILES Static method Protected Method Moves identical attributes from children to parent file. 20090508
46 OPTIMIZE_MODERN_CSS_FILES Static method Protected Method Moves redefined attributes from modern files to parent. 20090508
47 OPTIMIZE_PARENT_CSS_FILE Static method Protected Method Removes redefined attributes from the given parent file. 20090508
48 PASTE_DECLARATION Static method Protected Method Pastes the specified declaration to the specified rules. 20090507
49 PREPARE_MINIMIZED_CSS Static method Public Method Prepares and stores the minimized CSS for later use. 20090525
50 REMOVE_BACKGROUND_IMAGES Static method Protected Method Removes any background images from the CSS code. 20091029
51 REMOVE_STRING_PLACEHOLDERS Static method Protected Method Removes placeholders for spaces within strings. 20090123
52 RGB_TO_HSL Static method Public Method Converts the specified RGB values to HSL. 20090817
53 SAVE_CSS_FILE Static method Protected Method Saves the specified CSS string into a file. 20090119
54 SAVE_CSS_FILE_AS_MIME Static method Protected Method Saves the specified CSS file into the MIME repository. 20090513
55 SAVE_CSS_FILE_STRUCTURE Static method Protected Method Saves the specified CSS structure into a file. 20090507
56 SIMULATE_CORE_COMPLIANT_CSS Static method Public Method Simulates the creation of a Core Compliant CSS file. 20090511
57 SORT_Z_INDEX_RULES Static method Protected Method Sorts all rules in the z-index group by z-index. 20090501
58 STANDARDIZE_CSS_COLOR Static method Public Method Standardizes a CSS color. 20090122
59 SUBTRACT_CSS_FILE Static method Protected Method Subtracts identical declarations from the specified file. 20090507
60 TEST_BACKGROUND_EXPANSION Static method Public Method Tests this class's CSS background expansion algorithm. 20090123
61 TEST_BORDER_EXPANSION Static method Public Method Tests this class's CSS border expansion algorithm. 20090123
62 TEST_COMMENT_EXTRACTION Static method Public Method Tests this class's CSS comment extraction algorithm. 20090127
63 TEST_FONT_EXPANSION Static method Public Method Tests this class's CSS font expansion algorithm. 20090123
64 TEST_LIST_STYLE_EXPANSION Static method Public Method Tests this class's CSS list-style expansion algorithm. 20090123
65 TEST_MARGIN_EXPANSION Static method Public Method Tests this class's CSS margin expansion algorithm. 20090123
66 TEST_MINIMIZATION Static method Public Method Tests this class's CSS minimization algorithm. 20090121
67 TEST_RULE_EXTRACTION Static method Public Method Tests this class's CSS rule extraction algorithm. 20090121
68 TEST_SELECTOR_SPECIFICITY Static method Public Method Tests this class's CSS selector specificity algorithm. 20090121
Events
Class CL_THTMLB_CSS_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CLASS_GROUP Protected See coding 20090126 BEGIN OF ts_class_group, comment TYPE string, order TYPE i, classes TYPE stringtab, END OF ts_class_group
2 TS_CONDENSED_RULE Protected See coding 20090127 BEGIN OF ts_condensed_rule, id TYPE string, selectors TYPE stringtab, comments TYPE stringtab, declarations TYPE tt_declaration, END OF ts_condensed_rule
3 TS_CONDENSED_RULE_GROUP Protected See coding 20090127 BEGIN OF ts_condensed_rule_group, comment TYPE string, rules TYPE tt_condensed_rule, END OF ts_condensed_rule_group
4 TS_CSS_ANALYSIS Public See coding 20090924 BEGIN OF ts_css_analysis, skin TYPE string, section TYPE string, num_ineff_sels TYPE i, num_filters TYPE i, num_bkgnd_imgs TYPE i, num_cascades TYPE i, ineff_sels TYPE tt_css_analysis_sel, filters TYPE tt_css_analysis_sel, END OF ts_css_analysis
5 TS_CSS_ANALYSIS_SEL Public See coding 20090928 BEGIN OF ts_css_analysis_sel, file TYPE string, selector TYPE string, END OF ts_css_analysis_sel
6 TS_CSS_FILE Protected See coding 20090507 BEGIN OF ts_css_file, filename TYPE string, skin TYPE string, original_content TYPE string, original_rules TYPE tt_rule, new_content TYPE string, new_rules TYPE tt_rule, browser_type TYPE i, browser_version TYPE i, rtl TYPE abap_bool, visuals TYPE abap_bool, modern TYPE abap_bool, core TYPE abap_bool, END OF ts_css_file
7 TS_DECLARATION Protected See coding 20090120 BEGIN OF ts_declaration, property TYPE string, value TYPE string, important TYPE flag, END OF ts_declaration
8 TS_RULE Protected See coding 20090120 BEGIN OF ts_rule, selector TYPE string, specificity TYPE i, last_token TYPE string, comments TYPE stringtab, declarations TYPE tt_declaration, END OF ts_rule
9 TS_RULE_GROUP Protected See coding 20090126 BEGIN OF ts_rule_group, comment TYPE string, order TYPE i, rules TYPE tt_rule, END OF ts_rule_group
10 TS_SKIN_FILE_CONTENT Protected See coding 20090924 BEGIN OF ts_skin_file_content, skin TYPE string, filename TYPE string, content TYPE string, END OF ts_skin_file_content
11 TT_CLASS_GROUP Protected See coding 20090126 tt_class_group TYPE STANDARD TABLE OF ts_class_group WITH KEY comment
12 TT_CONDENSED_RULE Protected See coding 20090127 tt_condensed_rule TYPE STANDARD TABLE OF ts_condensed_rule WITH KEY id
13 TT_CONDENSED_RULE_GROUP Protected See coding 20090127 tt_condensed_rule_group TYPE STANDARD TABLE OF ts_condensed_rule_group WITH KEY comment
14 TT_CSS_ANALYSIS Public See coding 20090924 tt_css_analysis TYPE STANDARD TABLE OF ts_css_analysis WITH KEY skin section
15 TT_CSS_ANALYSIS_SEL Public See coding 20090928 tt_css_analysis_sel TYPE STANDARD TABLE OF ts_css_analysis_sel WITH KEY file selector
16 TT_CSS_FILE Protected See coding 20090507 tt_css_file TYPE STANDARD TABLE OF ts_css_file WITH KEY filename
17 TT_DECLARATION Protected See coding 20090120 tt_declaration TYPE STANDARD TABLE OF ts_declaration WITH KEY property
18 TT_RULE Protected See coding 20090120 tt_rule TYPE STANDARD TABLE OF ts_rule WITH KEY selector
19 TT_RULE_GROUP Protected See coding 20090126 tt_rule_group TYPE STANDARD TABLE OF ts_rule_group WITH KEY comment
20 TT_SKIN_FILE_CONTENT Protected See coding 20090924 tt_skin_file_content TYPE STANDARD TABLE OF ts_skin_file_content WITH KEY skin
Method Signatures

Method ADD_CSS_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MODIFIED_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090513
2 Importing IT_ADDED_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090513

Method ADD_CSS_RULES on class CL_THTMLB_CSS_UTIL has no exception.

Method ANALYZE_ALL_CSS_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) TT_CSS_ANALYSIS 20090924
2 Importing IV_DATE Call by reference Type reference (TYPE) D SY-DATUM 20090924
3 Importing IV_TIME Call by reference Type reference (TYPE) T SY-UZEIT 20090924

Method ANALYZE_ALL_CSS_FILES on class CL_THTMLB_CSS_UTIL has no exception.

Method BUILD_CLASS_GROUPS Signature

Method BUILD_CLASS_GROUPS on class CL_THTMLB_CSS_UTIL has no parameter.
Method BUILD_CLASS_GROUPS on class CL_THTMLB_CSS_UTIL has no exception.

Method BUILD_CLEAN_CSS_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CSS_CONDENSED_RULE_GROUPS Call by reference Type reference (TYPE) TT_CONDENSED_RULE_GROUP 20090127
2 Returning RV_CSS_CODE Value transfer Type reference (TYPE) STRING 20090127

Method BUILD_CLEAN_CSS_STRING on class CL_THTMLB_CSS_UTIL has no exception.

Method BUILD_MODERN_STAND_CSS_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_FILES Call by reference Type reference (TYPE) TT_CSS_FILE 20090514

Method BUILD_MODERN_STAND_CSS_FILE on class CL_THTMLB_CSS_UTIL has no exception.

Method CLEANUP_CSS_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_CODE Call by reference Type reference (TYPE) STRING 20090123
2 Importing IV_CSS_FILENAME Call by reference Type reference (TYPE) STRING 20090505
3 Returning RV_CSS_CODE Value transfer Type reference (TYPE) STRING 20090123

Method CLEANUP_CSS_CODE on class CL_THTMLB_CSS_UTIL has no exception.

Method CLEANUP_SKIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 'DEFAULT' 20090507

Method CLEANUP_SKIN on class CL_THTMLB_CSS_UTIL has no exception.

Method COLORIZE_CSS_COLOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_COLOR Call by reference Type reference (TYPE) STRING Original CSS color 20090817
2 Importing IV_NEW_HUE Call by reference Type reference (TYPE) I Hue (varies from 0 to 360 degrees) 20090817
3 Returning RV_NEW_CSS_COLOR Value transfer Type reference (TYPE) STRING Colorized CSS color 20090817

Method COLORIZE_CSS_COLOR on class CL_THTMLB_CSS_UTIL has no exception.

Method COMPRESS_CSS_DECLARATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090202

Method COMPRESS_CSS_DECLARATIONS on class CL_THTMLB_CSS_UTIL has no exception.

Method CONDENSE_RULE_GROUPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_CONDENSED_RULE_GROUPS Call by reference Type reference (TYPE) TT_CONDENSED_RULE_GROUP 20090127
2 Importing IT_CSS_RULE_GROUPS Call by reference Type reference (TYPE) TT_RULE_GROUP 20090127

Method CONDENSE_RULE_GROUPS on class CL_THTMLB_CSS_UTIL has no exception.

Method COPY_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CSS_RULE Call by reference Type reference (TYPE) TS_RULE 20090507
2 Importing IT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090507
3 Importing IV_CSS_PROPERTY Call by reference Type reference (TYPE) STRING 20090507
4 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090507

Method COPY_DECLARATION on class CL_THTMLB_CSS_UTIL has no exception.

Method CUT_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090507
2 Exporting ES_CSS_RULE Call by reference Type reference (TYPE) TS_RULE 20090507
3 Importing IV_CSS_PROPERTY Call by reference Type reference (TYPE) STRING 20090507
4 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090507

Method CUT_DECLARATION on class CL_THTMLB_CSS_UTIL has no exception.

Method DELETE_DUPLICATE_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090507
2 Importing IS_CSS_RULE Call by reference Type reference (TYPE) TS_RULE 20090507

Method DELETE_DUPLICATE_DECLARATION on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_BACKGROUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090122
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090122

Method EXPAND_CSS_BACKGROUND on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_BACKGROUND_POSITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090122
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090122

Method EXPAND_CSS_BACKGROUND_POSITION on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_BORDER_OUTLINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090123
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090123

Method EXPAND_CSS_BORDER_OUTLINE on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_DECLARATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090122

Method EXPAND_CSS_DECLARATIONS on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_FONT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090123
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090123

Method EXPAND_CSS_FONT on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_LIST_STYLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090123
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090123

Method EXPAND_CSS_LIST_STYLE on class CL_THTMLB_CSS_UTIL has no exception.

Method EXPAND_CSS_MARGIN_PADDING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_DECLARATIONS Call by reference Type reference (TYPE) TT_DECLARATION 20090123
2 Importing IS_CSS_DECLARATION Call by reference Type reference (TYPE) TS_DECLARATION 20090123

Method EXPAND_CSS_MARGIN_PADDING on class CL_THTMLB_CSS_UTIL has no exception.

Method EXTRACT_CSS_COMMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090127
2 Importing IV_CSS_STRING Call by reference Type reference (TYPE) STRING 20090127

Method EXTRACT_CSS_COMMENTS on class CL_THTMLB_CSS_UTIL has no exception.

Method EXTRACT_CSS_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090121
2 Importing IV_CSS_STRING Call by reference Type reference (TYPE) STRING 20090121

Method EXTRACT_CSS_RULES on class CL_THTMLB_CSS_UTIL has no exception.

Method EXTRACT_Z_INDEX_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULE_GROUPS Call by reference Type reference (TYPE) TT_RULE_GROUP 20090430

Method EXTRACT_Z_INDEX_RULES on class CL_THTMLB_CSS_UTIL has no exception.

Method FIND_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090507
2 Importing IV_CSS_PROPERTY Call by reference Type reference (TYPE) STRING 20090507
3 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090507
4 Returning RV_FOUND Value transfer Type reference (TYPE) ABAP_BOOL 20090507

Method FIND_DECLARATION on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_CSS_FILE_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_FILENAME Call by reference Type reference (TYPE) STRING 20090505
2 Returning RV_HEADER Value transfer Type reference (TYPE) STRING 20090505

Method GET_CSS_FILE_HEADER on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_CSS_GEN_DATETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATETIME Call by reference Type reference (TYPE) STRING Date/Time string 20131001
2 Exporting EV_PAGEEXISTS Call by reference Type reference (TYPE) ABAP_BOOL Page exists = 'X'; ' ' otherwise 20131001
3 Importing IV_BSP_APPLICATION Value transfer Type reference (TYPE) STRING BSP Application 20131001
4 Importing IV_BSP_PAGE Value transfer Type reference (TYPE) STRING BSP Page 20131001

Method GET_CSS_GEN_DATETIME on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_CSS_SELECTOR_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COMMENT Call by reference Type reference (TYPE) STRING 20090505
2 Exporting EV_ORDER Call by reference Type reference (TYPE) I 20090505
3 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090505

Method GET_CSS_SELECTOR_GROUP on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_CSS_SELECTOR_SPECIFICITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090121
2 Returning RV_SPECIFICITY Value transfer Type reference (TYPE) I 20090121

Method GET_CSS_SELECTOR_SPECIFICITY on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_INT_VALUE_FROM_SIZE_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SIZE_STRING Call by reference Type reference (TYPE) STRING 20091201
2 Returning RV_INT_VALUE Value transfer Type reference (TYPE) I 20091201

Method GET_INT_VALUE_FROM_SIZE_STRING on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_LAST_CSS_SELECTOR_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090924
2 Returning RV_LAST_TOKEN Value transfer Type reference (TYPE) STRING 20090924

Method GET_LAST_CSS_SELECTOR_TOKEN on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_PROGRAM_SOURCE_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PROGRAM_NAME Call by reference Type reference (TYPE) STRING 20091001
2 Returning RV_SOURCE_CODE Value transfer Type reference (TYPE) STRING 20091001

Method GET_PROGRAM_SOURCE_CODE on class CL_THTMLB_CSS_UTIL has no exception.

Method GET_STYLESHEET_LINKS_HTML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_REQUEST Call by reference Object reference (TYPE REF TO) IF_HTTP_REQUEST HTTP Framework (iHTTP) HTTP Request 20090926
2 Importing IT_CSS_FILES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090525
3 Importing IV_BROWSER Call by reference Type reference (TYPE) STRING 20090525
4 Importing IV_COLOR Call by reference Type reference (TYPE) TEXT10 Text (10 Characters) 20090525
5 Importing IV_DATE Call by reference Type reference (TYPE) D Version date 20090916
6 Importing IV_EXCLUDE_LIST Call by reference Type reference (TYPE) STRING 20090525
7 Importing IV_RTL Call by reference Type reference (TYPE) FLAG General Flag 20090525
8 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 20090525
9 Importing IV_SYSTEM Call by reference Type reference (TYPE) STRING 20090924
10 Importing IV_TIME Call by reference Type reference (TYPE) T Version time 20090916
11 Importing IV_VISUALS Call by reference Type reference (TYPE) FLAG General Flag 20090525
12 Importing IV_ZCSS Call by reference Type reference (TYPE) STRING 20091001
13 Returning RV_HTML Value transfer Type reference (TYPE) STRING 20090525

Method GET_STYLESHEET_LINKS_HTML on class CL_THTMLB_CSS_UTIL has no exception.

Method GROUP_COMPLIANT_CSS_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_FILES Call by reference Type reference (TYPE) TT_CSS_FILE 20090511

Method GROUP_COMPLIANT_CSS_FILES on class CL_THTMLB_CSS_UTIL has no exception.

Method GROUP_CSS_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CSS_RULE_GROUPS Call by reference Type reference (TYPE) TT_RULE_GROUP 20090127
2 Importing IT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090127

Method GROUP_CSS_RULES on class CL_THTMLB_CSS_UTIL has no exception.

Method HSL_TO_RGB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_B Call by reference Type reference (TYPE) I 0 - 255 20090817
2 Exporting EV_G Call by reference Type reference (TYPE) I 0 - 255 20090817
3 Exporting EV_R Call by reference Type reference (TYPE) I 0 - 255 20090817
4 Importing IV_H Call by reference Type reference (TYPE) I 0 - 360 degrees 20090817
5 Importing IV_L Call by reference Type reference (TYPE) I 0 - 100% 20090817
6 Importing IV_S Call by reference Type reference (TYPE) I 0 - 100% 20090817

Method HSL_TO_RGB on class CL_THTMLB_CSS_UTIL has no exception.

Method INSERT_STRING_PLACEHOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) STRING 20090123
2 Returning RV_STRING Value transfer Type reference (TYPE) STRING 20090123

Method INSERT_STRING_PLACEHOLDERS on class CL_THTMLB_CSS_UTIL has no exception.

Method IS_CASCADE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CSS_SELECTOR Call by reference Type reference (TYPE) STRING 20090925
2 Returning RV_IS_CASCADE Value transfer Type reference (TYPE) ABAP_BOOL 20090925

Method IS_CASCADE on class CL_THTMLB_CSS_UTIL has no exception.

Method IS_MODERN_BROWSER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BROWSER_TYPE Call by reference Type reference (TYPE) I 20090507
2 Importing IV_BROWSER_VERSION Call by reference Type reference (TYPE) I 20090507
3 Returning RV_IS_MODERN_BROWSER Value transfer Type reference (TYPE) ABAP_BOOL 20090507

Method IS_MODERN_BROWSER on class CL_THTMLB_CSS_UTIL has no exception.

Method IS_PLAIN_TAG_TOKEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TOKEN Call by reference Type reference (TYPE) STRING 20090924
2 Returning RV_IS_PLAIN_TAG Value transfer Type reference (TYPE) ABAP_BOOL 20090924

Method IS_PLAIN_TAG_TOKEN on class CL_THTMLB_CSS_UTIL has no exception.

Method LOAD_BSP_FILE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BSP_APPLICATION Call by reference Type reference (TYPE) STRING 20090925
2 Importing IV_BSP_PAGE Call by reference Type reference (TYPE) STRING 20090925
3 Importing IV_DATE Call by reference Type reference (TYPE) D SY-DATUM 20090925
4 Importing IV_PACKAGE Call by reference Type reference (TYPE) STRING 20090925
5 Importing IV_TIME Call by reference Type reference (TYPE) T SY-UZEIT 20090925
6 Returning RV_CONTENT Value transfer Type reference (TYPE) STRING 20090925

Method LOAD_BSP_FILE_VERSION on class CL_THTMLB_CSS_UTIL has no exception.

Method LOAD_CSS_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CONTENT Call by reference Type reference (TYPE) STRING 20090112
2 Importing IV_DATE Call by reference Type reference (TYPE) D 20090916
3 Importing IV_FILE_NAME Call by reference Type reference (TYPE) STRING 20090112
4 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 20090112
5 Importing IV_TIME Call by reference Type reference (TYPE) T 20090916

Method LOAD_CSS_FILE on class CL_THTMLB_CSS_UTIL has no exception.

Method LOAD_CSS_FILE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_CSS_FILE_STRUCTURE Call by reference Type reference (TYPE) TS_CSS_FILE 20090507
2 Importing IV_CSS_FILENAME Call by reference Type reference (TYPE) STRING 20090507
3 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 20090507

Method LOAD_CSS_FILE_STRUCTURE on class CL_THTMLB_CSS_UTIL has no exception.

Method LOAD_MIME_FILE_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) D SY-DATUM 20090926
2 Importing IV_FILE_URL Call by reference Type reference (TYPE) STRING 20090926
3 Importing IV_TIME Call by reference Type reference (TYPE) T SY-UZEIT 20090926
4 Returning RV_CONTENT Value transfer Type reference (TYPE) STRING 20090926

Method LOAD_MIME_FILE_VERSION on class CL_THTMLB_CSS_UTIL has no exception.

Method MINIMIZE_CSS_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_CSS_STRING Call by reference Type reference (TYPE) STRING 20090121

Method MINIMIZE_CSS_CODE on class CL_THTMLB_CSS_UTIL has no exception.

Method OPTIMIZE_CHILDREN_CSS_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_FILES Call by reference Type reference (TYPE) TT_CSS_FILE 20090508
2 Importing IT_CHILDREN_FILENAMES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090508
3 Importing IV_PARENT_FILENAME Call by reference Type reference (TYPE) STRING 20090508

Method OPTIMIZE_CHILDREN_CSS_FILES on class CL_THTMLB_CSS_UTIL has no exception.

Method OPTIMIZE_MODERN_CSS_FILES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_FILES Call by reference Type reference (TYPE) TT_CSS_FILE 20090508
2 Importing IT_MODERN_CHILDREN_FILENAMES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090508
3 Importing IT_OLD_CHILDREN_FILENAMES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090508
4 Importing IV_PARENT_FILENAME Call by reference Type reference (TYPE) STRING 20090508

Method OPTIMIZE_MODERN_CSS_FILES on class CL_THTMLB_CSS_UTIL has no exception.

Method OPTIMIZE_PARENT_CSS_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_FILES Call by reference Type reference (TYPE) TT_CSS_FILE 20090508
2 Importing IT_CHILDREN_FILENAMES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090508
3 Importing IV_PARENT_FILENAME Call by reference Type reference (TYPE) STRING 20090508

Method OPTIMIZE_PARENT_CSS_FILE on class CL_THTMLB_CSS_UTIL has no exception.

Method PASTE_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_RULES Call by reference Type reference (TYPE) TT_RULE 20090507
2 Importing IS_CSS_RULE Call by reference Type reference (TYPE) TS_RULE 20090507
3 Importing IV_OVERWRITE Call by reference Type reference (TYPE) ABAP_BOOL 20090508

Method PASTE_DECLARATION on class CL_THTMLB_CSS_UTIL has no exception.

Method PREPARE_MINIMIZED_CSS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CSS_FILES Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090525
2 Importing IV_COLOR Call by reference Type reference (TYPE) STRING 20090926
3 Importing IV_DATE Call by reference Type reference (TYPE) D 20090916
4 Importing IV_SKIN_PATH Call by reference Type reference (TYPE) STRING 20090926
5 Importing IV_SYSTEM Call by reference Type reference (TYPE) STRING 20090924
6 Importing IV_TIME Call by reference Type reference (TYPE) T 20090916
7 Importing IV_ZCSS Call by reference Type reference (TYPE) STRING 20091001
8 Returning RV_MINIMIZED_CSS Value transfer Type reference (TYPE) STRING 20090525

Method PREPARE_MINIMIZED_CSS on class CL_THTMLB_CSS_UTIL has no exception.

Method REMOVE_BACKGROUND_IMAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORIGINAL_CSS Call by reference Type reference (TYPE) STRING 20091029
2 Returning RV_PROCESSED_CSS Value transfer Type reference (TYPE) STRING 20091029

Method REMOVE_BACKGROUND_IMAGES on class CL_THTMLB_CSS_UTIL has no exception.

Method REMOVE_STRING_PLACEHOLDERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_STRING Call by reference Type reference (TYPE) STRING 20090123
2 Returning RV_STRING Value transfer Type reference (TYPE) STRING 20090123

Method REMOVE_STRING_PLACEHOLDERS on class CL_THTMLB_CSS_UTIL has no exception.

Method RGB_TO_HSL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_H Call by reference Type reference (TYPE) I 0 - 360 degrees 20090817
2 Exporting EV_L Call by reference Type reference (TYPE) I 0 - 100% 20090817
3 Exporting EV_S Call by reference Type reference (TYPE) I 0 - 100% 20090817
4 Importing IV_B Call by reference Type reference (TYPE) I 0 - 255 20090817
5 Importing IV_G Call by reference Type reference (TYPE) I 0 - 255 20090817
6 Importing IV_R Call by reference Type reference (TYPE) I 0 - 255 20090817

Method RGB_TO_HSL on class CL_THTMLB_CSS_UTIL has no exception.

Method SAVE_CSS_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTENT Call by reference Type reference (TYPE) STRING 20090119
2 Importing IV_FILE_PATH Call by reference Type reference (TYPE) STRING 20090119

Method SAVE_CSS_FILE on class CL_THTMLB_CSS_UTIL has no exception.

Method SAVE_CSS_FILE_AS_MIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CONTENT Call by reference Type reference (TYPE) STRING 20090513
2 Importing IV_FILE_NAME Call by reference Type reference (TYPE) STRING 20090513
3 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 20090513

Method SAVE_CSS_FILE_AS_MIME on class CL_THTMLB_CSS_UTIL has no exception.

Method SAVE_CSS_FILE_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CSS_FILE_STRUCTURE Call by reference Type reference (TYPE) TS_CSS_FILE 20090507
2 Importing IV_SAVE_TO_LOCAL_FILE Call by reference Type reference (TYPE) ABAP_BOOL 20090514

Method SAVE_CSS_FILE_STRUCTURE on class CL_THTMLB_CSS_UTIL has no exception.

Method SIMULATE_CORE_COMPLIANT_CSS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SKIN Call by reference Type reference (TYPE) STRING 'DEFAULT' 20090511

Method SIMULATE_CORE_COMPLIANT_CSS on class CL_THTMLB_CSS_UTIL has no exception.

Method SORT_Z_INDEX_RULES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CSS_CONDENSED_RULE_GROUPS Call by reference Type reference (TYPE) TT_CONDENSED_RULE_GROUP 20090501

Method SORT_Z_INDEX_RULES on class CL_THTMLB_CSS_UTIL has no exception.

Method STANDARDIZE_CSS_COLOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORIGINAL_CSS_COLOR Call by reference Type reference (TYPE) STRING 20090122
2 Returning RV_STANDARDIZED_CSS_COLOR Value transfer Type reference (TYPE) STRING 20090122

Method STANDARDIZE_CSS_COLOR on class CL_THTMLB_CSS_UTIL has no exception.

Method SUBTRACT_CSS_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MODIFIED_FILE Call by reference Type reference (TYPE) TS_CSS_FILE 20090507
2 Importing IS_SUBTRACTED_FILE Call by reference Type reference (TYPE) TS_CSS_FILE 20090507

Method SUBTRACT_CSS_FILE on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_BACKGROUND_EXPANSION Signature

Method TEST_BACKGROUND_EXPANSION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_BACKGROUND_EXPANSION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_BORDER_EXPANSION Signature

Method TEST_BORDER_EXPANSION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_BORDER_EXPANSION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_COMMENT_EXTRACTION Signature

Method TEST_COMMENT_EXTRACTION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_COMMENT_EXTRACTION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_FONT_EXPANSION Signature

Method TEST_FONT_EXPANSION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_FONT_EXPANSION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_LIST_STYLE_EXPANSION Signature

Method TEST_LIST_STYLE_EXPANSION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_LIST_STYLE_EXPANSION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_MARGIN_EXPANSION Signature

Method TEST_MARGIN_EXPANSION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_MARGIN_EXPANSION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_MINIMIZATION Signature

Method TEST_MINIMIZATION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_MINIMIZATION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_RULE_EXTRACTION Signature

Method TEST_RULE_EXTRACTION on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_RULE_EXTRACTION on class CL_THTMLB_CSS_UTIL has no exception.

Method TEST_SELECTOR_SPECIFICITY Signature

Method TEST_SELECTOR_SPECIFICITY on class CL_THTMLB_CSS_UTIL has no parameter.
Method TEST_SELECTOR_SPECIFICITY on class CL_THTMLB_CSS_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 701