summaryrefslogtreecommitdiff
path: root/sw/inc/tox.hxx
AgeCommit message (Collapse)Author
2015-11-06com::sun::star->css in sw/incNoel Grandin
Change-Id: I6ffdb1deaa32156c65f997a1a1056928b7cd863d Reviewed-on: https://gerrit.libreoffice.org/19803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30sw: prefix members of SwFormMiklos Vajna
Change-Id: I91c1aa5149bff9c6489ad6f1a68818b502d95966
2015-10-28sw: prefix members of SwTOXMarkMiklos Vajna
Change-Id: Id8cc41ab9af5d6fe9934f97927c7e3d1e7f6ebf3
2015-10-28sw: prefix members of SwTOXTypeMiklos Vajna
Change-Id: I8500dda538a82a920dd6164251bf193489b12a15
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-02sw: prefix members of SwTOXBaseMiklos Vajna
Change-Id: I23bdc9a885228848568ebaf3fb618826598b8267
2015-09-30Fix typosAndrea Gelmini
Change-Id: Iad3a3d77c5d4412a5c0e0b6adcb9bff3389f863c Reviewed-on: https://gerrit.libreoffice.org/18983 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-21loplugin:unusedmethods swNoel Grandin
Change-Id: Ied51535fa169451fc4991237122817a34a59f6fe Reviewed-on: https://gerrit.libreoffice.org/17256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c
2014-11-16Remove sal_True/sal_False from code and comments in sw includesMatteo Casalin
Change-Id: Icfbbae898749196e27199802ec728417d5205bc5
2014-11-10loplugin: cstylecastNoel Grandin
Change-Id: Ie57f543681790e662f6ac7d074ccb37925999790
2014-08-19fdo#75757: remove inheritance to std::vectorTakeshi Abe
by replacing it with a typedef. Change-Id: Iaa88086e3c5195012982dd625bfd589de2e484a2 Reviewed-on: https://gerrit.libreoffice.org/11017 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-06-05Extract TOX text generation to its own source fileTobias Lippert
The separate source file will make it easier to unit test the functionality Also: move some constants to tox.hxx to have them available in the new source file Conflicts: sw/source/core/doc/doctxm.cxx Change-Id: Ib0369cc4875043829f55d30a549997560a38cc35 Reviewed-on: https://gerrit.libreoffice.org/9607 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-27Remove ASCII art and useless comments from sw moduleChris Laplante
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2 Reviewed-on: https://gerrit.libreoffice.org/9494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-06dflt -> defaultThomas Arnhold
Change-Id: I89f1f5771eb7d96da233a8c7386b906b2a3a9c3e
2014-04-30sw: sal_Bool->boolNoel Grandin
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-29sw: remove SwFormTokensHelper implementation details from headerMichael Stahl
Change-Id: I9102caec1fec680e55e0ca66a0e1b02f41df5828
2014-04-29fdo#77308: SwFormTokensHelper avoid infinite loop on invalid inputMichael Stahl
In 4.1 this loops because the input is truncated to 64k length; try to avoid looping when the input is invalid and the terminating ">" cannot be found. Change-Id: I9261d9350f84ab366b822addde725645a46be830
2014-04-10fdo#77051: Preservation of Index field flag '\f'.YogeshBharate
Problem Description: - In LibreOffice, the index field flag '\f' was not getting preserved after roundtrip as there was no support for it. - '\f' field flag is used for Specific Entry Type. ex. In our case it is "Syn" Implementation: - Provided import & export support for Index field flag '\f' and added UT for the same. Change-Id: I97c2456dd73c8bdf89ab105f8cac71bf7e2ad164 Reviewed-on: https://gerrit.libreoffice.org/8839 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-28Resolves: #i124451# apply correct index entry template patterns...Oliver-Rainer Wittmann
which are used for e.g. TOC (cherry picked from commit 52c89c2aff23dbb875c9a86021145b30af463908) Conflicts: sw/inc/tox.hxx sw/source/core/tox/tox.cxx sw/source/filter/ww8/ww8par5.cxx Change-Id: Id14cecc07d09d3461c091a6451143cbce206e308
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-26Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann
...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-14fdo#74775: Preseved Citation after round trip.Rohit Deshmukh
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/8473 Change-Id: Ie1b0ac3cb4d4b9bf305323599d5e4b63f913fb1b
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-03Remove SW_DLLPRIVATE -> SAL_DLLPRIVATE indirectionStephan Bergmann
Change-Id: I5498266e5496f196d420a2897b804da8599917b5
2014-01-20fdo#69613 : Fix for TOC with flag '\u' should get preserved after RT.Pallavi Jadhav
Issue : DOCX contatining TOC Code field '\u' was not getting preserved after RT. Implementation : 1] Provided import & export support for TOC field flag '\u'. 2] Written export Unit Test for code field '\u'. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7202 Change-Id: I43872c7db21c25e0586bf874d5bb0c9115ab76af
2014-01-15SwFormTokenToString is unused since 2004Michael Stahl
Change-Id: I18aaf40b1ac0e4bd070a55d2169b5320336f78fc
2014-01-13fdo#69613: Code changes for TOC with flag '\x' should get preserved after RT.YogeshBharate
Issue : TOC field flag '\x' was not getting preserved after RT. Implementation : Provided import & export support for TOC field flag '\x'. XML file difference : In document.xml, Before: ‒<w:r w:rsidR="00A9725D"> ‒<w:instrText xml:space="preserve"> TOC \o "1-3" </w:instrText> </w:r> ‒<w:r w:rsidR="008A34F6"> ‒<w:instrText> \h </w:instrText> </w:r> ‒<w:r w:rsidR="00A9725D"> ‒<w:instrText xml:space="preserve"> \x </w:instrText> After: ‒<w:instrText> TOC \x \o "1-3" \h </w:instrText> Conflicts: sw/inc/tox.hxx sw/inc/unoprnms.hxx sw/source/core/unocore/unoidx.cxx sw/source/core/unocore/unomap.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/ui/index/cntex.cxx writerfilter/source/dmapper/DomainMapper_Impl.cxx writerfilter/source/dmapper/PropertyIds.cxx writerfilter/source/dmapper/PropertyIds.hxx Reviewed on: https://gerrit.libreoffice.org/7257 Change-Id: I8f196446a3beb8deea6b7ddde50e16c9cea73cd9
2014-01-13fdo#69613:Fix for TOC field flag 'b' should preserved after RT.PriyankaGaikwad
(This is partial fix for this bug) Implementation : Provided import & export support for TOC field flag '\b'. XML file difference : Before : <w:instrText> TOC </w:instrText> After : <w:instrText> TOC \b "bookmark111" \o "1-9" \o "1-9" \h </w:instrText> Conflicts: sw/inc/tox.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/unocore/unomap.cxx sw/source/filter/ww8/ww8atr.cxx writerfilter/source/dmapper/DomainMapper_Impl.cxx writerfilter/source/dmapper/PropertyIds.cxx writerfilter/source/dmapper/PropertyIds.hxx Reviewed on: https://gerrit.libreoffice.org/7256 Change-Id: I194ba95ca8f25234c0d2a14570fd47eac518b9c5
2014-01-13fdo#69613: Code changes for TOC with flag '\w' should get preserved after RT.YogeshBharate
Issue : TOC field flag '\w' was not getting preserved after RT. Implementation : Provided import & export support for TOC field flag '\w'. XML file difference : In document.xml, Before - <w:instrText> TOC \o "1-3" \h \z \w </w:instrText> After - <w:instrText> TOC \w \o "1-3" \o "1-3" \h </w:instrText> Conflicts: sw/inc/tox.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/unocore/unomap.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/ui/index/cntex.cxx writerfilter/source/dmapper/DomainMapper_Impl.cxx writerfilter/source/dmapper/PropertyIds.cxx writerfilter/source/dmapper/PropertyIds.hxx Reviewed on: https://gerrit.libreoffice.org/7238 Change-Id: Ia5d602c6db0b59933d325058ce2d8111e4f03df5
2014-01-10fdo#69613: Code changes for TOC with flag '\z' should get preserved after RT.YogeshBharate
Issue : TOC field flag '\z' was not getting preserved after RT. Implementation : Provided import & export support for TOC field flag '\z'. XML file difference : In document.xml, Before - <w:instrText> TOC </w:instrText> After - <w:instrText> TOC \z \o "1-3" \o "1-3" \h </w:instrText> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx writerfilter/source/dmapper/PropertyIds.cxx writerfilter/source/dmapper/PropertyIds.hxx Reviewed on: https://gerrit.libreoffice.org/7217 Change-Id: I84f90a722c7afbdf626db2cc60c4e73580891d36
2014-01-10SfxPoolItem::operator ==, != should return boolStephan Bergmann
...and SfxEnumItemInterface::HasBoolValue, too. Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-10-23Resolves: #i119963#, #i120877# import and export actual TOC contentOliver-Rainer Wittmann
Patch by: zhengfan, Oliver Review by: Oliver reintegrate from branch writer001 (cherry picked from commit 8f2a21eac4a904db3cc4c448179e2d2cf5878ef4) Conflicts: sw/inc/tox.hxx sw/source/core/tox/tox.cxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.hxx sw/source/filter/ww8/ww8par5.cxx sw/source/filter/ww8/ww8par6.cxx Change-Id: I75b2971f23754afa0bcb0b549bfb820dd5924b3b
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-08-13String to OUString and some reduction of scopeMatteo Casalin
Change-Id: Ia760c5f3f8c158bea30be3102841a66330e5180a Reviewed-on: https://gerrit.libreoffice.org/5339 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-07-30fdo#43157 - Clean up OSL_ENSUREHonza Havlíček
Change-Id: I5ba15eaa82479aa68b98ce4dcd7827f31b239c98 Reviewed-on: https://gerrit.libreoffice.org/5139 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
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-07sal_Bool to boolTakeshi Abe
Change-Id: Ia1001ff0f4778bdf5e22bf2800f533dfba80c048
2012-11-06sal_Bool to boolTakeshi Abe
Change-Id: I3e8b7db8422680b865c10c7ead4ad782e2d5c5e1
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-01Remove unused definesThomas Arnhold
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29Remove some more include guardsThomas Arnhold
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-20Convert SV_DECL_PTRARR(SwTOXMarks) to std::vectorNoel Grandin
Change-Id: Idffc8a90fcd4ada856339fc0be3e4a11478db6cc
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.