summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-16 12:35:49 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-16 12:35:49 +0200
commitce1ac1ba801d6f09ec028838d5fed863ffce6a9a (patch)
tree7e7e25f9480130f8f479efe5a0396c41eadb6a0f /src/gmdocument.h
parentee495092d59f5d5cda9491ebdaa7ef7f107341a3 (diff)
Translation: More reliable markup preservation
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index 98eef152..05c6da09 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -34,6 +34,21 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
34iDeclareType(GmHeading) 34iDeclareType(GmHeading)
35iDeclareType(GmRun) 35iDeclareType(GmRun)
36 36
37enum iGmLineType {
38 text_GmLineType,
39 bullet_GmLineType,
40 preformatted_GmLineType,
41 quote_GmLineType,
42 heading1_GmLineType,
43 heading2_GmLineType,
44 heading3_GmLineType,
45 link_GmLineType,
46 max_GmLineType,
47};
48
49enum iGmLineType lineType_Rangecc (const iRangecc line);
50void trimLine_Rangecc (iRangecc *line, enum iGmLineType type, iBool normalize);
51
37enum iGmDocumentTheme { 52enum iGmDocumentTheme {
38 colorfulDark_GmDocumentTheme, 53 colorfulDark_GmDocumentTheme,
39 colorfulLight_GmDocumentTheme, 54 colorfulLight_GmDocumentTheme,