Commit Graph

20 Commits

Author SHA1 Message Date
Hugo de Paix de Coeur
c69948c78a Introduce global builder configuration .withAnchorPrefix
Introduce copy() method to easily duplicate builders with configuration
2016-02-18 19:00:41 +01:00
Hugo de Paix de Coeur
80ce77826e Introduce new sectionTitleWithAnchor* to allow users to create titles without anchor, with a custom anchor (will be normalized anyway), or with an auto-generated anchor. 2016-02-18 16:25:30 +01:00
Hugo de Paix de Coeur
3c4ccc8eae introduce forceLineBreak on all *Line methods 2016-02-18 15:12:49 +01:00
Hugo de Paix de Coeur
577c0a4f94 introduce text, italicText, boldText
remove *AsString builders, use a new MarkupDocBuilder with toString() method instead
2016-02-18 15:12:49 +01:00
Hugo de Paix de Coeur
f3d797c1a9 anchor normalization better manages beginning and ending escape characters, and intermediate punctuation 2016-02-17 13:52:39 +01:00
Hugo de Paix de Coeur
9f4d384221 fixed normalization and provided tests for normalization (finally) ! 2016-02-15 20:03:43 +01:00
Hugo de Paix de Coeur
60cba6d2b8 Ignore punctuation in normalizeAnchor
Added new functions to create sections with a custom anchor not directly derived from the title
2016-02-12 16:37:25 +01:00
Robert Winkler
882c673a0e [Bug] The document title must not have a anchor in front of it. 2016-02-12 11:28:26 +01:00
Hugo de Paix de Coeur
4719827fac fixed #9 Refactor anchor and cross-reference interface and implementation 2016-02-11 19:09:18 +01:00
Hugo de Paix de Coeur
337c8ba403 renamed crossReference -> crossReferenceAnchor and crossReferenceTitle -> crossReference as it's the default behavior
introduced addFilenameExtension (e.g. needed for inter-document cross-references)
fixed anchor normalization (support for ASCII characters in AsciiDoc)
Several workarounds with inter-document cross-references
Removed documentTitleWithAttributes as it's no use as-is
2016-02-10 12:13:32 +01:00
Hugo de Paix de Coeur
5b5a58ee7f Fixed inter-document cross-references 2016-02-08 16:01:08 +01:00
Hugo de Paix de Coeur
6ef0f8d28c fixed anchor normalization (again). Asciidoc anchor normalization differs between title and custom anchors => introducted crossReferenceTitle 2016-02-04 17:18:05 +01:00
Hugo de Paix de Coeur
1d06f41be8 Cleanups 2016-02-03 19:26:00 +01:00
Hugo de Paix de Coeur
c7fb29902f Renamed inline* to *AsString 2016-02-03 17:46:34 +01:00
Hugo de Paix de Coeur
0c136c2987 Introduce inline commands : inlineAnchor, inlineCrossReference for easier markup composition 2016-02-03 17:46:34 +01:00
Hugo de Paix de Coeur
74bd2b0d2e Enhanced support for tables 2016-02-03 17:46:34 +01:00
Hugo de Paix de Coeur
48c48ba56b Introduced new commands : anchor(anchor), crossReference(anchor, text)
Refactored writeToFile for robustness
Cleanups and fixes
2016-02-03 17:46:34 +01:00
Robert Winkler
4e61063106 Added method sectionTitleLevel4 2015-11-12 10:57:40 +01:00
Robert Winkler
e6dc1b63d0 Added Apache2 Copyright Header 2015-04-24 08:25:17 +02:00
Robert Winkler
3c1fbd6c3a Initial commit 2015-02-19 16:34:38 +01:00