@@ -50,112 +50,158 @@ public final class Html2PdfLogMessageConstant {
5050 /** The Constant CANNOT_RESOLVE_TARGET_COUNTER_VALUE. */
5151 public static final String CANNOT_RESOLVE_TARGET_COUNTER_VALUE
5252 = "Cannot resolve target-counter value with given target \" {0}\" " ;
53+
5354 /** 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+
5659 /** 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+
6168 /** 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+
6472 /** The Constant CSS_PROPERTY_IN_PERCENTS_NOT_SUPPORTED. */
6573 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+
6878 /** The Constant ERROR_LOADING_FONT. */
6979 public static final String ERROR_LOADING_FONT = "Error while loading font" ;
80+
7081 /** The Constant ERROR_PARSING_CSS_SELECTOR. */
7182 public static final String ERROR_PARSING_CSS_SELECTOR = "Error while parsing css selector: {0}" ;
83+
7284 /** 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+
7588 /** 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+
7892 /** 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+
8297 /** The constant FLEX_PROPERTY_IS_NOT_SUPPORTED_YET. */
8398 public static final String FLEX_PROPERTY_IS_NOT_SUPPORTED_YET =
8499 "Flex related property {0}: {1} is not supported yet." ;
100+
85101 /** 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+
88105 /** The Constant INPUT_FIELD_DOES_NOT_FIT. */
89106 public static final String INPUT_FIELD_DOES_NOT_FIT = "Input field doesn't fit in outer object. It will be clipped" ;
107+
90108 /** 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+
93112 /** The Constant INPUT_TYPE_IS_NOT_SUPPORTED. */
94113 public static final String INPUT_TYPE_IS_NOT_SUPPORTED = "Input type {0} is not supported" ;
114+
95115 /** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
96116 public static final String INVALID_CSS_PROPERTY_DECLARATION = "Invalid css property declaration: {0}" ;
117+
97118 /** The Constant INVALID_CSS_PROPERTY_DECLARATION. */
98119 public static final String INVALID_GRADIENT_DECLARATION = "Invalid gradient declaration: {0}" ;
120+
99121 /** The Constant MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED. */
100122 public static final String MARGIN_VALUE_IN_PERCENT_NOT_SUPPORTED = "Margin value in percents not supported" ;
123+
101124 /** The Constant NOT_SUPPORTED_LIST_STYLE_TYPE. */
102125 public static final String NOT_SUPPORTED_LIST_STYLE_TYPE = "Not supported list style type: {0}" ;
126+
103127 /** 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+
106131 /** The Constant NO_CONSUMER_FOUND_FOR_CONTENT. */
107132 public static final String NO_CONSUMER_FOUND_FOR_CONTENT = "No consumer found for content" ;
133+
108134 /** The Constant NO_CSS_APPLIER_FOUND_FOR_TAG. */
109135 public static final String NO_CSS_APPLIER_FOUND_FOR_TAG = "No css applier found for tag {0}" ;
136+
110137 /** 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+
113142 /** The Constant NO_WORKER_FOUND_FOR_TAG. */
114143 public static final String NO_WORKER_FOUND_FOR_TAG = "No worker found for tag {0}" ;
144+
115145 /** The Constant PADDING_VALUE_IN_PERCENT_NOT_SUPPORTED. */
116146 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+
122154 /** The Constant PAGE_SIZE_VALUE_IS_INVALID. */
123155 public static final String PAGE_SIZE_VALUE_IS_INVALID = "Page size value {0} is invalid." ;
156+
124157 /** The Constant PDF_DOCUMENT_NOT_PRESENT. */
125158 public static final String PDF_DOCUMENT_NOT_PRESENT = "PdfDocument is not present" ;
159+
126160 /** 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+
129164 /** The Constant TEXT_DECORATION_BLINK_NOT_SUPPORTED. */
130165 public static final String TEXT_DECORATION_BLINK_NOT_SUPPORTED = "text-decoration: blink not supported" ;
166+
131167 /** The Constant HSL_COLOR_NOT_SUPPORTED. */
132168 public static final String HSL_COLOR_NOT_SUPPORTED = "Hsl colors are not supported" ;
169+
133170 /** The Constant UNABLE_TO_PROCESS_EXTERNAL_CSS_FILE. */
134171 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. */
136174 public static final String UNABLE_TO_PROCESS_SVG_ELEMENT = "Unable to process an SVG element" ;
175+
137176 /** The Constant UNABLE_TO_RESOLVE_COUNTER. */
138177 public static final String UNABLE_TO_RESOLVE_COUNTER = "Unable to resolve counter \" {0}\" " ;
178+
139179 /** The Constant UNABLE_TO_RETRIEVE_FONT. */
140180 public static final String UNABLE_TO_RETRIEVE_FONT = "Unable to retrieve font:\n {0}" ;
181+
141182 /** 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+
144186 /** 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+
147190 /** The Constant UNEXPECTED_VALUE_OF_OBJECT_FIT_PROPERTY. */
148191 public static final String UNEXPECTED_VALUE_OF_OBJECT_FIT =
149192 "Unexpected value of object-fit property: {0}. Will be processed as default" ;
193+
150194 /** The Constant UNKNOWN_MARGIN_BOX_CHILD. */
151195 public static final String UNKNOWN_MARGIN_BOX_CHILD = "Unknown margin box child" ;
196+
152197 /** 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+
155201 /** The Constant WORKER_UNABLE_TO_PROCESS_OTHER_WORKER. */
156202 public static final String WORKER_UNABLE_TO_PROCESS_OTHER_WORKER = "Worker of type {0} unable to process {1}" ;
157203
158204 private Html2PdfLogMessageConstant () {
205+ //Private constructor will prevent the instantiation of this class directly
159206 }
160-
161207}
0 commit comments