@@ -50,112 +50,158 @@ public final class Html2PdfLogMessageConstant {
50
50
/** The Constant CANNOT_RESOLVE_TARGET_COUNTER_VALUE. */
51
51
public static final String CANNOT_RESOLVE_TARGET_COUNTER_VALUE
52
52
= "Cannot resolve target-counter value with given target \" {0}\" " ;
53
+
53
54
/** The Constant CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT. */
54
- public static final String CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT = "A custom renderer which doesn't extend " +
55
- "HtmlDocumentRenderer is set for HtmlDocument. Counters and target-counters may be displayed incorrectly." ;
55
+ public static final String CUSTOM_RENDERER_IS_SET_FOR_HTML_DOCUMENT =
56
+ "A custom renderer which doesn't extend HtmlDocumentRenderer is set for HtmlDocument. Counters and "
57
+ + "target-counters may be displayed incorrectly." ;
58
+
56
59
/** The Constant ACROFORM_NOT_SUPPORTED_FOR_SELECT. */
57
- public static final String ACROFORM_NOT_SUPPORTED_FOR_SELECT = "AcroForm fields creation for select fields "
58
- + "(ComboBoxField and ListBoxField) is not supported. They will be flattened instead." ;
59
- public static final String ANCHOR_LINK_NOT_HANDLED = "The anchor link was not handled. Could not create a "
60
- + "destination for element \" {0}\" with ID \" {1}\" , which is processed by \" {2}\" tag worker class." ;
60
+ public static final String ACROFORM_NOT_SUPPORTED_FOR_SELECT =
61
+ "AcroForm fields creation for select fields (ComboBoxField and ListBoxField) is not supported. They will "
62
+ + "be flattened instead." ;
63
+
64
+ public static final String ANCHOR_LINK_NOT_HANDLED =
65
+ "The anchor link was not handled. Could not create a destination for element \" {0}\" with ID \" {1}\" , "
66
+ + "which is processed by \" {2}\" tag worker class." ;
67
+
61
68
/** The Constant CONTENT_PROPERTY_INVALID. */
62
- public static final String CONTENT_PROPERTY_INVALID = "Content property \" {0}\" is either invalid or uses "
63
- + "unsupported function." ;
69
+ public static final String CONTENT_PROPERTY_INVALID =
70
+ "Content property \" {0}\" is either invalid or uses unsupported function." ;
71
+
64
72
/** The Constant CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED. */
65
73
public static final String CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED = "Css property {0} in percents is not supported" ;
66
- public static final String DEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN = "Default value of the css property \" {0}\" "
67
- + "is unknown." ;
74
+
75
+ public static final String DEFAULT_VALUE_OF_CSS_PROPERTY_UNKNOWN =
76
+ "Default value of the css property \" {0}\" is unknown." ;
77
+
68
78
/** The Constant ERROR_LOADING_FONT. */
69
79
public static final String ERROR_LOADING_FONT = "Error while loading font" ;
80
+
70
81
/** The Constant ERROR_PARSING_CSS_SELECTOR. */
71
82
public static final String ERROR_PARSING_CSS_SELECTOR = "Error while parsing css selector: {0}" ;
83
+
72
84
/** The Constant ERROR_RESOLVING_PARENT_STYLES. */
73
- public static final String ERROR_RESOLVING_PARENT_STYLES = "Element parent styles are not resolved. Styles "
74
- + "for current element might be incorrect." ;
85
+ public static final String ERROR_RESOLVING_PARENT_STYLES =
86
+ "Element parent styles are not resolved. Styles for current element might be incorrect." ;
87
+
75
88
/** The Constant ERROR_WHILE_LAYOUT_OF_FORM_FIELD. */
76
- public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD = "Cannot layout form field field. It won't "
77
- + "be displayed" ;
89
+ public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD =
90
+ "Cannot layout form field field. It won't be displayed" ;
91
+
78
92
/** The Constant EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS. */
79
- public static final String EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS = "Exceeded the maximum number of relayouts. " +
80
- "The resultant document may look not as expected. " +
81
- "Because of the content being dynamic iText performs several relayouts to produce correct document." ;
93
+ public static final String EXCEEDED_THE_MAXIMUM_NUMBER_OF_RELAYOUTS =
94
+ "Exceeded the maximum number of relayouts. The resultant document may look not as expected. Because of the"
95
+ + " content being dynamic iText performs several relayouts to produce correct document." ;
96
+
82
97
/** The constant FLEX_PROPERTY_IS_NOT_SUPPORTED_YET. */
83
98
public static final String FLEX_PROPERTY_IS_NOT_SUPPORTED_YET =
84
99
"Flex related property {0}: {1} is not supported yet." ;
100
+
85
101
/** The Constant ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE. */
86
- public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE = "Error during layout of form filed "
87
- + "with type {0}." ;
102
+ public static final String ERROR_WHILE_LAYOUT_OF_FORM_FIELD_WITH_TYPE =
103
+ "Error during layout of form filed with type {0}." ;
104
+
88
105
/** The Constant INPUT_FIELD_DOES_NOT_FIT. */
89
106
public static final String INPUT_FIELD_DOES_NOT_FIT = "Input field doesn't fit in outer object. It will be clipped" ;
107
+
90
108
/** The Constant INPUT_TYPE_IS_INVALID. */
91
- public static final String INPUT_TYPE_IS_INVALID = "Input type {0} is invalid. The default text type "
92
- + "will be used instead." ;
109
+ public static final String INPUT_TYPE_IS_INVALID =
110
+ "Input type {0} is invalid. The default text type will be used instead." ;
111
+
93
112
/** The Constant INPUT_TYPE_IS_NOT_SUPPORTED. */
94
113
public static final String INPUT_TYPE_IS_NOT_SUPPORTED = "Input type {0} is not supported" ;
114
+
95
115
/** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
96
116
public static final String INVALID_CSS_PROPERTY_DECLARATION = "Invalid css property declaration: {0}" ;
117
+
97
118
/** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
98
119
public static final String INVALID_GRADIENT_DECLARATION = "Invalid gradient declaration: {0}" ;
120
+
99
121
/** The Constant MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED. */
100
122
public static final String MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED = "Margin value in percents not supported" ;
123
+
101
124
/** The Constant NOT_SUPPORTED_LIST_STYLE_TYPE. */
102
125
public static final String NOT_SUPPORTED_LIST_STYLE_TYPE = "Not supported list style type: {0}" ;
126
+
103
127
/** The Constant NOT_SUPPORTED_TH_SCOPE_TYPE. */
104
- public static final String NOT_SUPPORTED_TH_SCOPE_TYPE = "Not supported th scope type: {0}. Document "
105
- + "may not be compliant with PDF/UA standards." ;
128
+ public static final String NOT_SUPPORTED_TH_SCOPE_TYPE =
129
+ "Not supported th scope type: {0}. Document may not be compliant with PDF/UA standards." ;
130
+
106
131
/** The Constant NO_CONSUMER_FOUND_FOR_CONTENT. */
107
132
public static final String NO_CONSUMER_FOUND_FOR_CONTENT = "No consumer found for content" ;
133
+
108
134
/** The Constant NO_CSS_APPLIER_FOUND_FOR_TAG. */
109
135
public static final String NO_CSS_APPLIER_FOUND_FOR_TAG = "No css applier found for tag {0}" ;
136
+
110
137
/** The Constant NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG. */
111
- public static final String NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG = "Tag worker does not produce "
112
- + "IPropertyContainer for \" {0}\" tag. An outline for \" {0}\" tag will not be created." ;
138
+ public static final String NO_IPROPERTYCONTAINER_RESULT_FOR_THE_TAG =
139
+ "Tag worker does not produce IPropertyContainer for \" {0}\" tag. An outline for \" {0}\" tag will not be "
140
+ + "created." ;
141
+
113
142
/** The Constant NO_WORKER_FOUND_FOR_TAG. */
114
143
public static final String NO_WORKER_FOUND_FOR_TAG = "No worker found for tag {0}" ;
144
+
115
145
/** The Constant PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED. */
116
146
public static final String PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED = "Padding value in percents not supported" ;
117
- public static final String PAGE_MARGIN_BOX_CONTENT_CANNOT_BE_DRAWN = "Page margin box {0} content cannot be "
118
- + "drawn." ;
119
- public static final String PAGE_MARGIN_BOX_SOME_PROPERTIES_NOT_PROCESSED = "Page margin box margin, padding, "
120
- + "height and width properties are not processed. Passed styles container shall be of "
121
- + "PageMarginBoxContextNode type." ;
147
+
148
+ public static final String PAGE_MARGIN_BOX_CONTENT_CANNOT_BE_DRAWN = "Page margin box {0} content cannot be drawn." ;
149
+
150
+ public static final String PAGE_MARGIN_BOX_SOME_PROPERTIES_NOT_PROCESSED =
151
+ "Page margin box margin, padding, height and width properties are not processed. Passed styles container "
152
+ + "shall be of PageMarginBoxContextNode type." ;
153
+
122
154
/** The Constant PAGE_SIZE_VALUE_IS_INVALID. */
123
155
public static final String PAGE_SIZE_VALUE_IS_INVALID = "Page size value {0} is invalid." ;
156
+
124
157
/** The Constant PDF_DOCUMENT_NOT_PRESENT. */
125
158
public static final String PDF_DOCUMENT_NOT_PRESENT = "PdfDocument is not present" ;
159
+
126
160
/** The Constant QUOTES_PROPERTY_INVALID. */
127
- public static final String QUOTES_PROPERTY_INVALID = "Quote property \" {0}\" is invalid. It should contain even "
128
- + "number of <string> values." ;
161
+ public static final String QUOTES_PROPERTY_INVALID =
162
+ "Quote property \" {0}\" is invalid. It should contain even number of <string> values." ;
163
+
129
164
/** The Constant TEXT_DECORATION_BLINK_NOT_SUPPORTED. */
130
165
public static final String TEXT_DECORATION_BLINK_NOT_SUPPORTED = "text-decoration: blink not supported" ;
166
+
131
167
/** The Constant HSL_COLOR_NOT_SUPPORTED. */
132
168
public static final String HSL_COLOR_NOT_SUPPORTED = "Hsl colors are not supported" ;
169
+
133
170
/** The Constant UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE. */
134
171
public static final String UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE = "Unable to process external css file" ;
135
- /** The Constant UNABLE_TO_PROCESS_SVG */
172
+
173
+ /** The Constant UNABLE_TO_PROCESS_SVG. */
136
174
public static final String UNABLE_TO_PROCESS_SVG_ELEMENT = "Unable to process an SVG element" ;
175
+
137
176
/** The Constant UNABLE_TO_RESOLVE_COUNTER. */
138
177
public static final String UNABLE_TO_RESOLVE_COUNTER = "Unable to resolve counter \" {0}\" " ;
178
+
139
179
/** The Constant UNABLE_TO_RETRIEVE_FONT. */
140
180
public static final String UNABLE_TO_RETRIEVE_FONT = "Unable to retrieve font:\n {0}" ;
181
+
141
182
/** The Constant UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI. */
142
- public static final String UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI = "Unable to retrieve image with given "
143
- + "base URI ({0}) and image source path ({1})" ;
183
+ public static final String UNABLE_TO_RETRIEVE_IMAGE_WITH_GIVEN_BASE_URI =
184
+ "Unable to retrieve image with given base URI ({0}) and image source path ({1})" ;
185
+
144
186
/** The Constant UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI. */
145
- public static final String UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI = "Unable to retrieve stream with given "
146
- + "base URI ({0}) and source path ({1})" ;
187
+ public static final String UNABLE_TO_RETRIEVE_STREAM_WITH_GIVEN_BASE_URI =
188
+ "Unable to retrieve stream with given base URI ({0}) and source path ({1})" ;
189
+
147
190
/** The Constant UNEXPECTED_VALUE_OF_OBJECT_FIT_PROPERTY. */
148
191
public static final String UNEXPECTED_VALUE_OF_OBJECT_FIT =
149
192
"Unexpected value of object-fit property: {0}. Will be processed as default" ;
193
+
150
194
/** The Constant UNKNOWN_MARGIN_BOX_CHILD. */
151
195
public static final String UNKNOWN_MARGIN_BOX_CHILD = "Unknown margin box child" ;
196
+
152
197
/** The Constant WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT. */
153
- public static final String WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT = "Worker of type {0} unable to process "
154
- + "it`s text content" ;
198
+ public static final String WORKER_UNABLE_TO_PROCESS_IT_S_TEXT_CONTENT =
199
+ "Worker of type {0} unable to process it`s text content" ;
200
+
155
201
/** The Constant WORKER_UNABLE_TO_PROCESS_OTHER_WORKER. */
156
202
public static final String WORKER_UNABLE_TO_PROCESS_OTHER_WORKER = "Worker of type {0} unable to process {1}" ;
157
203
158
204
private Html2PdfLogMessageConstant () {
205
+ //Private constructor will prevent the instantiation of this class directly
159
206
}
160
-
161
207
}
0 commit comments