summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fdo#43641 oox: initial import of lc:lockedCanvasMiklos Vajna2013-06-205-1/+145
| | | | | | | | If that canvas contains a single shape, the result looks OK. If it contains a groupshape, we also import something, but then the position / size is still to be improved. Change-Id: Ic4e4c08016a05a5e3acb005c3a642981ba4fb16d
* fdo#43641 writerfilter: tokenize lc:lockedCanvasMiklos Vajna2013-06-202-0/+24
| | | | | | | These are just the minimal changes, so that writerfilter calls into oox::shape::ShapeContextHandler, which does the real work. Change-Id: Ia53731ac8592964b70e8a438ed09262463c05360
* fdo#43641 oox: add support for the lockedCanvas namespaceMiklos Vajna2013-06-202-0/+2
| | | | | | | | The plan is that once these are here, the writerfilter ooxml tokenizer can refer to them. And then the writerfilter will call back to oox to do the real drawingml import. Change-Id: Ibc0d9838f3db717004a3bc8b80a408a39c8f0886
* Turn redundant member direct-initializations into value-initializationsStephan Bergmann2013-06-203-3/+3
| | | | | | | | | | | | | | ...the direct-initializations were introduced with 032d5126e41562917b91b8f4826b0be628169968 "cppcheck: fix some uninitMemberVar in configmgr part," presumably to avoid false positives from static analysis tools. But the initializations are redundant, as the invariants of the affected classes imply that the members have meaningful values at their points of use. And the direct-initializations with arbitrary values make it harder for a maintainer to understand the relevant invariants, namely to ensure the members must have been assigned /meaningful/ values by the time they are used. Give a (subtle) clue by making those into value-initializations. Change-Id: Iadb25fa08b6d6b12d5bf8a8f04271270b6a7f7cb
* quote $ for files from filelists tooDavid Tardon2013-06-201-7/+7
| | | | Change-Id: Ice814ea226ddac24325770d038e019e19bc635ce
* simplify bodynotinblock plugin using parentStmt()Luboš Luňák2013-06-202-47/+43
| | | | Change-Id: Ia2fe10af2ca555c7b88348e7ed571f1176586580
* simplify postfixincrementfix plugin using parentStmt()Luboš Luňák2013-06-202-67/+27
| | | | Change-Id: I93fa422afe7f3e1e10576dd64af9d57b2302f44e
* make it easy to get a parent of an AST nodeLuboš Luňák2013-06-202-0/+74
| | | | | | | | Clang API doesn't provide this, but it's occasionally needed, and so far the way has been inspecting the highest possible node in AST and walking down and remembering, which is complicated, error-prone and annoying. Change-Id: Id5b72cb5ebfc069e90efe6d673c0ef18ebcdab61
* do not try to install helppacks that were not builtDavid Tardon2013-06-201-1/+1
| | | | Change-Id: I0156c38e71fe46ea599a8366b953d429dfa424bb
* Fix calculation of internal leadingKhaled Hosny2013-06-201-1/+1
| | | | | | | | | | Stupid me, I totally messed this up! God only knows how many non-bugs people had to fix because of this typo. Has the side effect of fixing fdo#64972 (among many others of course, but this is the only one still open). Change-Id: I9d8fdb6d37d4af9b0ac973902e469e0bd3a2408a
* fdo#62536: sw: fix AutoCorrect bold/underline on existing AUTOFMTMichael Stahl2013-06-203-5/+34
| | | | | | | | | | | | | | | | With the native AUTOFMT in Writer the SETATTR_DONTEXPAND does no longer work reliably: if there is an existing AUTOFMT at the position then it will be modified and no new hint with DontExpand will be inserted. Work around this deficiency by inserting a no-length hint with the preivous formatting at the end of the range. (similar fix to the i#75891 problem in SwTextShell::InsertSymbol) (commit 062eaeffe7cb986255063bb9b0a5f3fb3fc8e34c did not introduce the problem but made it far more annoying) Change-Id: I58ece7f5bd5a786b22a066e5902f1784dafa5dce
* fdo#52028: sw: let text formatting ignore RSID in automatic stylesMichael Stahl2013-06-2013-38/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A suprising regression from 062eaeffe7cb986255063bb9b0a5f3fb3fc8e34c: The RSID text attributes that are inserted for every user-inserted text cause the text formatting (SwAttrIter) to create a lot more text portions, and the portion breaks make font kerning impossible. This is the only way i can think of to fix this problem; alternatives that don't work are splitting the RSID out of the AUTOFMT hint into a separate one and combining them in the sw UNO wrappers (fails because SwXAutoStylesEnumerator actually does need to enumerate every AUTOFMT including RSID), trying to detect and ignore them just in the text formatting (the SwAttrIter cannot easily/cheaply detect when it's allowed to skip), and having an internal subdivision inside the AUTOFMT hint (one subsection for every RSID change) (which does not work because it cannot ignore RSID-only AUTOFMTs completely). Solve the problem with 2 additional flags on AUTOFMT and CHARFMT attributes: FormatIgnoreStart and FormatIgnoreEnd, which indicate to SwAttrIter::GetNextAttr() that the start or end of the hint should be ignored, so that effectively it is merged with the preceding/subsequent hint. Of course the UNO API does not respect the flags so we can store the RSIDs in automatic styles. The flags are maintained in SwpHints::MergePortions, which detects both RSID-only AUTOFMT hints (which can be ignored completely), and the situation of N CHARFMT hints + AUTOFMT hint vs. N CHARFMT hints + AUTOFMT hint where the AUTOFMT hints differ only in their RSID attribute. This means that MergePortions needs to be called more often now, in cases where the ignore flags may have been invalidated, such as: - insertion of text with possible DontExpand flag set on hints - deletion of hints - SETATTR_NOHINTADJUST mode Change-Id: I1fb95a87c654c67d114f6f7f2c43b847c50b0ffa
* sw: implement proper Undo for SwDoc::UpdateRsidMichael Stahl2013-06-206-45/+75
| | | | | | | | | | | This is annoying because it's not possible to use StartUndo/EndUndo because that would break grouping via SwUndoInsert::CanGrouping(); also SwUndoAttr is somehow incapable of removing the inserted hints of a grouped insert (it seems to leave no-length hints behind); so add an explicit call to DeleteAttributes which should avoid the no-length hints. Change-Id: I1533daed9b2cf59886f380141b4eace4b22c15e0
* libmwaw: fix infinite loop in findCentralDirectoryEndMichael Stahl2013-06-202-0/+33
| | | | Change-Id: I36ec7ad735fa15cfda88167b11a922883ef2bb72
* Resolves: fdo#65930 line height needs to be calculated in ctorCaolán McNamara2013-06-191-13/+13
| | | | | | | we need to know that right from the start, not after the first layout event after shown. Change-Id: If7cc12cdf3e83913f0162fe34b376196162f6a45
* Resolves: #i120023# RTF export certain special copy-and-paste scenariosOliver-Rainer Wittmann2013-06-191-1/+14
| | | | | | | | | (cherry picked from commit d70e1e8ea81a942875f91fdef75d3e39fba42eff) Conflicts: sw/source/filter/ww8/rtfexport.cxx Change-Id: I845f3f2bebe411969483a53c45ef9413f7f1b903
* bodge callcatcher some moreCaolán McNamara2013-06-191-0/+2
| | | | Change-Id: Ie2e126700540cbec2a94f40250b2a114d1ea9306
* WaE: for higher debugging levelsCaolán McNamara2013-06-194-17/+2
| | | | Change-Id: Ibcf081c0c64381e8c188764f036687a8bfc0ea0e
* Start translating German comments, fix some WSPhilipp Weissenbacher2013-06-191-77/+74
| | | | | | | Change-Id: Ia53a9283fcb8f75386ec23ab3a3df5195a9995df Reviewed-on: https://gerrit.libreoffice.org/4365 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Translate German comments, fix some WSPhilipp Weissenbacher2013-06-191-305/+217
| | | | | | | Change-Id: Ic52fc416aea9d1ca7235613aed7cf494f17ae21a Reviewed-on: https://gerrit.libreoffice.org/4361 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* bodge callcatcher build back to half-lifeCaolán McNamara2013-06-192-8/+10
| | | | Change-Id: I91393aa912bd69f3fbeb67d895ff7d8021effccb
* Missing importStephan Bergmann2013-06-191-1/+1
| | | | | | | Regression introduced with 64e85a4cc8259a7d80c781e6698a8f30e7e0151d "Java cleanup, remove unused imports." Change-Id: I843cf651e20d2dd410f481222aca5206e0166a30
* Remove unused, broken ruleStephan Bergmann2013-06-191-3/+0
| | | | | | | | That rule was broken as it did not quote $@ which could be a pathname containing "$", but it is unused anyway since 41efa1535827b3dfef66ed4ce6c20e85081fe060 "use GeneratedPackage to deliver uno loader classes." Change-Id: I4e5a15be8e4acca3d5be0c1b228f6c324d12331c
* Rework code after OUString'ificationMatteo Casalin2013-06-191-15/+11
| | | | | | | Change-Id: Ic93472b0621a13a777d37cfacc4230630f88a6ac Reviewed-on: https://gerrit.libreoffice.org/4214 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* sal_Int32 as long on 32bit, how we hate theeCaolán McNamara2013-06-191-2/+2
| | | | Change-Id: I702509c7ad9dd3e84feb6d880264df36afe3c5b3
* Resolves: #i121810# Adapt SfxPrintingHint to work with...Ariel Constenla-Haile2013-06-193-25/+48
| | | | | | | | | | | | the "new" XDocumentEventBroadcaster (cherry picked from commit 1bfae56dd9d633a80924bfeefc03368100d75a8f) Conflicts: sfx2/inc/sfx2/event.hxx sfx2/source/view/viewprn.cxx Change-Id: I6b3e1edc396b82d85fe059e6cdf7ad0009d5b94b
* Resolves: fdo#65908 #i114817# missing PrintableState_JOB_STARTED notificationAriel Constenla-Haile2013-06-191-24/+23
| | | | | | (cherry picked from commit 914cb68eed75ee8aa38fbf48d029057a66a21f30) Change-Id: Icb7c304b856cfca7f80090c2d193a0b92a27bb30
* Resolves: #i122497# Filter D&D flags for calc D&DArmin Le Grand2013-06-191-4/+10
| | | | | | (cherry picked from commit 73a9e800ff4f61058750acb6840af780a0505b49) Change-Id: I47975b23d7ef920de24f92d6ba12bae1233b2f38
* drop unused helpidsCaolán McNamara2013-06-191-1/+0
| | | | Change-Id: Ic2cb501330b22227c05b303750152619c4b4abb0
* Updated coreCaolán McNamara2013-06-191-0/+0
| | | | | Project: help fd638f9abaea98e5a5f788b24faedc45fe01ec1e
* expand scheme to share sizes for paragraph dialog preview widgetsCaolán McNamara2013-06-199-138/+217
| | | | Change-Id: Id1ded6828468ff956c83eb57f1da62fd80761b5d
* use GeneratedPackage to deliver uno loader classesDavid Tardon2013-06-193-26/+17
| | | | | | | | | This is a workaround for problems with file names containing $ in gbuild. And it does not matter much in this case, because the classes are never used during build, so there is no need to have exact dependencies. Change-Id: Ibeb30257a62ed13744dc4fe987830d1e5a4102b0
* Mark as staticTakeshi Abe2013-06-191-2/+2
| | | | Change-Id: I09a76b4c6ad0e63663c2628e5ad957d203e0283c
* Mark as constTakeshi Abe2013-06-192-3/+3
| | | | Change-Id: Ib7f8aeeca64868fa2037145613023a6abfef7648
* sal_Bool to boolTakeshi Abe2013-06-196-43/+43
| | | | Change-Id: Ic0597f42b6f0a637e0a3fdfa7972cbe67272c65d
* Convert Drop Caps tab page to UI widgetsOlivier Hallot2013-06-197-340/+522
| | | | | | | | | | | | | Conflicts: sw/UIConfig_swriter.mk Conflicts: sw/source/ui/chrdlg/drpcps.cxx Change-Id: Ic66f367d23b84666dd0165108c405b5b625b798b Reviewed-on: https://gerrit.libreoffice.org/4236 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Call CheckContext() on OS X, tooTor Lillqvist2013-06-191-2/+0
| | | | Change-Id: I093586b0c979e492ea2a09dca9525b808de3ce70
* solenv/bin: remove unreferenced obsoleted scriptsMatúš Kukan2013-06-1926-2822/+0
| | | | | | | | | | And move striplanguagetags.sh to bin/ - possibly it's used. Change-Id: I68e23ef543f4e26f617d9860681273234ec9174c Reviewed-on: https://gerrit.libreoffice.org/4239 Reviewed-by: Mathias M <matm@gmx.fr> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Resolves: fdo#65931 why are we futzing with leading on the preview anywayCaolán McNamara2013-06-191-6/+4
| | | | Change-Id: I0eff88f165a737dfd9a2f348f04b17b6a6212e6f
* Fix warning: Value stored is never readTor Lillqvist2013-06-191-2/+2
| | | | Change-Id: Ic41fe1682f19c39faa0a2afc47c11b8a5bead212
* Fix warning: Value stored to 'eEncoding' is never readTor Lillqvist2013-06-191-1/+0
| | | | | | eEncoding is assigned again a few lines below. Change-Id: Ib475095bab30e0c2f066934a10cda650706c2c8a
* Add missing break statementsTor Lillqvist2013-06-191-0/+3
| | | | | | Found by Clang static analyzer: Value stored to 'prio' is never read. Change-Id: I7c0e90e5435b028f0a4b4bded304338cb57271cc
* fdo#64238: fix for missing footer bugAdam Co2013-06-196-32/+105
| | | | | | | | | | Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I328547c41bfc1a23f7e6233db57fbfa415e22cb3 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
* fdo#65870 fix changing shape height via dialogDavid Tardon2013-06-191-0/+1
| | | | Change-Id: I7c61be2c3d368dfd3ea66427c77636f797a7e88a
* fix copypastaDavid Tardon2013-06-191-1/+1
| | | | Change-Id: I7744acc8cf1e8b6cad05d22df43f3d5a5beaa2f6
* Add commentTor Lillqvist2013-06-191-0/+5
| | | | Change-Id: Id3ec71e8da07a8bf1c979585eb84cd5a9d6f7a77
* fdo#63616: Fix GetBoundRect for rotated text in CoreText backendTor Lillqvist2013-06-191-9/+30
| | | | Change-Id: I8c9ee84afd71481c2c6b002265b86e048f369f5c
* Don't use -d32 when building 64-bit codeTor Lillqvist2013-06-191-1/+1
| | | | Change-Id: I83a960cebb8347170a08d2fda7ed11050b8c4229
* bounds can be -1 for not-foundCaolán McNamara2013-06-191-0/+13
| | | | Change-Id: I941ef1dae00167460f2f0de39e472ed047539f27
* unusual negative start point on split node undoCaolán McNamara2013-06-191-2/+11
| | | | Change-Id: I787371e95d9787616ca713c808098b80e40acab0