summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08n#773515 SwPageFrm::PaintBorderAndShadow fix shadow color on partial redrawMiklos Vajna
How to reproduce: if you have a paragraph of text, and hit Enter in the middle of the paragraph, the frame around the document below the cursor position gets darker. Regression from f23d055dbee887ef9ebdf0a72b83ee1de91b7b8b. Change-Id: I41f9972b9be8d3ea02b52c0bc7355b012b41395d
2012-08-07fdo#51832: SwRedlineAcceptDlg: fix STL conversion:Michael Stahl
62b7606fddfef9e1a7645a2d3d605f1fa3aee263 wrongly converted the call to aRedlineParents.DeleteAndDestroy() in SwRedlineAcceptDlg::RemoveParents() and erases one element less than the old code, which results in access to deleted SvListEntry and crash. Change-Id: Ie2749cb3f17b36649adff46c166642fccde31329
2012-08-07remove bogus date informationThomas Arnhold
Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
2012-08-07remove empty ascii boxes and stuff IIThomas Arnhold
Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea
2012-08-07remove empty ascii boxes and stuffThomas Arnhold
Change-Id: Ied91b5b298f0cfad0d3408c3cbb87c7bd1b83247
2012-08-07String::AllocBuffer replacementsCaolán McNamara
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07Remove forwards of non-existing structsThomas Arnhold
Change-Id: Ie1d7ed56c69539587df5310c0a1ea0476abd5542
2012-08-07drop bogus eof linesThomas Arnhold
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07Remove non-existing forward declarationsThomas Arnhold
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07fdo#46193 MessBox was made copyableZolnai Tamás
Part of MultiLineEdit was moved down from stvools to vcl with name VCLMultiLineEdit. MessBox uses it to display the message in read-only mode. Some of svtools' classes - which are necessary to implement VCLMultiLineEdit - were moved to vcl as a whole, and their includes are rewrite. Note: ExtTextView and ExtTextEngine classes would be leaved in svtools if VCLMultiLineEdit is a template class, but two macros: IMPL_LINK end IMPL_LINK_NOARG make it impossible to use template syntax. Change-Id: I26543868d8081c225c7125404d23369de3c3afcd
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-05Bin OString RtfAttributeOutput::WriteHex (unusedcode.easy)Julien Nabet
Change-Id: I6c76d43319aec669982a9694e7f98e5ae1d1a4de
2012-08-05fdo#39468: Translate German comments in sw/source/core/docnode/ndcopy.cxxBertrand Lorentz
Change-Id: I6de2586d54d3e0938e2e9701885a043c76f686ae Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-04kill va_args abuse for SfxItemSetBjoern Michaelsen
Change-Id: I200addfdf551f1b8437b704c481d397c53440dcd
2012-08-03Translate German comments in sw/source/core/crsr/Bertrand Lorentz
Change-Id: Ib31c6c11162053a447112d76ed4580236fde92e8 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-03Related: fdo#46757 unsafe to pass expanded text to maskingCaolán McNamara
So, use improved ModelToViewHelper to remove the hidden text right from the start, which drops the need to mask out the hidden text and we can remove the nNumOfMaskedChars hack Change-Id: I3bd90598e496d4e82cd9cef4c8f9e61c180cb945
2012-08-03Related: fdo#46757 extend ModelToViewHelper for more casesCaolán McNamara
beef up ModelToViewHelper to be able to optionally expand fields, collapse hidden text and collapse/expand redline deleted text Change-Id: I6d4d0969102ad9699f7fafe091b2eff6a5707bc4
2012-08-03split CalcHiddenRanges into hidden text and redline deletion handlersCaolán McNamara
Change-Id: I17f0a5e0a076af86a49070debe2c4990fcd95e21
2012-08-02cntnrsrt.hxx: remove dead codeMichael Stahl
Change-Id: I004101e814ac3eb1de7a518c2dd9b1f14683eca8
2012-08-02STL'ify DECLARE_CONTAINER_SORT(SwXMLTableColumnsSortByWidth_Impl)Noel Grandin
Change-Id: Icd480f74dacb41d869fb511a0d2630d8b3711343
2012-08-02Revert "Revert "sorted_vector: turn Find parameter into template""Michael Stahl
This reverts commit 8291d41667b1a63d35bf818aaf9d75529e1f12f0. Un-revert that, with a tweak: with the bizarre name lookup semantics in C++, the proper way to refer to a template (as opposed to a template instance) is by prefixing the name with its namespace, which does seem to work with MSVC2008 & GCC 4.7; thanks to Stephan Bergmann for the hint. Change-Id: Id9cccbe68fb3ce2dd070c4b3dbd21782c92170ca
2012-08-02fdo#46020: fixed missing footnote docx/doc/rtf exportCédric Bosdonnat
Don't skip a next position when parsing a paragraph into runs to export. Change-Id: If7e887ea84ad24256b37aa96187bc30ea154632b
2012-08-02SwTxtPaintInfo::_DrawBackBrush: draw dark border around comment highlightMiklos Vajna
Change-Id: I71870301db74e4d0c1376c45eb8aadb3912c7ba0
2012-08-02strange header guardCaolán McNamara
Change-Id: I981e2e9f18b6ebde4d129746fdc30f360956848b
2012-08-02fdo#51034 testcaseMiklos Vajna
Change-Id: I9a7a4e596ffb14cdcb211ff0d905c66831d30708
2012-08-02fdo#52610: Fixed several docx export bugsCédric Bosdonnat
+ hyperlink starting before a field and ending in its results isn't valid. + when footnotes have hyperlinks we need to add the proper XML namespace and output the relations to a different file. Change-Id: I1c6cb8acba21c35e10bb0497eeaf96bbd73730d1
2012-08-02strip down UniString some moreCaolán McNamara
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02fdo#49892 testcaseMiklos Vajna
Change-Id: I22cae445e5a75563e3c69ac890126292358b9749
2012-08-01Remove unused code: those classes are unusedThomas Arnhold
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01Modifying comments to meet doxygen standardsAbdulmajeed Al-Abaulrazzaq
Change-Id: If7c4162a49a7c7b612b6f480f6fbba75727ae1df
2012-08-01Revert "sorted_vector: turn Find parameter into template"Michael Stahl
This reverts commit 3e3acee762fac71f7356ed1305a64e0278278081. It was a nice idea, but C++ is not yet ready for it; with the travesty of parametric polymorphism in C++ the find_unique inside the definition of find_unique actually refers to find_unique<Value, Compare>, so there is no way to actually refer to template<Value, Compare> find_unique inside its definition. Thanks to Luboš Luňák for explaining the problem to me. Somehow this does work in GCC 4.7 even with -std=c++98, likely by accident.
2012-08-01Fix for a236f8318a0e05caeec53ccbee8b134f44a98008Cédric Bosdonnat
To get footnotes sorted properly one need to: * actually use the comparator class * compare on the offsets value (and not there pointers) Change-Id: Ie86802c7a92602bfbb4d2a603afe06f621e392a3
2012-08-01sorted_vector: turn Find parameter into templateMichael Stahl
Enforces same type parameters for sorted_vector and Find, and makes it easier to use. Change-Id: Ide456a48f015cb0a9dea7a0bf2bcf2ccad527fd1
2012-08-01fdo#45724 testcaseMiklos Vajna
Change-Id: I27811a6e35cd07dd117831eb9dee177c54f9ff50
2012-08-01fdo#45724 fix WW8 export of textbox default background colorMiklos Vajna
regression from 5609c512cd4d2899300b432d88d93cff05a05c87 Change-Id: I5f3ce73943b2805b7de1ae41699e605af9086b15
2012-07-31SwpHintsArray::DeleteAtPos: Apple GCC unused variable warningMichael Stahl
Change-Id: Idc56569da52554a5478fc23548b8d3395648a2bf
2012-07-31convert SwSortElements to boost::ptr_multisetMichael Stahl
Change-Id: Ia52f23a4bdad60a89c70e47089a82ef5dbd8dfda
2012-07-31SwHTMLPosFlyFrms: fix STL conversion:Michael Stahl
It appears that the operator== for SwPosFlyFrm always returns false, so cf0e08c6b8d739b8b17dc533efc3e12505b2d5a9 changed the semantics; use std::mulitset to fix it. Change-Id: Ib7a8ebe56e146d21c265e60ad68c6b4a319dfe98
2012-07-31SwContentArr: fix STL conversion:Michael Stahl
It appears that the operator== for SwContent always returns false, so 81181891c93faee024799991317ac2c451f4c0c4 changed the semantics; use o3tl::find_partialorder_ptrequals to fix it. Change-Id: Ib4f040f03a9eaeec9a2973f5a93a22a387232017
2012-07-31SwHTMLPosFlyFrms: fix STL conversion:Michael Stahl
It appears that the operator== for SwHTMLPosFlyFrm always returns false, so fbabbcefd8f8575c7b08c7a7ac7fe0b665038214 changed the semantics; use o3tl::find_partialorder_ptrequals to fix it. Change-Id: I43797d62eb95a6c5012dd486fab98a0a8b88b768
2012-07-31_SwRedlineTbl: fix STL conversion:Michael Stahl
It appears that the operator== for SwRedline does pointer equality check, so ddd84d08c9bb6e00fbd9a73bd52a28688a8c1ba7 changed the semantics; use o3tl::find_partialorder_ptrequals to fix it. Change-Id: I8d4a13da9543ef8a7f6e38c05eef3a2c9918e421
2012-07-31_SetGetExpFlds: this looks simpler with upper_boundMichael Stahl
Change-Id: I37dd291aaa229493141fbb8b426488e8e4427185
2012-07-31SwpHintsArray: deploy some assertsMichael Stahl
Change-Id: I16f416cb63221860ff743ce2e2291af99cd19de2
2012-07-31fix some problems in previous STL conversion:Michael Stahl
- use o3tl::find_partialorder_ptrequals to allow multiple hints on same position - GetPos must not dereference its argument - unused IsEquals Change-Id: I274203be96ff90d1e9a46bab17fd00355514a4fa
2012-07-31sw: convert SwpHtStart SwpHtEnd to sorted_vectorNoel Grandin
Change-Id: I74696094ef066687582bd961d61a4877673016fd
2012-07-31SwRedlineItr: convert to STLMichael Stahl
Change-Id: Idf3031a0a39d9154ba2894684ea51125553776b3
2012-07-31n#772094: pictures was eaten by document default LR settingsCédric Bosdonnat
Why should we take care of LR Space for SwNoTxtNode... those are images-like contents that don't contain text. Change-Id: I58f6d77efc01febf422073032802f57c5158a034
2012-07-31sw: fixed a few commentsCédric Bosdonnat
Change-Id: Ibe34d977df2b2db42d60e45177865c0a6d11c643
2012-07-31sw layout dump: fix wrong output for SwNoTxtFrmCédric Bosdonnat
Change-Id: Id795d845a6330be9ffe6f7af5cfd592f66e08387