summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-11-20fdo#57059 - fix crasher rendering borders for very small windows.Michael Meeks
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz
This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-20sal_Bool to boolTakeshi Abe
Change-Id: Icc13eb7a8c6720ac53163e3ee7842a22c2862ab3
2012-11-19warning C4805: '==': unsafe mix of bool and sal_BoolMichael Stahl
Change-Id: Ia3a21febe934b73401a008091c84766a2b798ca0
2012-11-19use LanguageTagEike Rathke
Change-Id: I4ffa1aa2dce0bf1d0c87d56f72589112ec1222a1
2012-11-19n#780645 DOCX import: add support for fixed column widthMiklos Vajna
In general, DOCX tables provide a grid for the table, then use spans in case different number of cells are used in different rows. In this case, the cell width is ignored, as the wished width can be counted from the grid and span values. However, it's also valid to simply provide more cells then the amount defined by the grid, and in this case the cell width should decide the final width of the cells. This commit adds support for this later case. Change-Id: I0dd6c1f0c06f81c2afa00489b7ad1f33ff300a7c
2012-11-19remove unnecessary #includeMatteo Casalin
Change-Id: I5b05a7aded3ed80e0269155100ad075bffecf9ea
2012-11-18migrate one GetOutputString variatn to OUStringNorbert Thiebaud
that create some clutter on some of the caller, this will be resolved as things progress to ward OUString only This is done that way to be incremental and avoid creating too big patches Change-Id: I4a881d85cc2ee1eb53bc0c0d0902838b1d3720a2
2012-11-19sal_Bool to boolTakeshi Abe
Change-Id: Ia6a4cd46b3bda875baeb9fcdda98a1964aedf841
2012-11-18sw: move swmodeltestbase.hxx to qa/extras/inc/Miklos Vajna
If we already have such an include dir, let's have all headers there. Change-Id: I2100b5308e7fdad9d98cfde76434ff485aca20c7
2012-11-17valgrind: Invalid read from sequence released during assignationCaolán McNamara
Change-Id: I3bb665e15e6f4ae7ada94a33a58633bd548d34f4
2012-11-17sal_Bool to boolTakeshi Abe
Change-Id: I4700455a1f2057ac2cc32da0260c810311c84a4f
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-16n#780277: select field when clicking it instead of having cursor before itCédric Bosdonnat
Change-Id: I93d623b62e9357a71bfca3403cc98092ef58c7e4
2012-11-15Rename SvLBoxItem::IsA() to GetType(), and mark that const.Kohei Yoshida
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
2012-11-15n#789482 DOCX: export track change data after w:hyperlinkMiklos Vajna
Change-Id: If204523d7da544b11b2d809993ada180476104ef
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-15fdo#46808, use service constructor for i18n::TextConversionNoel Grandin
Modify the service to return XExtendedTextConversion, since that is backwards compatible and the service implements it. Change-Id: I2923969135c396d643c501ed56e0528c0bd7c14a
2012-11-14Turn some memmove into memcpy when it is safe to do so.jailletc36
Most of the changes are related to newly allocated memory, so we are sure it can not overlap with the source of the copy. Change-Id: Ie6ccf1bbb07b792fb18601a38dfaa55755d14b7d Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1033 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-11-14Fix fdo#51121 OWA misbehaviour with uncompressed meta.xmlThorsten Behrens
Change Writer and Math to save ODF with compressed meta.xml as well, since there's no reason not to. Change-Id: Idde0dc9eafb03f0c84e52353289d857615aa3748
2012-11-14add asian/non-asian word count to UI when CJK mode is enabledCaolán McNamara
Change-Id: Ia54ba045a862d17e6967cee0f3f6f7409632233b
2012-11-15sal_Bool to boolTakeshi Abe
Change-Id: I95a8effcc90a9651e30dc43f8db6edeaa7ace5ef
2012-11-14The additional methods of SO2_*_REF over SV_*_REF are now unusedCaolán McNamara
so they can now be replaced by SV_*_REF now Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-11-14fdo#55525 import RTF_TRLEFTMiklos Vajna
Additionally: 1) Make sure cell margins are zero when they are not defined. 2) Handle cellx values in case of a negative left margin. Change-Id: I9b8fb700b6459e622396c98e4344aba79f62c96e
2012-11-13fdo#56954: fix Ignore menu item of grammar mistakesLászló Németh
Change-Id: I5cec602c686d5199b516a7e5135ababeb0751444 Reviewed-on: https://gerrit.libreoffice.org/1024 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2012-11-13convert extension dialog to .uiCaolán McNamara
Change-Id: I4d938be9e960f421398dd40bbcf1b3cadc643de1
2012-11-13sal_Bool to boolTakeshi Abe
Change-Id: I392709e11df3b2babfaa2cf4f90caf7ef29b10aa
2012-11-13Drop unused functionsTakeshi Abe
Change-Id: Iff3dc8149cbe6dbf3827fa6817676777a528e93b
2012-11-12cppCheck: clarifyConditionjailletc36
Remove some warnings about: Boolean result is used in bitwise operation Suspicious condition (assignment + comparison) Also reduce scope of a variable. Change-Id: I553e5a09ed1d6276be61efbbb2c28d165a69af39 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1031 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-12fdo#36324 fdo#42929 - option to ingore system input language changesJeremy Brown
Created a new checkbox on the Langauges options page: [] Ignore system input language This is unchecked by default so that the current behavior remains the default, i.e. newly entered text will be flagged as whatever the current system input language is. When checked however, this instructs LibreOffice to ignore the system language (on Windows for example, the language from the Language Bar) when determining the language for newly entered text. This is handled in the lcl_isNonDefaultLanguage method of sw/source/ui/docvw/edtwin.cxx. The option is also saved in registrymodifications.xcu There are two main use cases: 1. This allows someone to use a single "international" keyboard on Windows to type in multiple languages, (e.g. English, French, Spanish) without changing the system keyboard. The person is then responsible for setting the language for each word or run of text themselves in LibreOffice. This seems to be the preferred workflow for some translators and some educators developing language materials. 2. This allows someone writing in a minority language that is not represented in one of Windows' locale options to still be able to type in LibreOffice in their language using a keyboard tagged for another language. Once they set the language in LibreOffice (e.g. to Teke-Eboo [ebo_CG]), they can type with a keyboard as being for "Swahili" but still succeed in entering new text in their language. This allows spell-checking to work properly without them having to select each new word they enter and reset the language of that word to Teke-Eboo (as is currently the case). Change-Id: I86248f5865b69048eb1f3e427a8c03b093138796 Reviewed-on: https://gerrit.libreoffice.org/1029 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-10DocxAttributeOutput::FlyFrameGraphic: add assert to avoid misuse of the APIMiklos Vajna
Change-Id: I5d09e297294439fafad94177d8e87ccdf829b18d
2012-11-10cppCheck: remove dead assignmentjailletc36
Change-Id: Iea8388c16de3399853dc384e7df6bfcc92170ea2 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1018 Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com> Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-11-09center these buttons vertically, rather than fill the rowCaolán McNamara
Change-Id: I9acf8198ac19c3e448bb7d65116e408ac179993e
2012-11-09fdo#51550 fix DOCX export dataloss on non-math/chart OLE exportMiklos Vajna
This is still not complete, but having the replacement graphic only is far better than having nothing. Change-Id: I141a3de1a449f4261c7086e10f2c141b3f6cdb10
2012-11-08missing braceCaolán McNamara
Change-Id: Ib54dd8fe55f7c527e4f163e7ae559e9c3483407b
2012-11-08testcase for a recent bnc#773061 fixLuboš Luňák
Change-Id: I60874c6ad8ccb9767961ed0064b9a15bfc1b07d5
2012-11-08fdo#35427: repair Tools > Options > Writer > View - Show Scroll Slider optionsIvan Timofeev
Change-Id: I2bacd52a182a2dba3dbe6c6d63861470e87b6066
2012-11-08sal_Bool to boolTakeshi Abe
Change-Id: Idfbc33106b20b06c5247c50d099972305f016a51
2012-11-07cppCheck: Various clean-upjailletc36
mailconfigpapge: shouldn't it be a logical AND instead of a bit-wise operation ? HeaderFooterWin, drwtxtsh, formatclipboard, wview: redundant assignment fldref: unused variable Change-Id: I5016c12527a8811676ff10f07f7be9e855c66814 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/996 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07Documenting results from src code archeology.Thorsten Behrens
Kudos to mst for remembering the Writer core comments from Juergen Pingel.
2012-11-07Remove unnecessary #includeMatteo Casalin
Change-Id: I3c33ce1eecad649c3d23719b51d51057d41d9a2e Reviewed-on: https://gerrit.libreoffice.org/980 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07remove label-less frame parentCaolán McNamara
Change-Id: Ic75fe1e53a411b6d1357b8117a88697f493d3c9d
2012-11-07basic: String -> OUStringNorbert Thiebaud
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07sal_Bool to boolTakeshi Abe
Change-Id: Ia1001ff0f4778bdf5e22bf2800f533dfba80c048
2012-11-06New Layout for Word Count DialogSamuel Mehrbrodt
Change-Id: I653b0546fc677bf8cfceac38cb0f98a1b106d0e2 Reviewed-on: https://gerrit.libreoffice.org/995 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-06Fix some file modesStephan Bergmann
Change-Id: Ib1746fff848a4f5cc7dd1baec68d9acdc4f7ac1e
2012-11-06docx import: round float value to int when computing cells widthPierre-Eric Pelloux-Prayer
Previously, truncating float to int was introducing accumulating rounding errors, which lead to visible change in column widths. Change-Id: I4557c716fba48dfd9a6c1c4d2cd0d0aa7aeae865
2012-11-06Don't play dirty tricks for const objectsMatteo Casalin
Change-Id: I92c2362b71cf3614b091c893c0fdb3248edb3ddd Reviewed-on: https://gerrit.libreoffice.org/973 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2012-11-06cppCheck: Various clean-upjailletc36
xfdrawstyle.cxx: correct a copy/paste typo in constructor number.cxx: remove an unused variable inftxt.hxx: redundant assignment (pWrongList is assigned twice) Change-Id: I148e23272ffa169ef16052c475e5f24a87383e5b Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/983 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>