summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
AgeCommit message (Collapse)Author
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: If8783896136470a0664f1cbac061e30576ef96a4
2015-03-16tdf#89361 Remove remnants of Gopher supportAdolfo Jayme Barrientos
Change-Id: Ib2038a43b0d49a525199329a2c79d5779f5322fa Reviewed-on: https://gerrit.libreoffice.org/14471 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-20Some more loplugin:cstylecast: svtoolsStephan Bergmann
Change-Id: I8d8b48b297fa3ce0bb9a81dd396cbdb253b84a80
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2014-12-18svtools: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: Ifa7ea9bf840cacb701dd4b5fb0904870bc3cf407
2014-12-12svtools: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I8799033322d345b2f146c3577d3d264448252816
2014-11-27don't access contents of empty string, e.g. with kde96709-1.htmlCaolán McNamara
Change-Id: Ifa6db0dc7b5c67b65c5bc17c16fb3a61793c833a
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-05markup with event type not checker typeCaolán McNamara
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-10-30document array_vs_singleton dismissalsCaolán McNamara
Change-Id: I8d7eb4c01197e885abca717c7814c61a7641ac9d
2014-10-23callcatcher: lots more unused post ww1 filter removalCaolán McNamara
Change-Id: I7bf6dc1d366093e797a19a8e555103c15b311ac8
2014-10-03rename SvRef::AddRef to AddFirstRefNoel Grandin
to make it's intended purpose clearly distinguishable from AddNextRef Change-Id: I5da780b48b19fd873667b648031bc394113f953b Reviewed-on: https://gerrit.libreoffice.org/11763 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01fdo#82577: Handle TimeNoel Grandin
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-30Some glue for using std::unique_ptr with the Boost Pointer Container LibraryStephan Bergmann
Change-Id: Ie975e963ed64fb96542a9771f85eef72d8266496
2014-09-29MSVC 2012 apparently isn't ready yet for std::vector<std::unique_ptr<T>>Stephan Bergmann
...producing error messages about trying to access private undefined unique_ptr copy ctor etc. Partial revert of 014e7933af751bfe0a03867373b82efa806f3a3d "svtools: std::auto_ptr -> std::unique_ptr: ...changing HTMLOptions to std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr," going the awkward std::unique_ptr x(...); push_back(x.get()); x.release(); route instead (which could be simplified if boost::ptr_vector::push_back ever started to support unique_ptr). Change-Id: I15693030a0bbfdedbfdfbe76ede5d0c74f4e5b41
2014-09-29svtools: std::auto_ptr -> std::unique_ptrStephan Bergmann
...changing HTMLOptions to std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr. Change-Id: Ie5f92bc40ce5425dc1c634b17addc2b0dd9bbda3
2014-09-29loplugin: cstylecastNoel Grandin
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
2014-09-22html: add applyEvents to HTML outputTomaž Vajngerl
Change-Id: I8cc2d752673254c0f23f63030a8fa7d4d288c0a9
2014-09-22Extend HTMLWriter: flush the stack, more values for attribute(..)Tomaž Vajngerl
Change-Id: I733426ba5f82ee25751387f88942dbc66689821d
2014-06-05coverity#1103688 Missing break in switch, assuming its intentionalCaolán McNamara
Change-Id: I9b619e4896d811c2fbb20e229f65bfa01bd05731
2014-06-04compareTo -> equalsNoel Grandin
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-05-11fix-includes.pl: svtoolsThomas Arnhold
Change-Id: I509299306ab6cd97c96e9a26d4674f983bbffbec
2014-04-06WaE: passing OString by value, rather pass by referenceTor Lillqvist
Change-Id: I41a318b8376ae3e68701ffe6ebc745bdbec62dc8
2014-04-06Add HtmlWriterHelper to svtools.Tomaž Vajngerl
Change-Id: I4d96402cc0fa86d83fe0ade314b84bff86d7db97
2014-04-06HtmlWriter: add prettyPrint option, instance variablesTomaž Vajngerl
Change-Id: I6a29e91cc2f328ccbd01b617b39dc9275332d1f0
2014-04-06svtools: make HTMLOutFuncs::Out_AsciiTag clearer.Tomaž Vajngerl
Change-Id: I89d72383a50707aa8cb958eaea916e8070cfcd82
2014-04-06svtools: HtmlWriter - for writing HTML structure to a streamTomaž Vajngerl
HtmlWriter is used to write the structure of a HTML document to a stream. The goal is to abstract the messy construction of strings when writing attributes of a html element and other HTML specifics needed when structuring a HTML document. Change-Id: Ibdf42914e43ef02f16a43e4230575ed7340e68d8
2014-04-01coverity#735505 Logically dead codeCaolán McNamara
Change-Id: I7e7abf9192ee34c9f1c2080268751503aae90e55
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I288a5c8b86d21a1b91f464aaf162aed9aca35a42
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I35c9c1514c67860e61b6e2457ab4548d04a4d159
2014-03-08switch: ungroup two case which perform different operationsMatteo Casalin
Change-Id: I099501a596ebeb2820192d08de80eae342191bb7
2014-02-25Remove visual noise from svtoolsAlexander Wilms
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d Reviewed-on: https://gerrit.libreoffice.org/8320 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21html: Make GetColor() working in lower case.Jan Holesovsky
To be consistent with the rest that works in lower case now. Change-Id: I6fe40e71393230bbde8e283b1f98479bf644c610
2014-02-21html: Lowercase the html colors, and make the comparison more robust.Jan Holesovsky
Change-Id: I5fb3b1c8ea3692864707489ff9a82b78c5647d4a
2014-02-21fdo#74584: complete revert various previous changes to upcase HTML tagsCaolán McNamara
f1f8b3bfdc3406ea79b662a2fda3d0c1cb87bb10 says it reverts commit 3c84fa61570113d1dfb2523ab88f268eeeb46c3c. commit 96a1f60aeb2a7954533da9b4aa4947efb7a65e70. commit 1f74a3ce201bad68f160584900285e2c087ab2c0. commit 3d481254a07fe82d11953f9825a2f8fc6eeabc0b. but only reverted 3d481254a07fe82d11953f9825a2f8fc6eeabc0b Change-Id: I0530bd0b176b1f1e9bbf8eee78376991c664a850
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20fdo#74584: Revert "fix html tests"Michael Stahl
This reverts commit 277922e7a0a4ae8076c10936c4b12df6dcc5ddac. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: I32a390a3058e43bc3314b678e27c74036b90f200
2014-02-20fdo#74584: Revert "html: Options need to be lowercase, too"Michael Stahl
This reverts commit 700883b34ebcdb77f398b4423f358bdf4648a853. ...since 73e3aafa990168aa532fa7b81fc4de8f455b10e1 was reverted and sw_htmlexport test fails. Change-Id: Ia83705279e792a0c2375619b6a209e46a319fea7
2014-02-19fdo#74584: Upcase the tag name before searching.Kohei Yoshida
Else HTML import or detection code would fail. Change-Id: Id79e8eac87d8001527f068f8fd49636353dc38d5
2014-02-19coverity#738865 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie6473e4a8c4b311b6862019046fb4ae9cf05e1fb
2014-02-12cid#1103689 missing break in switchNoel Grandin
Change-Id: I28338145fdd71ec25b9c6d291e445d35636e43a9
2014-02-12remove code in dead HTML_BEHAVIOUR #defineNoel Grandin
git grep found nowhere in the codebase that this define is being set. Change-Id: I63e18e8f47b5e58ff96b075ddb4bc9a36e1dc80e Reviewed-on: https://gerrit.libreoffice.org/8002 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-22convert more SvStream::operator<< callsNoel Grandin
.. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-14longparas: drop STRING_MAXLEN use nowCaolán McNamara
Change-Id: Iaaca13e732c234e9051be0ab66a7625f9c106eea
2014-01-10Use boolStephan Bergmann
Change-Id: I2f1c543b106e24ff49f876dbb3d8e94f4ebf03ba
2014-01-09Translated German commentsLuc Castermans
Reviewed on: https://gerrit.libreoffice.org/7303 Change-Id: I6c5f4571ad691d19ca93c39550000114f263da8b
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2013-11-27Unwind occurrences of deprecated sal_sChar, sal_uCharStephan Bergmann
Change-Id: I76be464200d486efef9c8a7e957c310c9adae3b8
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71