You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/itextpdf/html2pdf/LogMessageConstant.java
+11-39Lines changed: 11 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public final class LogMessageConstant {
53
53
/** The Constant CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED. */
54
54
publicstaticfinalStringCSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED = "Css property {0} in percents is not supported";
55
55
56
-
publicstaticfinalStringDEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN= "Default value of the css property \"{0}\" is unknown.";
56
+
publicstaticfinalStringDEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN = "Default value of the css property \"{0}\" is unknown.";
57
57
58
58
/** The Constant ERROR_LOADING_FONT. */
59
59
publicstaticfinalStringERROR_LOADING_FONT = "Error while loading font";
@@ -69,16 +69,12 @@ public final class LogMessageConstant {
69
69
70
70
/** The Constant ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE. */
71
71
publicstaticfinalStringERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE = "Error during layout of form filed with type {0}.";
72
-
72
+
/** The Constant HEIGHT_VALUE_IN_PERCENT_NOT_SUPPORTED. */
73
+
publicstaticfinalStringHEIGHT_VALUE_IN_PERCENT_NOT_SUPPORTED = "Height value in percent not supported";
73
74
/** The Constant INPUT_FIELD_DOES_NOT_FIT. */
74
75
publicstaticfinalStringINPUT_FIELD_DOES_NOT_FIT = "Input field doesn't fit in outer object. It will be clipped";
75
-
76
76
/** The Constant INPUT_SUPPORTS_ONLY_POINT_WIDTH. */
77
77
publicstaticfinalStringINPUT_SUPPORTS_ONLY_POINT_WIDTH = "Input field supports only point width";
78
-
79
-
/** The Constant HEIGHT_VALUE_IN_PERCENT_NOT_SUPPORTED. */
80
-
publicstaticfinalStringHEIGHT_VALUE_IN_PERCENT_NOT_SUPPORTED = "Height value in percent not supported";
81
-
82
78
/** The Constant INPUT_TYPE_IS_NOT_SUPPORTED. */
83
79
publicstaticfinalStringINPUT_TYPE_IS_NOT_SUPPORTED = "Input type {0} is not supported";
84
80
@@ -90,79 +86,55 @@ public final class LogMessageConstant {
90
86
91
87
/** The Constant NOT_SUPPORTED_LIST_STYLE_TYPE. */
92
88
publicstaticfinalStringNOT_SUPPORTED_LIST_STYLE_TYPE = "Not supported list style type: {0}";
93
-
94
-
/** The Constant NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG. */
95
-
publicstaticfinalStringNO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG = "Tag worker does not produce IPropertyContainer for \"{0}\" tag. An outline for \"{0}\" tag will not be created.";
96
-
97
89
/** The Constant NO_CONSUMER_FOUND_FOR_CONTENT. */
98
90
publicstaticfinalStringNO_CONSUMER_FOUND_FOR_CONTENT = "No consumer found for content";
99
-
100
91
/** The Constant NO_CSS_APPLIER_FOUND_FOR_TAG. */
101
92
publicstaticfinalStringNO_CSS_APPLIER_FOUND_FOR_TAG = "No css applier found for tag {0}";
102
-
93
+
/** The Constant NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG. */
94
+
publicstaticfinalStringNO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG = "Tag worker does not produce IPropertyContainer for \"{0}\" tag. An outline for \"{0}\" tag will not be created.";
103
95
/** The Constant NO_WORKER_FOUND_FOR_TAG. */
104
96
publicstaticfinalStringNO_WORKER_FOUND_FOR_TAG = "No worker found for tag {0}";
105
97
106
98
/** The Constant PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED. */
107
99
publicstaticfinalStringPADDING_VALUE_IN_PERCENT_NOT_SUPPORTED = "Padding value in percents not supported";
108
-
100
+
publicstaticfinalStringPAGE_MARGIN_BOX_CONTENT_CANNOT_BE_DRAWN = "Page margin box {0} content cannot be drawn.";
109
101
/** The Constant PAGE_SIZE_VALUE_IS_INVALID. */
110
102
publicstaticfinalStringPAGE_SIZE_VALUE_IS_INVALID = "Page size value {0} is invalid.";
111
-
112
-
/** The Constant QUOTE_IS_NOT_CLOSED_IN_CSS_EXPRESSION. */
113
-
publicstaticfinalStringQUOTE_IS_NOT_CLOSED_IN_CSS_EXPRESSION = "The quote is not closed in css expression: {0}";
114
-
115
103
/** The Constant QUOTES_PROPERTY_INVALID. */
116
104
publicstaticfinalStringQUOTES_PROPERTY_INVALID = "Quote property \"{0}\" is invalid. It should contain even number of <string> values.";
117
-
105
+
/** The Constant QUOTE_IS_NOT_CLOSED_IN_CSS_EXPRESSION. */
106
+
publicstaticfinalStringQUOTE_IS_NOT_CLOSED_IN_CSS_EXPRESSION = "The quote is not closed in css expression: {0}";
118
107
/** The Constant RULE_IS_NOT_SUPPORTED. */
119
108
publicstaticfinalStringRULE_IS_NOT_SUPPORTED = "The rule @{0} is unsupported. All selectors in this rule will be ignored.";
120
-
121
109
/** The Constant TEXT_DECORATION_BLINK_NOT_SUPPORTED. */
122
110
publicstaticfinalStringTEXT_DECORATION_BLINK_NOT_SUPPORTED = "text-decoration: blink not supported";
123
-
124
111
/** The Constant TEXT_WAS_NOT_PROCESSED. */
125
112
publicstaticfinalStringTEXT_WAS_NOT_PROCESSED = "Text was not processed: {0}";
126
-
127
113
/** The Constant UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE. */
128
114
publicstaticfinalStringUNABLE_TO_PROCESS_EXTERNAL_CSS_FILE = "Unable to process external css file";
129
-
130
115
/** The Constant UNABLE_TO_RESOLVE_COUNTER. */
131
116
publicstaticfinalStringUNABLE_TO_RESOLVE_COUNTER = "Unable to resolve counter \"{0}\"";
132
-
133
117
/** The Constant UNABLE_TO_RESOLVE_FONT. */
134
118
publicstaticfinalStringUNABLE_TO_RESOLVE_FONT = "Unable to resolve font: {0}. The default one will be used instead";
135
-
119
+
/** The Constant UNABLE_TO_RETRIEVE_FONT. */
120
+
publicstaticfinalStringUNABLE_TO_RETRIEVE_FONT = "Unable to retrieve font:\n {0}";
136
121
/** The Constant UNABLE_TO_RETRIEVE_IMAGE_FROM_BASE64_SOURCE. */
137
122
publicstaticfinalStringUNABLE_TO_RETRIEVE_IMAGE_FROM_BASE64_SOURCE = "Unable to retrieve image from given base64 source string";
138
-
139
123
/** The Constant UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI. */
140
124
publicstaticfinalStringUNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI = "Unable to retrieve image with given base URI ({0}) and image source path ({1})";
141
-
142
-
/** The Constant UNABLE_TO_RETRIEVE_FONT. */
143
-
publicstaticfinalStringUNABLE_TO_RETRIEVE_FONT = "Unable to retrieve font:\n {0}";
144
-
145
125
/** The Constant UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI. */
146
126
publicstaticfinalStringUNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI = "Unable to retrieve stream with given base URI ({0}) and source path ({1})";
147
-
148
127
/** The Constant UNKNOWN_ABSOLUTE_METRIC_LENGTH_PARSED. */
publicstaticfinalStringURL_IS_NOT_CLOSED_IN_CSS_EXPRESSION = "url function is not properly closed in expression:{0}";
157
-
158
132
publicstaticfinalStringURL_IS_EMPTY_IN_CSS_EXPRESSION = "url function is empty in expression:{0}";
159
-
133
+
publicstaticfinalStringURL_IS_NOT_CLOSED_IN_CSS_EXPRESSION = "url function is not properly closed in expression:{0}";
160
134
/** The Constant WAS_NOT_ABLE_TO_DEFINE_BACKGROUND_CSS_SHORTHAND_PROPERTIES. */
161
135
publicstaticfinalStringWAS_NOT_ABLE_TO_DEFINE_BACKGROUND_CSS_SHORTHAND_PROPERTIES = "Was not able to define one of the background CSS shorthand properties: {0}";
162
-
163
136
/** The Constant WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT. */
164
137
publicstaticfinalStringWORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT = "Worker of type {0} unable to process it's text content";
165
-
166
138
/** The Constant WORKER_UNABLE_TO_PROCESS_OTHER_WORKER. */
167
139
publicstaticfinalStringWORKER_UNABLE_TO_PROCESS_OTHER_WORKER = "Worker of type {0} unable to process {1}";
// TODO outlines are currently not supported for page margin boxes, because of the outlines handling specificity (they are handled on renderer's parent level)
// TODO DEVSIX-1050: improve width/height calculation according to "5.3. Computing Page-margin Box Dimensions", take into account height and width properties
0 commit comments