summaryrefslogtreecommitdiff
path: root/writerperfect/CppunitTest_writerperfect_epubexport.mk
AgeCommit message (Collapse)Author
2017-09-07EPUB export: handle nested spansMiklos Vajna
ODT export uses nested spans to represent a combination of named character style + automatic style (instead of having a parent for the automatic style), but librevenge doesn't allow nested spans, so handle this explicitly. The alternative would have been to remember the attribute list as member data, but the underlying SvXMLAttributeList is reused after startElement() returns, so it by the time characters() is invoked, it won't have the data we need anymore. (Would be a trade-off between doing the attributes -> property list conversion exactly once or depending the number of characters() invocation anyway.) Change-Id: I1dd2f060c421c126340db471a257093b30431d17 Reviewed-on: https://gerrit.libreoffice.org/42046 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-08-25EPUB export: allow custom split methodMiklos Vajna
Default is split on heading, but this allows e.g. split on page break instead. Change-Id: Ie392fc76f91d60029c7e5f2a0adc55cb18f6157d Reviewed-on: https://gerrit.libreoffice.org/41577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-25EPUB export: allow setting a custom versionMiklos Vajna
By parsing the FilterData key of the media descriptor, similar to how the PDF export does it. The default is still EPUB3, but this now exposes the ability of libepubgen to emit EPUB2 if wanted. Change-Id: I23834fa28db9b01ef4cce4a142331b1cc9ecb3c2 Reviewed-on: https://gerrit.libreoffice.org/41566 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-08-24Add initial CppunitTest_writerperfect_epubexportMiklos Vajna
Fails with the writerperfect/source/writer/exp/txtparai.cxx part of commit b6f39c47fb477f16c65631523b0c18b4f262fadf (EPUB export: initial index support, 2017-08-15) reverted. Change-Id: I56457b3e3b312682e4c83ea08dbd459ca42152ef Reviewed-on: https://gerrit.libreoffice.org/41518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>