diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-08-26 11:05:04 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-08-26 19:32:50 +0000 |
commit | dbce1c855a9a8a61f1636b1e37bd83e176eb8e2a (patch) | |
tree | 1b1d59990d1a7e6deef3412531e79c909892a620 /include | |
parent | 4760c79afe37eaa95a93f3e8ad0a2775c86359dd (diff) |
bnc#834035 DOCX export: fix hyperlinks of illustration index
We used to export raw Writer bookmarks, but that's not valid in OOXML.
Instead, it has normal bookmarks around the sequence fields, so use them
if they are available.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
(cherry picked from commits 750f0ebf97d19d1cf305dabe72d52ad6e90adf70,
e9275c08acc2f4f1c925f78b56a1089515cd9a37 and
8f146a8042dd8f3c88f39f8317372cd9c02ce4ad)
Change-Id: I0ef2ff7967c2802b53752c9505ef6db4cc2b8265
Reviewed-on: https://gerrit.libreoffice.org/5635
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/util.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx index e13419905a0f..38cdf56e7df2 100644 --- a/include/filter/msfilter/util.hxx +++ b/include/filter/msfilter/util.hxx @@ -88,6 +88,13 @@ public: static sal_Int32 getMSPaperSizeIndex( const com::sun::star::awt::Size& rSize ); static const ApiPaperSize& getApiSizeForMSPaperSizeIndex( sal_Int32 nMSOPaperIndex ); }; + +/** + * Finds the quoted text in a field instruction text. + * + * Example: SEQ "Figure" \someoption -> "Figure" + */ +MSFILTER_DLLPUBLIC OUString findQuotedText( const OUString& rCommand, const sal_Char* cStartQuote, const sal_Unicode uEndQuote ); } } |