summaryrefslogtreecommitdiff
path: root/to-wiki
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@gnome.hu>2016-12-04 23:25:22 +0100
committerAndras Timar <andras.timar@collabora.com>2016-12-14 22:13:35 +0000
commit7de8eed8b1b908c9e37f6e2499f37768a2354d27 (patch)
tree308fce916912ee1bc40449bda13b16090f1dfe85 /to-wiki
parent96a84b25e3ae012661a68da1ecdbbf0d94089d9b (diff)
Handle 'acronym' item type
This was throwing an exception and not generating a wiki page Format with a simple italic text for now - better ideas welcome! Change-Id: I1b08c6b6dd2e96eef3cac4808fe23f911dc06cd3 Reviewed-on: https://gerrit.libreoffice.org/31609 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'to-wiki')
-rwxr-xr-xto-wiki/wikiconv2.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py
index b239419293..1910828616 100755
--- a/to-wiki/wikiconv2.py
+++ b/to-wiki/wikiconv2.py
@@ -996,7 +996,8 @@ class Switch(SwitchInline):
class Item(ElementBase):
replace_type = \
- {'start':{'code': '<code>',
+ {'start':{'acronym' : '\'\'',
+ 'code': '<code>',
'input': '<code>',
'keycode': '{{KeyCode|',
'tasto': '{{KeyCode|',
@@ -1008,7 +1009,8 @@ class Item(ElementBase):
'productname': '',
'unknown': '<code>'
},
- 'end':{'code': '</code>',
+ 'end':{'acronym' : '\'\'',
+ 'code': '</code>',
'input': '</code>',
'keycode': '}}',
'tasto': '}}',
@@ -1020,7 +1022,8 @@ class Item(ElementBase):
'productname': '',
'unknown': '</code>'
},
- 'templ':{'code': False,
+ 'templ':{'acronym': False,
+ 'code': False,
'input': False,
'keycode': True,
'tasto': True,
6 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/svx/sdmetitm.hxx
AgeCommit message (Expand)Author
2017-08-14Removing unused SfxItemPool serialisation from svxVarun Dhall
2017-07-31make IntlWrapper arg to GetPresentation non-implicit and non-optionalCaolán McNamara
2016-08-19Resolves: coverity#705366 Mixing enum typesCaolán McNamara
2016-05-19loplugin:unusedmethods in svxNoel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2016-01-13loplugin:unusedmethods unused return value in include/svlNoel Grandin
2015-11-115th step to remove tools/rtti.hxxOliver Specht
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2014-11-21More fixes after SdrMetricItem changesStephan Bergmann
2014-07-29simplify return argument of SfxPoolItem::GetPresentationNoel Grandin
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
2014-03-26Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann
2014-03-01Remove visual noise from includeAlexander Wilms
2013-11-09fdo#65108 inter-module includes <> include/svxNorbert Thiebaud
2013-10-23fixincludeguards.sh: include/svxThomas Arnhold