summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-04-16Bin pointless comments describing allegedly why each #include is neededTor Lillqvist
Change-Id: I3f4405a598cb11fb1c529517eb96260beed9cb86
2013-04-16Add missing #include <rtl/tencinfo.h>Tor Lillqvist
Change-Id: I4d9a28b50f773857f8f6af7df4a0968f8bb1de4a
2013-04-16fdo#40102 show full footnote text in index tooltipLászló Németh
Change-Id: I35acdaf4f62df7a1d375aed663c270e78ea70779
2013-04-16fdo#61193 fix crash on RTF paste of footnoteMiklos Vajna
Regression from 232ad2f2588beff50cb5c1f3b689c581ba317583. Change-Id: Ia0873851979df5bba0a4693f044aab2aeff2b8e4
2013-04-15No vbahelper library if DISABLE_SCRIPTINGTor Lillqvist
Change-Id: Ie5ea03493659eb467e61a6985016e3f43f450136
2013-04-15sw: remove unused classes in RTF exportMiklos Vajna
- RTFProtect was never used by the RTF export filter, unused since the old RTF import is gone - RTFVertOrient and RTFHoriOrient is obsoleted by the new-style posrelh and posrelv textframe properties Change-Id: I0a7d306870900b9ff86d5a173b540db04aed012d
2013-04-15sw: add textframe gradient RTF roundtrip testcaseMiklos Vajna
Change-Id: I8e4f6b926123c79ad1a62ddd4c5feebf5fe06cf0
2013-04-15initial RTF export of Writer textframe gradientsMiklos Vajna
Change-Id: Ida9774a41964dbeb8840e79425811993a28588af
2013-04-15sw: RTF export of TextFrame border/shadow testcaseMiklos Vajna
Change-Id: I85b85afb6d1b170d71633f93d56f7ce4fffdf0a3
2013-04-15RtfAttributeOutput::FormatBackground: export fillColorMiklos Vajna
Change-Id: I9d187fc5b52a27ff5b8bc847a52fe95c63558a40
2013-04-15RtfAttributeOutput: export fShadow, shadowColor, shadowOffset*Miklos Vajna
Change-Id: Ia6d27eadb41d66de558c290bc07b6d1c491f5f1c
2013-04-15RtfAttributeOutput::FormatBox: export line{Color,Width} shape propertiesMiklos Vajna
Change-Id: Id1fd8b4c7ebcc8ffd3b6914596385eb3eda922c6
2013-04-15Silence false warningStephan Bergmann
Change-Id: Ie854ab8b8b7ea4d98ee33d6802ea3a1e65ef2769
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15fdo#60724 correct spellingThomas Arnhold
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15Resolves: #i119567# wmf in PICT assure correct scaling...Oliver-Rainer Wittmann
in case that the size is substituted. Found by: Yan Ji <yanji.yj at gmail dot com> Patch by: zjchen <zjchencdl at gmail dot com> Review by: Oliver <orw at apache dot org> (cherry picked from commit 69ea079e09f64ac037686f874617efc63d0449f5) Change-Id: I1eb4b0be184fcefca26eee5f98ba6135a32574c2
2013-04-14Resolve: #i119581# fix import issue for various .doc macro button importsLei De Bin
fix import issue for 'checkin' 'checkout' 'showsample' macro button in writer Reported by: Lou Qingle Patch by: Lei De Bin Review by: Li Jian Yuan(cherry picked from commit 7a3114b8e6960153900759a81a6edf1f74b3981c) Change-Id: Iec6c2945a587c0451b8a404eb449c53237eeb7dc
2013-04-14Fix issue #i120140: After doc file saved by AOO, one more section is createdJian Hong Cheng
* sw/source/filter/ww8/wrtww8.cxx * sw/source/filter/ww8/ww8atr.cxx MS Word Binary Interoperability Patch by: Lin Yuan,<yuanlin.ibm@gmail.com> Found by: Yan Ji,<yanji.yj@gmail.com> Review by: Jian Hong Cheng,<chengjh@apache.org> Conflicts: sw/source/filter/ww8/wrtww8.cxx Change-Id: If32bcced32b671f026ec8c32dd21684eb9e7b1fe
2013-04-14Fix compilation problem caused by previous commitXisco Fauli
Change-Id: I5fe90dd5a39c705b7b4dbc0c8d0b9e383c62e449
2013-04-14#i119466# Doc file loaded by AOO, table with incorrect text wrapping property.Chen ZuoJun
Reported by: louqle Patch by: Chen Zuo Jun Review by: Lei De Bin
2013-04-14more fix to fdo#62470Faisal M. Al-Otaibi
fix some problem appear when delete the right border. Change-Id: I2bd1d69142bb0a920bdb58c833f8cbbb461a8350 Reviewed-on: https://gerrit.libreoffice.org/3305 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
2013-04-13Nah, SwCrsrShell::{Show,Hide}Crsr() are the wrong places to show/hide keyboardTor Lillqvist
At least I think so. Something more complicated is needed, or at least lots more experimentation. Change-Id: If511697de12ca8576720d67c80113c579eb66741
2013-04-13fdo#45941 repeaded -> repeatedMiklos Vajna
Change-Id: Iff043de250fb1d81fbd4901a15f7935006edc2df
2013-04-13fdo#45941 cursos -> cursorMiklos Vajna
Change-Id: I10ede9fe8f4694366101458a0ce82b54148cda61
2013-04-13fdo#45941 algrithm -> algorithmMiklos Vajna
Change-Id: I30fd0aa3ab337e62023d5adec9a0033b78959703
2013-04-13sw: fix frame size of textboxes in DOCX/RTF exportMiklos Vajna
In case the frame is AutoSize and the nominal height is less than the real height, we used to end up with textboxes having height small enough that some of the content was unreadable. Instead, do what the WW8 export does and relay on sw::Frame to provide the layout size. Change-Id: I2a6cf4373c8565eef780273745a6ef27ddc65753
2013-04-13i#119446# correct condition for fields containing '.' or '/'Oliver-Rainer Wittmann
See also: i#61075, i#89667, i#111684 Found by: Yan Ji Patch by: zjchen Review by: Oliver (cherry picked from commit 2eeb8010f1afbe47b56387a5ba96db41ece13fcc) Conflicts: sw/source/filter/ww8/ww8par5.cxx Change-Id: Ia53b599c01d1a4b46bd52eac8a933ac6c0605586
2013-04-13Resolves: #i119953# Fixed crash on File->Insert.Andre Fischer
Reported by: Yan Ji Patch by: Oliver-Rainer Wittmann Review by: Andre Fischer (cherry picked from commit 66cef81342b38e23c6785c101fe204a9512f0646) Conflicts: sw/source/filter/ww8/ww8par.cxx Change-Id: Ia014c0c3b9fb78caf8e1d40bd629eb685d40fdd3
2013-04-12RTF export: fix position of at-character-anchored textframesMiklos Vajna
Our importer could deal with the frames without these, but not Word. Change-Id: I6f7d13aba45129357fcf8c11e60d5a9dbc7a8ca2
2013-04-12use EditView::CheckLanguage() instead of duplicated codeEike Rathke
Change-Id: I0ff75f1dc084f426846ac4f67db85a5d932d7bee
2013-04-12sw: remove usage of boost::bind for IMarksMichael Stahl
Apple llvm-g++ 4.2.1 with _GLIBCXX_DEBUG won't eat boost::bind with IMark::StartsAfter, and MSVC 2008 with _DEBUG even doesn't like IMark::StartsBefore. They evidently try to call the comparison operator with arguments in the wrong order. Change-Id: Ib11a79a459e84ac9d7046824678ad4ccdacc67d0
2013-04-12i#23187: Fix crash of the document.Jan Holesovsky
The mbLayoutInProgress bool was effectively unused - only set and reset, but the only place that was checking for that was in lcl_RecalcRow(), again, only to set and reset it. Worse - with the document from i#23187, the mbLayoutInProgress was set / reset on a page already disposed in SwFrm::InsertPage() which was causing the crash here. So let's get rid of all this mbLayoutInProgress, its getter and setter, and NotifyLayoutOfPageInProgress class. Valgrind, thank you that you exist, would have never found it without you! :-) Change-Id: I9a9b604f8a21bb50e21af1b20b8db76d2c0504bd
2013-04-12sw: rework RTF export of text framesMiklos Vajna
Export these as new-style frames. Not counting future possibilities, this commit finally fixes the following problems: - borders: spacing to contents wasn't exported at all - wrap: top/bottom and left/right spacing exported even in case they do not equal Change-Id: I058e00e677e20bc9501b8de320f941f256e8b6f1
2013-04-12fix build, "touch" headers only on !HAVE_FEATURE_DESKTOP platformsCaolán McNamara
Change-Id: Ie0a40b5aaf26185546916843a913d4be47f7b6fb
2013-04-12Resolves: #i119632# Macro button lost if save template to .doc fileLei De Bin
Add export MACROBUTTON field codes in AttributeOutputBase::TextField Found by: yan ji Patch by: Lei De Bin Review by: Chen Zuo Jun(cherry picked from commit b51d354f043d19c1a8f22e1cfff6d0b43eb62b5e) Conflicts: sw/source/filter/ww8/ww8atr.cxx Change-Id: I419ce091bb676aecfe8b53660549da40eec6057f
2013-04-12i#101884: Fix crash on load.Jan Holesovsky
This was originally fixed in commit 792cbc03aef3873ba89c61db708898d96d6a52f8 due to fix of i#99564. But later we reworked the handling of empty paragraphs in tables in commit 56b2cf0c10d9caa01ebae1d80465e342d046a85c, which caused the fix from i#99564 to regress. Change-Id: Ief063181cee87c7cd43404469247d85eb96bcfe1
2013-04-12Start implementing on-demand keyboard display for non-DESKTOPTor Lillqvist
Change-Id: I9321dcf9d863cb59eee9b2a012d887a17cb1b454
2013-04-12Related: #i119624# GetUpperSpaceAmountConsideredForPrevFrmAndPageGridOliver-Rainer Wittmann
- consider upper space amount only for page grids in squared page mode Found by: louqle <louqingle at gmail dot com> Patch by: Oliver-Rainer Wittmann <orw at apache dot org> Review by: zjchen <zjchencdl at gmail dot com> (cherry picked from commit 53ba60618af3977f5e5488225dcf050a517fb5b8) Change-Id: If6592a41f0ef67cc20fa8b3ddaefa36571561f85
2013-04-12Related: #i119624# method <SwWW8ImplReader::IsObjectLayoutInTableCell(..)>Oliver-Rainer Wittmann
- correction of condition interpreting <LayoutInTableCell> attribute - include support for Microsoft Office 2010 version Found by: louqle <louqingle at gmail dot com> Patch by: Oliver-Rainer Wittmann <orw at apache dot org> Review by: zjchen <zjchencdl at gmail dot com> (cherry picked from commit 3b8b3136a51af56321a1a35fcdd9ec1d7126daa3) Conflicts: sw/source/filter/ww8/ww8graf.cxx Change-Id: I065ba88f0e08c5c5e892665933587fa2b796226e
2013-04-12consume hectares of empty space on outline and numbering tab pageCaolán McNamara
We now have hectares of empty space in the English ui on the right side because the other tabs are wider than this one. What to do with the extra space, leave it on the right, or consume it in some other way ? I'm inclined to spread things around the available space. If we set our elements to expand to consume it (but left align the spinbuttons within their expanded space) then we get a page that looks very like the original. I'm not entirely sure if I prefer it this way because it's genuinely more pleasing to the eye, or because it's just familiar looking this way. Change-Id: Iafe60713eb8c6f0bd1ecd70e3f288d52b453a247
2013-04-12use a size-group for the labels to get things to align nicelyCaolán McNamara
It appears I have a small bug in how size-groups and/or generic size-requests work. It seems that margins should be part of the request, but I'm adding those on after the request, not as part of the request. But we can workaround that by putting a one element box around the elements with margins and put those boxes into the size group instead. That way it works now, and will continue to work after I change the request+margin logic tristates are a pain, They are always set to "state unknown" on .ui load, while in .src load they default to "state nocheck". So to be super sure that the logic is unchanged set them explicitly initially in .cxx to "state nocheck" restore accessibility relationship between tristate used as a label and the labeled thing. Change-Id: Ibf4879c3e9a4ecc4726896479377f51bf727b238
2013-04-12Convert Paragraph Outline&Numbering tab page to Widget UIOlivier Hallot
Conflicts: sw/UI_swriter.mk Change-Id: I5280ddaa714db0f9ffd61cf400acf9a9fcc1087b Reviewed-on: https://gerrit.libreoffice.org/3337 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-12Resolves: #i119912# Crash when redo split pasted table used by chartJürgen Schmidt
fix: While deleting any box from chart data provider, verify whether there are any invalidate chart data sequence inside, if so, catch the exception and remove it. Patch By: Peng Chen Found By: yanji Review By: jsc (cherry picked from commit a92e353922d63d785e3d46aa1a4783846a9dea18) Change-Id: I239824e92d13e42b83674dbdeaeef053f1e6ea9a
2013-04-12sw/qa: add new script to make sure all files are testedMiklos Vajna
When some import filter fix arrives in, and the submitter submits a test file, but doesn't provide a matching testcase, we accept the patch, as it's better than nothing. This script will search for such files, providing kind of a TODO list for what testcases have to be implemented. Change-Id: I713fe2f0aef4cbca66ba913baf54b7bd28ba2471
2013-04-11Resolves: fdo#48039 use same algorithm for assigning get/set replacement idsCaolán McNamara
i.e. use the same algorithm for assigning replacement ids for both get and set exp fields. Otherwise, consider for ex. 1. fields exists with ids of 1 and 2 in master document 2. a field exists with id of 1 in subdocument and must be reassigned a new id to not collide with the pre existing master ids In get orig algorithm assigned first unused slot of master to subdocument field i.e. 0 unused in master, so subdocument:1 converted to master:0 In set orig algorithm sorted all used master slots and assigned largest used id plus 1 (therefore unused) to subdocument field i.e. largest id used in master is 2, so subdocument:1 converted to master:3 so get can't find set and error's out with: Error: Reference source not found Change-Id: Ie8758dc22cf8deeeeff079532284e57eeaf4a9bd
2013-04-11Resolves: #i119653# Crash after delete column(s) from chart's source tableJürgen Schmidt
It crashes after adjusting the table size. fix: Recorrect the logic of code in SwChartDataSequence::Dispose(), release the relationship inside. Patch By: Peng Chen Found By: yanji Review By: jsc (cherry picked from commit 3977937c2d96133c7d53c289cc9e218bb13095f4) Change-Id: I09e9c390527402e5f91031e7370910e93cf70fa7
2013-04-11restore missing mnemonics of writer print options pageCaolán McNamara
as pkacer points out, also use the 12 pixel indent for dependant controls that mduffy suggested as the best default Change-Id: If854ec394b4233bb821f37be9c784c1ccd80b912
2013-04-11Restore original mnemonics for view pageCaolán McNamara
And remove the remaining SetPosPixel calls of layout controlled elements, they are now unnecessary and get overridden by the layout anyway. Including the ones left over from the printer options conversion. Tweak things for 6/12 spacings. Change-Id: Ifb460fb966452c10a9ac08c6f8cd57b96a2166f0
2013-04-11Converted Tools->Options->(Web/)Writer->View dialogue.Pavel Kacer
Change-Id: Ifa11da48867303dbecd2ef104f2c0842aaeb5d72 Reviewed-on: https://gerrit.libreoffice.org/3325 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>