summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23Disable HTML export "hspace" and "vspace" check on OSXTomaž Vajngerl
Change-Id: I3c15d51f390bd7bed1d8738befda2a7476b3495a
2014-09-23Keep files of failing tests aroundStephan Bergmann
(Arguably, such files should be stored in a workdir/CppunitTest/... directory removed and freshly created before every test run, instead of in TMPDIR.) Change-Id: I1e5928db399e6ed39143ebfd3844c7dd46820537
2014-09-23DOCX filter: roundtrip SDT properties on Frame TextPortionsMiklos Vajna
Change-Id: Icb3dc9595a025c4386577d858c8ca96e2f9bbef7
2014-09-22CppunitTest_sw_tox: move this into the extras directoryMiklos Vajna
That's where all the remaining tests using the public sw API live. Change-Id: Iaffd411d704b42e5b88299d00a6c4b6226e2bd4d
2014-09-22Revert "Related fdo#81475 Improve toolbar tooltips in Writer standard toolbar"Jan Holesovsky
Unfortunately this breaks the Edit menu - it is now crowded with long texts; so while it may improve the toolbar, it definitely breaks the menu. This reverts commit b59c5ace4b7213ffd62495d0c0e5b6411f5071be.
2014-09-22sw/qa/README: document that complex/unoapi are Java testsMiklos Vajna
Change-Id: Ibaeefe795c8318824fe3d158871eae0477ef0fc4
2014-09-22DOCX import: ignore SDT as well in to-be-discarded header/footerMiklos Vajna
Change-Id: I53388e8b8ca71a3ad5d0b3e22dd60c642cb1f4b7
2014-09-22wae: unused variable 'sOut'Tomaž Vajngerl
Change-Id: I222b76a736805c795dcb9c866f1e20734d83ba84
2014-09-22Fix fdo#38884 Improve Up/Down movement in writerJuergen Funk
- It was provided, but the X-Position was reset after the cursor Up/Down - But in the Table is the X-Position not right -> other bug Change-Id: I2d70b7dc4ffa1e2612330d9b30ea5d916f5a9439 Reviewed-on: https://gerrit.libreoffice.org/11500 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-22fdo#84086 Fix assorted use-after-free bugsMatthew J. Francis
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65 Reviewed-on: https://gerrit.libreoffice.org/11553 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-22werror: ‘nDirection’ shadows a member of 'this'Tomaž Vajngerl
Change-Id: Idb56ef8327164f22379b732f9507e0b255b0998c
2014-09-22Test HTML export of images & image properties.Tomaž Vajngerl
Change-Id: Ib0bffab0e653dc9ad0cc5367fdbc6bdee02181d2
2014-09-22html export: rework image output to use HTML writerTomaž Vajngerl
Change-Id: Iead3f0f49b93453bd45f07f047978cb92d279d21
2014-09-22html: line break <br/> - use XML style single element declarationTomaž Vajngerl
Change-Id: I2e2b7fb85bd272a45d973c29f792c54aa7be0a82
2014-09-21fdo#58189 : EDITING: Wrong Chapter Moves with the NavigatorUlrich Kitzinger
During DnD, the target of the dropped node is wrong when dropping after the first node. That's because no key is calculated for position 0 (= the first node). All the other key-finding methods (eg in Collapse and Expand) don't check for 0. Change-Id: I33b1b4f27a342dc40b37fe1fbaedeb7553a37ece Reviewed-on: https://gerrit.libreoffice.org/11200 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21fdo#83953 Jump to next change when accepting or rejecting a changeSamuel Mehrbrodt
Change-Id: I08f4e2ddd75f1b24ef9799e8703a5fbee85734e7
2014-09-21Related fdo#80538 Re-adding toolbar separatorsYousuf Philips
Change-Id: I29c2171495c0419fa5b6a7b99725d6098331afd0 Reviewed-on: https://gerrit.libreoffice.org/11523 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21Related fdo#81475 Improve toolbar tooltips in Writer standard toolbarSamuel Mehrbrodt
and show the shortcut in the tooltip also when there is a custom tooltip Change-Id: Ia3f5d17df3769479f7aacf63a83507ccb8593103 Reviewed-on: https://gerrit.libreoffice.org/11303 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21fdo#81475 New layout for Writer standard and formatting toolbarsSamuel Mehrbrodt
Change-Id: Ia605e314d68771864a6eae00ee24bd1959076bee Reviewed-on: https://gerrit.libreoffice.org/11301 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21handle docx's w:anchor layoutInCell attribute (bnc#891663)Luboš Luňák
Change-Id: I8268567b84aa0f6e42624bfd0f79c8c49c153edd
2014-09-21Avoid manual realloc()Miklos Vajna
Change-Id: I456a2d29daecf8dee14d109ca39a97c5bf461539
2014-09-19consider following redline as wellCaolán McNamara
a) In word each range that character properties affect are just stored by their end. So the range is from the last end to the current one. b) In word the paragraph end marker is a real character, in writer it is not. c) So for redlining if a paragraph is redlined, but the previous one is not then the redlining propes of the 2nd para will affect the end marker of the previous one if the previous char properties do not include the para end mark. We were currently handing the case where a paragraph end mark *is* inside redlining and including it in the char property range, but we were not considering the case where the paragraph end mark is *not* inside redlining but the following paragraph *is* to get the end of the previous paragraph not part of the following paragraph character run, we emit an empty char section of it for this case. Change-Id: I816335067f60d1d9332bfdb1117fb1448b564972
2014-09-19refactor IsRedlineAtEndCaolán McNamara
should be no logic change, just added a comment as to what is going on here and ready for extension Change-Id: Ibf1a3893ece9a09ad342bb06f39e119c1340e0db
2014-09-19fdo#62947 make IDs unique, fixes, better namesTomaž Vajngerl
Change-Id: I6cbfd43f037fe89e0f753c67c9368b981b85bd35
2014-09-19fdo#83728 DOCX import: fix table alignmentMiklos Vajna
Regression from 614b31615e69b527e669635245cf59faf9c9e2fc (Use NS_ooxml::LN_Value_ST_Jc_{right,end} constants, 2014-09-05), one more remnant from doctok. Change-Id: Ibab68eada337a3fe1bc919987a09a8b146f86ac9
2014-09-19Missing dependenciesStephan Bergmann
Change-Id: I324da4e8ea3ae0a23cf25025fda9d316d2e6c007
2014-09-19Bug 62947 - UI Add.. in WriterBabu Vincent
Change-Id: I7eec133246f39ce1348eddf564f30c7b4adfe3cf Reviewed-on: https://gerrit.libreoffice.org/11545 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-09-19SwCursor::SelectWordWT: include comment anchor character of a commented wordMiklos Vajna
In case the user double-clicks on a word and exactly that word is commented, then we used to select only the word, but not its comment anchor character. So when the user deleted the selection, the comment left there. It is still possible to manually select only the word, but on double-click let's just select the comment anchor as well, so a simple double-click on the commented word will remove the comment as well. Change-Id: I7322af61c31e8aba108eef5596849d17d55fc7eb
2014-09-19Improve test for inlined html imageMatúš Kukan
Change-Id: I7063a50987b018b9a00bc542ae5ed1b963b17dd8
2014-09-18typo: wrong commit hashMatúš Kukan
Change-Id: If2e81662c9d83d14dccda13fa66e87898757ce96
2014-09-18CppunitTest_sw_ooxmlexport: unused includesMiklos Vajna
Change-Id: I0b53dabffe355c9070660a3d4048bd1624216399
2014-09-18DOCX import: fix handling of dropdown SDT around cellMiklos Vajna
There were two problems here: 1) The CT_SdtContentCell handlers didn't emit the usual NS_ooxml::LN_CT_SdtBlock_sdtContent / NS_ooxml::LN_CT_SdtBlock_sdtEndContent tokens, so the dropdown control was not created (and then was created with the wrong anchor). 2) In case the SDT was around the cell, the newline character was also added to the text of the currently selected entry, resulting in an invalid argument of SwXText::convertToTable(), so no table was created. Change-Id: I4806626181f40c6d26ff7b25f5dbb863967d8077
2014-09-18HTML import test for image inlined in 'src' attribute (related: fdo#50763)Matúš Kukan
Fixed in 72703173066a2db5c977d422ace59d60b998bbfc Unfortunately the test does not really ensure it works now :-/ but still probably better than nothing and can be fixed potentially. Change-Id: I563b46c62d256c58a63f36443a5431603169c3f6
2014-09-18HTML import: fix importing of inlined images (related: fdo#50763)Matúš Kukan
Regression from 3914a711060341345f15b83656457f90095f32d6 Change-Id: I0523d2b07dc33c74caa711cf7aae274c935f8eed
2014-09-18Remove special case which is handled differently nowMatúš Kukan
Since 3914a711060341345f15b83656457f90095f32d6 rGrfName is empty. It was added in 363f1c1462963f6f032de07649dc9c4d02b4e446 Change-Id: I4ec3b432399708db4acb6af1af69df4c0aaa181c
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17TyposJulien Nabet
Change-Id: Icf850c4b7b146a82a5638a3cd88ad02f3171aff3
2014-09-17sw: html import test: local images shouldn't be file links (bnc#580834)Matúš Kukan
Change-Id: Id35e03a3f814609e40e4beea778e66cce39054d1
2014-09-17bnc#580834: HTML import: Embed images if source URL is a local file.Matúš Kukan
Use also INET_PROT_FILE to determine whether to import images as links. Change-Id: I072be21086505f6300463e4e3cfb276cbe506803
2014-09-17WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: Ic7f3e661a4824cca06fc16f2b1f23a2873ef4ecf
2014-09-17MSWordExportBase: ignore empty annotation marksMiklos Vajna
Change-Id: I182700a7b74aa65a1eeb39ff702f068a10dd3346
2014-09-17Fix Windows build - the same thing in Writer.Jan Holesovsky
Change-Id: Iba40d99dd6c162f20ca35e5a937b7c5ee3d2e126
2014-09-17callcatcher: update unused codeCaolán McNamara
Change-Id: I2ddda0600ee876e9886ee3221f0ac5ad515fbd22
2014-09-17SFX_ITEM_SET to SfxItemState::SETTomaž Vajngerl
Change-Id: I95dc8872d702cbe63d5fdab10a9ddd0e86d49e06
2014-09-17Remove redundant class SvxLineColorToolBoxControlKrisztian Pinter
Change-Id: I882ee959baae429307218d3076a2a198ff960ddd
2014-09-17Make it easier to add new color attributes to GetDocColorsKrisztian Pinter
Change-Id: I2098892fc44c7a8bde1eb30f6db1709e58925577
2014-09-17Fix build errorKrisztian Pinter
Change-Id: I5c992189dc21683fc9e5244f4824d7c42e4ed9cd
2014-09-17Get more color attributes for document colors in WriterKrisztian Pinter
Change-Id: I2005b434f20a56417105c7b26ce09155a7023023
2014-09-17Remove unnecessary includeKrisztian Pinter
Change-Id: I46c7af376aacb824a0d4298674423cc227b592f3