summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfly.cxx
AgeCommit message (Collapse)Author
2018-11-19tdf#42949 Fix IWYU warnings in include/vcl/[ab]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: If18c80fc64e55d797953e24e40e5d5e62bd9c625 Reviewed-on: https://gerrit.libreoffice.org/63453 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-01-24Fix some IWYU warningsMiklos Vajna
Change-Id: I4b6e799c1afc2a762a3729ee89f3226c59a6eef8 Reviewed-on: https://gerrit.libreoffice.org/48462 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-23loplugin:includeform: swStephan Bergmann
Change-Id: Ifc3c4c31a31ee7189eeab6f1af30b94d64f2f92a
2017-04-27tdf#39468 Translate German comments in swJens Carl
Translate German comments and terms in sw/ Change-Id: Ie33ad4496f9aeb5c06612241779fba627a5d2876 Reviewed-on: https://gerrit.libreoffice.org/36926 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-03-20convert RndStdIds to scoped enumNoel Grandin
Change-Id: I029ad67dfcbc40f3953adf485957efcbd97f23d0 Reviewed-on: https://gerrit.libreoffice.org/35328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-25declaration of nAllFlags shadows a member of 'this' [-Werror=shadow]Noel Grandin
Change-Id: Ifb5adba642e777e5d515c6088c128d31778ecaff
2016-11-25convert HTML constants to scoped enums and typed_flagsNoel Grandin
Change-Id: Iaaede23c95d08016023fc419c83725f437eda080
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2014-04-06html: "using namespace css" missingTomaž Vajngerl
Change-Id: I06d0b77b374be004bf417480e5cc59c73e21bf60
2014-04-06sw html: split htmlfly to writer and class definition partTomaž Vajngerl
Change-Id: I2e0185827fa1edce607a45b87cf3a25438276c03
2014-03-24coverity#704985 Dereference after null checkCaolán McNamara
Change-Id: I9e7404ef15fe7c62aa51d1f5f4157f9f24ac7de5
2014-03-24svtools: sal_Bool->boolNoel Grandin
Change-Id: I35c9c1514c67860e61b6e2457ab4548d04a4d159
2014-02-27Remove visual noise from swAlexander Wilms
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-12fdo#66822 - refactor HTML export of image to bullet listTimothy Markle
Replaced src attribute with style attribute in <ul>. Removed invalid width, height, and align attributes. Removed two unused variables rSize and pVert. Change-Id: I40390bd02c7fb11a445da44d33492a59c8e6372c
2014-01-15Related: #i17171# big xub_Strlen -> sal_Int32 changesCaolán McNamara
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18converting remaining usage of String in SW to OUStringNoel Grandin
Change-Id: Iaaa3812412dc880eb9d08144219ebe428007884e
2013-10-18convert sw/source/filter/html/*.cxx from String to OUStringNoel Grandin
Change-Id: I2ec64f459dca9389d709ba0cdf20a5c1ef34ad18
2013-10-15convert sw/source/filter/html/*.hxx from String to OUStringNoel Grandin
Change-Id: Idb409a930b2f93fc862fdd62352c38365751bd34
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-12Simplify, and check _WIN32 instead of UNXTor Lillqvist
Change-Id: Id13d51388ecee3bee706510c2f22182e9e1f2d28
2013-10-07html export: export attributes with literalsThomas Arnhold
This improves validity of generated html files. Change-Id: I3fbf92e861d9a3931870e25beaaf9f91a469f40c
2013-10-06fdo#58912 HTML export: headers and footers cause non-validating htmlThomas Arnhold
Fix it by using harmless title. Change-Id: I238034a23f4a446c69dd3c1408ac5ccf038c73dd
2013-09-13String to OUStringThomas Arnhold
Change-Id: I14d6a7e4a53e65070357a2a5ceab3b25498a9fd4 Reviewed-on: https://gerrit.libreoffice.org/5933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-12Change String to OUString in some class and functions.Palenik Mihály
I changed String class to OUString class in the following: CSS1Selector, SvxCSS1PropertyInfo, SvxCSS1MapEntry, SwHTMLWrtTable, SwHTMLForm_Impl, HTMLTable classes, CSS1Expression, SwHTMLFootEndNote_Impl, HTMLTableOptions structs and function in these files htmldraw.cxx, htmlfldw.cxx, htmlfly.cxx, htmlform.cxx, htmlforw.cxx, htmlftn.cxx, htmlnum.cxx, htmlplug.cxx file's function. Change-Id: I5f3c3351157b8ba1c6b4fbb15d42acd61225f006 Reviewed-on: https://gerrit.libreoffice.org/5311 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-12String to OUString and some optimizationsMatteo Casalin
Change-Id: I9d93d6aa26b2c9d20f7be8d201051a51e8e4ce7a
2013-07-11fix HTML export of linked image bulletsAndras Timar
Change-Id: I14ade42adfff9beb0e40eb0d7e5569cbef0ced06
2013-07-11remove unused headersAndras Timar
Change-Id: I84326c0c6df0a68f3fba5659144b01d5131a001b
2013-07-11statement aligned as second statement in if body but not in a statement blockAndras Timar
Change-Id: I0d691c75cc5477b3b0f9c6f6f2dc420a51751201
2013-07-11fdo#63211 - embed images in HTML export.Ciorba Edmond
Change-Id: I585c85d2cee13ee8954623bd981cb372d78b7952
2013-06-18fdo#43460 sw: use isEmpty()Jelle van der Waa
Change-Id: Ia23f01ee28f1dfd8079abedda50bbef0a5a1beec Reviewed-on: https://gerrit.libreoffice.org/4334 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-13Resolves: #i120106# implement a SwPosFlyFrms which avoids memory leaksArmin Le Grand
Use boost::shared_ptr and stl tools to implement a SwPosFlyFrms which can be used and handed over by value and cleans up it's content to avoid memory leaks. Found by: Chao Huang Patch by: Chao Huang, alg Review by: Chao Huang, alg (cherry picked from commit c26f80aa1ba65b63e313dce9c6d7e40ab8efede6) Conflicts: sw/inc/doc.hxx sw/inc/flypos.hxx sw/source/core/doc/doclay.cxx sw/source/core/layout/flypos.cxx sw/source/core/unocore/unoobj2.cxx sw/source/filter/html/htmlfly.cxx sw/source/filter/ww8/writerhelper.cxx Change-Id: If610457654b1056d799d4336cd249815f7878a96 Fix build breaker from i120106 Patch by: Chao Huang Suggested by: alg (cherry picked from commit 880aadbeba4e31049d5b7f0a34323553fb6249fb) Conflicts: sw/source/filter/ww8/writerhelper.cxx Change-Id: I516fcb6ee69944c54cc9eb76c069eb8b28749050
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-02-22fdo#38838 search replace for String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: Ic500593e3a0b593522c9469b18da0145285007da Reviewed-on: https://gerrit.libreoffice.org/2280 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2012-12-17fdo#58286: sw HTML export: fix missing end tags on FrmFmtsMichael Stahl
SwHTMLWriter::OutFrmFmtOptions must return a value that includes the parameter rEndTags. (regression from 3852a6f54880af8ed9161227baa555580c7d4517) Change-Id: I280a0de57e254f75b69d08d93e23bf7c765058ec
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-11-01sal_Bool to boolTakeshi Abe
Change-Id: I10f8d534d664c5f27a32214c00aeee890d993d18
2012-07-25sorted_vector: MSVC doesn't know which erase to callMichael Stahl
Change-Id: Ib81388db2f93db662bb5439565f311835b08073e
2012-07-25Convert SvStringsISortDtor from an SV_DECL_PTRARR to a o3tl::sorted_vectorNoel Grandin
Change-Id: Ie1fa9b3cc2aef83ae9a82fbc110a08b2f298daef
2012-07-17Convert SV_DECL_PTRARR_SORT(SwHTMLPosFlyFrms) to o3tl::sorted_vectorNoel Grandin
Change-Id: If745de5e44ffffca27166f3ac6f35877189d50a7
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-05-25Convert SV_DECL_PTRARR_SORT_VISIBILITY(SwPosFlyFrms) to std::setNoel Grandin
Change-Id: Iba19e13b4402594023d9ce7c4d4fa3a9cdc9899e
2012-05-09Convert SV_DECL_PTRARR(INetFmts) to std::vectorNoel Grandin