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
* `EmojiShortcutType.ANY_EMOJI_CHEAT_SHEET_PREFERRED` use any shortcut from any source. If
281
+
image type options is not `UNICODE_ONLY`, will generate links to Emoji Cheat Sheet files
282
+
or GitHub URL, with preference given to Emoji Cheat Sheet files.
283
+
* `EmojiShortcutType.ANY_GITHUB_PREFERRED` - use any shortcut from any source. If image type
284
+
options is not `UNICODE_ONLY`, will generate links to Emoji Cheat Sheet files or GitHub
285
+
URL, with preference given to GitHub URL.
286
+
* Add: `EmojiExtension.USE_IMAGE_TYPE`, default `EmojiImageType.IMAGE_ONLY`, to select what
287
+
type of images are allowed.
288
+
* `EmojiImageType.IMAGE_ONLY`, only use image link
289
+
* `EmojiImageType.UNICODE_ONLY` convert to unicode and if there is no unicode treat as
290
+
invalid emoji shortcut
291
+
* `EmojiImageType.UNICODE_FALLBACK_TO_IMAGE` convert to unicode and if no unicode use image.
292
+
293
+
* Add: Emoji Extension support to DocxRenderer.
294
+
* Add: Emoji Cheat Sheet images to resources in DocxRender jar, default configuration will
295
+
resolve emoji image files to the files in the jar.
296
+
* Add: `DocxRenderer.DOC_EMOJI_IMAGE_VERT_OFFSET`, default `-0.1`, vertical offset of emoji
297
+
image as a factor of line height at point of insertion. The final value is rounded to nearest
298
+
pt so jumps of 1 pt for small changes of this value can occur.
299
+
* Add: `DocxRenderer.DOC_EMOJI_IMAGE_VERT_SIZE`, default `1.05`, size of emoji image as a factor
300
+
of line height at point of insertion.
246
301
247
302
0.30.0
248
303
------
249
304
250
305
* Fix: #198, StringIndexOutOfBoundsException, in `AbbreviationExtension` if abbreviation
251
306
definition had an empty abbreviation.
252
307
253
-
* API Change: Refactoring of Interfaces to allow extensions only providing link resolver, attribute
254
-
provider and html id generator to be re-used by the `DocxRenderer` and `HtmlRenderer` without
255
-
modifications other than changing the `implemented` extension from
308
+
* API Change: Refactoring of Interfaces to allow extensions only providing link resolver,
309
+
attribute provider and html id generator to be re-used by the `DocxRenderer` and
310
+
`HtmlRenderer` without modifications other than changing the `implemented` extension from
256
311
`HtmlRenderer.HtmlRendererExtension` to `RendererExtension`
257
312
258
-
* `AttributesProviderFactory` pass only `LinkResolverContext` instead
259
-
of `NodeRenderingContext` to allow for attribute provider extensions to be re-used with
313
+
* `AttributesProviderFactory` pass only `LinkResolverContext` instead of
314
+
`NodeRenderingContext` to allow for attribute provider extensions to be re-used with
260
315
`DocxRender`
261
316
* `HeadIdGenerator` pass only `LinkResolverContext` instead of `NodeRenderingContext` to allow
262
317
for header id generator provider extensions to be re-used with `DocxRender`
263
318
* new `RendererExtension` with only ability to register html id generator, link resolver and
264
319
attribute provider. Such an extension can be used as is with `HtmlRenderer` and
265
320
`DocxRenderer`
266
321
267
-
`RendererExtension.extend(RendererBuilder, String)` method of these gets passed `RendererBuilder` instead of `HtmlRenderer.Builder`
322
+
`RendererExtension.extend(RendererBuilder, String)` method of these gets passed
323
+
`RendererBuilder` instead of `HtmlRenderer.Builder`
268
324
269
325
extensions that implement both `RendererExtension` and `HtmlRendererExtension` will have
270
326
only have the html renderer extension `extend` method called.
@@ -278,11 +334,11 @@ flexmark-java
278
334
the 8 named colors used by Word or it might complain.
279
335
280
336
* Add: `DocxRenderer.LOCAL_HYPERLINK_MISSING_FORMAT`, default `"Missing target id: #%s"` to
281
-
change the tooltip text of the missing hyperlink. `%s` will be replaced with the reference id of
282
-
the link.
337
+
change the tooltip text of the missing hyperlink. `%s` will be replaced with the reference id
338
+
of the link.
283
339
284
-
* Fix: DocxConverter self referencing ref anchors should be converted to bookmark references in the
285
-
docx
340
+
* Fix: DocxConverter self referencing ref anchors should be converted to bookmark references in
341
+
the docx
286
342
287
343
* Add: DocxConverter now supports `AttributesExtension` and `EnumeratedReferenceExtension` by
288
344
converting id attributes to bookmarks and enumerated reference links to hyperlinks to
@@ -293,7 +349,8 @@ flexmark-java
293
349
294
350
* Add: Enumerated links now have title set to the text value of the reference.
295
351
296
-
* Add: DocxConverter options to control heading id generation to resolve anchor refs to document anchors
352
+
* Add: DocxConverter options to control heading id generation to resolve anchor refs to document
353
+
anchors
297
354
* `DocxRenderer.HTML_ID_GENERATOR`, default `HtmlIdGenerator instance`, the id generator to
298
355
use for generating heading ids.
299
356
@@ -306,11 +363,14 @@ flexmark-java
306
363
first heading of the document and any hyperlinks to it.
307
364
-->
308
365
309
-
For convenience these `HtmlRenderer` keys are aliased through `DocxRenderer`, keep in mind
310
-
that setting either will affect both keys. For information on these keys see [`HtmlRenderer` options](https://github.com/vsch/flexmark-java/wiki/Extensions#renderer)
0 commit comments