summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-03-13Related: #119125# Added usage of the ClipRegion for dismantling MetafilesArmin Le Grand
to SdrObjects (ImpSdrGDIMetaFileImport) as good as possible with Metafile usage Conflicts: svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx Change-Id: I41422696e97f919e618f7e385c68d4ac737a52c1
2013-03-13WaE: various warngs, e.g. unused argument, variables, orderingCaolán McNamara
Change-Id: I551ccf9b098d7f916bd889dbc82d22c0dc5c63f3
2013-03-13Some little cleanupFridrich Štrba
Change-Id: I5b754441611224a0bf028a1a12b0b6d985df276d
2013-03-13Fix #i120928: Import Graphic Bullets of MS Word DocumentJian Hong Cheng
* sw/inc/numrule.hxx * sw/source/core/doc/number.cxx * sw/source/filter/ww8/attributeoutputbase.hxx * sw/source/filter/ww8/escher.hxx * sw/source/filter/ww8/rtfattributeoutput.cxx * sw/source/filter/ww8/rtfattributeoutput.hxx * sw/source/filter/ww8/rtfexport.hxx * sw/source/filter/ww8/rtfexport.cxx * sw/source/filter/ww8/writerhelper.cxx * sw/source/filter/ww8/writerhelper.hxx * sw/source/filter/ww8/wrtw8esh.cxx * sw/source/filter/ww8/wrtw8nds.cxx * sw/source/filter/ww8/wrtw8num.cxx * sw/source/filter/ww8/wrtww8.cxx * sw/source/filter/ww8/wrtww8.hxx * sw/source/filter/ww8/wrtww8gr.cxx * sw/source/filter/ww8/ww8attributeoutput.hxx * sw/source/filter/ww8/ww8par.cxx * sw/source/filter/ww8/ww8par.hxx * sw/source/filter/ww8/ww8par3.cxx * sw/source/ui/wrtsh/wrtsh1.cxx Graphic Bullets Fidelity Patch by: chengjh,<chengjh@apache.org> Found by: chengjh,<chengjh@apache.org> Review by: Fan Zheng,<zheng.easyfan@gmail.com> Conflicts: sw/inc/numrule.hxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/wrtw8nds.cxx Change-Id: I7b00590a9f05da745678b5ba99b6f6f4e870d197 Signed-off-by: Cedric Bosdonnat <cedric.bosdonnat.ooo@free.fr> Signed-off-by: Fridrich Strba <fridrich.strba@bluewin.ch>
2013-03-13#119952# - method <lcl_CalcAutoWidth(..)> - do not provide width of text ↵Oliver-Rainer Wittmann
frame inclusive margins, if text frame is in its formatting. Found by: Yan Ji Patch by: qiuhuaidong at gmail dot com Review by: Oliver-Rainer Wittmann
2013-03-12fdo#34800 Comments added to footer are placed at the right top of the page.Joren De Cuyper
The problem is that the nodes in the Footnote and Footer are stored before nodes of the document body in the internal structure. Therefore I wrote this patch to check if the compared comments are in the Footnote or Footer. We don't need to check our comment is placed in the header because it is already the most upper node of the whole document. Test document: https://bugs.freedesktop.org/attachment.cgi?id=76038 Special thanks to Cédric Bosdonnat and Miklos Vajna Change-Id: Ibcd0373110fde848dccf93ffe9100459c7cc64a5 Reviewed-on: https://gerrit.libreoffice.org/2572 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced OSL_TRACE with SAL_INFO - replaced OSL_ENSURE with SAL_WARN_IF Change-Id: Ie30fbc9c720d8b93d6093e2c95f61dceea8aae2f Reviewed-on: https://gerrit.libreoffice.org/2651 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12Translate German commentsPhilipp Weissenbacher
Change-Id: I0b386fd0c7cb0382fa3a5187389369966365b1fb Reviewed-on: https://gerrit.libreoffice.org/2691 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-12update pch headersLuboš Luňák
Change-Id: Ibb368e6a806666a73bf6bf1a097d14bc6e75b24d
2013-03-12times are represented using local machines time, bah, just check for am/pmCaolán McNamara
Change-Id: I3f0f76884e62cc7ec151a890ff0dd10e75194e3d
2013-03-12Related: #i120158# add a test-case for tricky am/pm escape problemCaolán McNamara
Change-Id: I4905fb384694c3f1dadccc6d8513c9a050e3f67b
2013-03-11make forward replacement of $ work again, fdo#60259 relatedEike Rathke
broken with 3bc5cb3c485d67f1ce0541d349d11637f52ebda5 Change-Id: Id32daead9565493b615ba337fcbc1b2f9dd5bcfb
2013-03-11Related: fdo#62154 correct font lang is a requirement for applying loclCaolán McNamara
If the language of the font changes we have to throw away the "magic" cache. Otherwise we continue to use the parent paragraph style's font language, which isn't going to fly if we want to propogate the language down to vcl to give to icu to allow it to apply the expected locl tables. This is the fruit of an 8 hour debugging session. I hate writer. Change-Id: Ic32f7a223b527e702370d5d8b9f9ede59efd8a80
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11Fix previous fixStephan Bergmann
Change-Id: I0eed9c3ece69af1fde2ab008c166875997a7c54f
2013-03-11MSVC fixStephan Bergmann
Change-Id: I260aa919a618d0770afaa7e62d82f7f3873eb63d
2013-03-11Fix operator + ADLStephan Bergmann
Change-Id: I141359a978d8547be157d4fba851506a9a1c9041
2013-03-11fdo#57950: Removed some chained appends from swMarcos Paulo de Souza
Change-Id: I5b78b4a8f2fc0fb0c4a67042ac4924e375c2d63a
2013-03-11convert writer test tabpage to .uiCaolán McNamara
Change-Id: I60349c3dd74774e1c5e6fe81d5cb78cf65756f6a
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11add pch support to gccPeter Foley
Change-Id: I58c11477c1ce48185528db3a8013b5dccf3947c6 Reviewed-on: https://gerrit.libreoffice.org/2653 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#57362 Cannot save document after editing footer background and borderChristopher Copits
In HeaderFooterWin.cxx's SwHeaderFooterWin::ExecuteCommand(): after changes are made to the header's background, box, or shadow, I call SetModified(true) to signal that the document was modified. Change-Id: I2be5710dde9d7a6f5d4373484d52ece71c91cdd4 Reviewed-on: https://gerrit.libreoffice.org/2654 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11fdo#38246 Comment control on Writer ruler featureRodolfo Ribeiro Gomes
It follows the directions from design team available at https://wiki.documentfoundation.org/Design/Whiteboards/Comments_Ruler_Control. It misses some fancy stuff though (like animated/delayed highlight and fading border). Some work should be done with (svtools) Ruler also for a cleaner implementation. Change-Id: Ib065043d05fe56fbfe6d00e0bb654966f046129b Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com>
2013-03-11fdo#61458, index should be "flat"Ádám Csaba Király
Change-Id: I46db120fc5e7d616cd4c9eadee7fc4c502569e86
2013-03-11various efforts to consistently apply HIG rulesCaolán McNamara
Change-Id: I780c83e28a6a2318ae5892e603aa8e5126deb926
2013-03-10Resolves: #i120158# fix Time format is different than MS Office issueLei De Bin
Reported by: Yan Ji Patch by: Chen Zuo Jun Review by: Lei De Bin (cherry picked from commit a535dd7eaa71a599b92c04eb9c6bab7678c30eb2) Conflicts: sw/source/filter/inc/msfilter.hxx sw/source/filter/ww8/writerwordglue.cxx Change-Id: Ie93d3755dfd230cea1914a67974e717c825c07a7
2013-03-10update pch filesPeter Foley
Change-Id: I07c1acc9f9e788f1165b3e241008aa944485790d
2013-03-10Comment translation german-english in sw/source/ui/table/Matthias Freund
Corrections... :-D Change-Id: I486a0caac11786c8edb4dd8b6099771db075a336 Reviewed-on: https://gerrit.libreoffice.org/2625 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-10Translate german comments in sw/source/filter/ww8/Joren De Cuyper
Please, only apply this patch if you are a native speaking German. I'm not a native speaker, so a double check is really necessary and appreciated. Thanks in advance. Change-Id: Ic2fb6e97007c6b47851ad8a7a51e987da5a70877 Reviewed-on: https://gerrit.libreoffice.org/2617 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-09Comment translation DE-EN in /sw/source/ui/web/Matthias Freund
Translations and some cleanups... Change-Id: I70484c2b3e1380e611ed1456a7befccafee58f37 Reviewed-on: https://gerrit.libreoffice.org/2619 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-09regex: handle zero-length matches, fdo#60259 relatedEike Rathke
Also in backward search ignore all zero-length matches except the text end single $ anchor search. The anchor search is a valid match, treat it as such in Writer. This still doesn't solve the backward $ backward search, the convoluted Writer code in that place apparently never worked, someone more familiar with those internals should straighten out the mess. Change-Id: I2bc83cdcfe6425f9bebf06e23e879bc79b82daa9
2013-03-09SwEditWin: rename member variables missing their prefixMiklos Vajna
Change-Id: I8e35a4c5df9bcca2b3cefd1044053185d3133353
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08SwTableBox::IsValidNumTxtNd: Allow trivial formattingMiklos Vajna
Not allowing flys or footnotes during string -> number conversion is fine, but I don't see what's the reason for rejecting simple formatting (like bold) completely. Change-Id: I8f54aebeb6ea35d099a88570d3f7d365c7325dc0
2013-03-08SwTxtNode::GetRedlineTxt: fix string conversionMiklos Vajna
As I understand it, String allowed the length parameter to be longer than the remaining string, in which case it simply returned the substring till the end of the string. In case of OUString, "!!br0ken!!" is returned instead, so make sure the length is never longer then the remaining string. Change-Id: I69499d74f1d9ba8ed6d9ba1a18d10b45ce319bf5
2013-03-08make use of startsWith()Thomas Arnhold
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08embed also view-only fonts, but do not use themLuboš Luňák
MSO embeds even fonts which allow only embedding for viewing the document but not editing it. So embed such fonts too, but do not actually use them from the document. What MSO does when such a font is not present locally when opening the document is switching to read-only mode, warning about this and providing a button for switching to editing mode by dumping the font(s). That should be done for LO too, but right now dropping view-only fonts is better than using them for editing. Change-Id: I19c28fadb091e6b21beaf4cbf8b47e3078256d1c
2013-03-08simplify compareTo (now correct)Thomas Arnhold
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-08Translate german comments in sw/source/filter/ww8/wrtww8.cxxJoren De Cuyper
Please, only apply this patch if you are a native speaking German. I'm not a native speaker, so a double check is really necessary and appreciated. Thanks in advance. Change-Id: I4df75b92ea7a66552df36f56de1c87d567d5b643 Reviewed-on: https://gerrit.libreoffice.org/2589 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-07Resolves: #i120442# fix html-flavored copy+paste of unicode surrogate pairsHerbert Dürr
Patch-by: Chen Peng Found-by: Yan Ji Review-by and minor modifications: Herbert Duerr Change-Id: Id100b90367bc1b1603e22337b67b55bb1ffb40d4
2013-03-07fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac
Change-Id: Iad623c9300919fbae34279268a5a720f978c6434 Reviewed-on: https://gerrit.libreoffice.org/2514 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-07i#118925# enhance textsearch's match-group referencesHerbert Dürr
to work for look-ahead/look-behind (cherry picked from commit 3b83c404c56e5db5bab29ffee41f02822410d625) Conflicts: sw/source/core/crsr/findtxt.cxx Change-Id: Ia5b31628b0f2af8f93132afa4b2eabd2f533bb91
2013-03-07fdo#61343 fix DOCX import of OLE object after groupshapeMiklos Vajna
Change-Id: I88d5e49cc3fb915d25c1b2576cdda1fffc9e2f23
2013-03-07Translate german comments in wrtw8sty.cxxJoren De Cuyper
Please, only apply this patch if you are native speaking German. I'm not a native speaker, so a double check is really necessary and appreciated. Thanks in advance. Change-Id: Iee7603c3fb8d78b951b967bd5942df4b1e9634f6 Reviewed-on: https://gerrit.libreoffice.org/2575 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-07Leave this one unfixed, since I have no idea what went wrongFridrich Štrba
Change-Id: Ibad1e2a397fdffb66b45ad6e897501c65b03b231
2013-03-07Fix sw buildFridrich Štrba
Change-Id: I28d0a471df67b9b61ba3878f38ae5c3584a80f28
2013-03-07rename setInitialLayoutSize to setOptimalLayoutSizeCaolán McNamara
and add a mechanism to know that we're in true initial layout mode Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07fdo#46808 use document::DocumentRevisionListPersistence constructorNoel Grandin
Change-Id: I1a591ec4061c73657c26552d41c58b970696038f