summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)Author
2012-05-05Resolves: fdo#49342 crash merging cells, revert conversion to std::mapCaolán McNamara
3af0c948254751eade9bff772b849720747c5494 868bd3b778b6c7b970c67d1dacc469967f69e551 b2e84f9a40fda7821d4e658f9102bcbc783a1ba3 7264d2767095150944ff1e6999c71be1dbdc6f83 858b5b4f36a357fe7192e7c2ed9cc3cdfc81fd8f The problem is that a paragraph gets added to the document after the TableBox selection is created, which changes the node ids of the following paragraphs in the TableBox but the map has used cached SttNd value as its key, so it can't recognize nodes using the new index. This worked in the old implementation because that was effectively a sorted-vector, so probably the best conversion to stl is a sorted vector Change-Id: I1143d843b872eee15b016f82b68ecc020969f1b5
2012-05-03remove obsolete READ_OLDVERS table autoformat codeMichael Stahl
2012-05-03fdo#31005 Table Autoformats do not save/apply all propertiesMuhammad Haggag
This change expands the number of properties supported by autoformats, mainly for Writer. Some improvements affect Calc as well (e.g. border styles are now preserved for Calc). Common: boxitem.hxx, frmitems.cxx * Added a new version for SvxBoxItem serialization that includes border styles. * Updated SvxBoxItem and SvxBorderLine serialization logic accordingly. Writer: fmtornt.hxx, attrfrm.cxx * Added serialization/deserialization logic for SwFmtVertOrient. Writer: tblafmt.hxx, tblafmt.cxx, ndtbl.cxx * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50. * Autoformats now record the text orientation and vertical alignment of table cells. * Autoformats now record the following table-level properties: - Break - Keep with next paragraph - Repeat heading - Allow table split across pages - Allow rows to break across pages - Merge adjacent line styles - Table shadow Calc: autoform.hxx, autoform.cxx * Added support for reading/writing writer-specific data as binary blobs. * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50.
2012-05-02finish handling of w:pStyle in numbering (bnc#751028)Luboš Luňák
Now each such numbering should be properly assigned to the given paragraph style. Change-Id: I97a796dfb3f4a46f0fee0663852b3a40c3eaa922
2012-05-02Remove GoPrevSentence indicated in unusedJulien Nabet
Change-Id: I492677ed33cf21404b22c2d8770fe32d2cac3839
2012-05-01Related: fdo#49208 don't copy string if we can reuse the originalCaolán McNamara
Change-Id: I95d82ce168fd1790107316460f6ddbd9f6b32e18
2012-04-30WaE: unsafe mix of sal_Bool and boolCaolán McNamara
Change-Id: I753ee58e5999f9ba0da5adeaba7800b76f7f4d68
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-25Convert SV_DECL_PTRARR_DEL(SwColumns) to boost::ptr_vectorNoel Grandin
2012-04-25Convert SV_DECL_PTRARR_DEL(SwSelUnions) to boost::ptr_vectorNoel Grandin
2012-04-25Remove data structures there dead i.e. not doing any actual workNoel Grandin
2012-04-25Convert SV_DECL_PTRARR(SwChartBoxes) to std::vectorNoel Grandin
2012-04-25Convert SV_DECL_PTRARR_DEL(SwChartLines) to boost::ptr_vectorNoel Grandin
Had to use a class for the typedef declaration because the data structure is referenced in other header files.
2012-04-25_FndBoxes was a PTRARR_DEL so use ptr_vectorMichael Stahl
2012-04-25Convert SV_DECL_PTRARR_DEL(_FndLines) to boost::ptr_vectorNoel Grandin
2012-04-25Convert SV_DECL_PTRARR(_FndBox*) to std::vectorNoel Grandin
2012-04-19Revert "do not include contents of huge sc/sd/sw libs into tiny unittests"Luboš Luňák
The need to export symbols for tests is apparently not considered worth the big extra disk space. This reverts commit 69d46dd7a6adfffd71da055bb65108c80d27395f. Conflicts: sd/CppunitTest_sd_uimpress.mk sw/CppunitTest_sw_swdoc_test.mk
2012-04-15writer redlining unit test starts to do something usefulMichael Meeks
2012-04-11UniString->rtl::OUStringCaolán McNamara
2012-04-10move include out of editsh.hxxMichael Stahl
2012-04-07do not include contents of huge sc/sd/sw libs into tiny unittestsLuboš Luňák
This decreases debug build dir size by about 0.5G for gcc and 1G for clang.
2012-04-06optional argument is always providedCaolán McNamara
2012-04-05Resolves: fdo#45271, i#17964 count CJK words the way that's expected by usersCaolán McNamara
2012-04-02Convert SV_PTRARRAY to ::std::dequeBartosz Kosiorek
2012-04-02convert Suffix/Prefix to rtl::OUStringCaolán McNamara
2012-04-02refactor the Rewriter rules using enumsCaolán McNamara
2012-04-02remove static objects from static_initialization_and_destruction chainCaolán McNamara
2012-03-28fix of commentsMaxime de Roucy
fix some comments made in 31b7640f7137964916062e64fca18869a18f5118
2012-03-28add GetCurParAttr and GetPaMParAttr in SwEditShellMaxime de Roucy
GetCurParAttr : Get the paragraph format attribute(s) of the current selection. GetPaMParAttr : Get the paragraph format attribute(s) of the selection(s) described by a SwPaM. The advantage of these methods is that the take the named and automatic format attributes.
2012-03-21fdo#45522: WW8TableInfo::processSwTable: check that table has layoutCaolán McNamara
2012-03-21BigPtrArray: deploy some assertsMichael Stahl
2012-03-20reduce UniStringsCaolán McNamara
2012-03-20toxinit.hxx included by nothingCaolán McNamara
2012-03-20remove extra string castsCaolán McNamara
2012-03-15SwEditShell : use of the STL swap functionMaxime de Roucy
2012-03-15rewrite and comment SwEditShell::GetPaMTxtFmtCollMaxime de Roucy
Classe SwEditShell. Add some doxygen description for GetCurTxtFmtColl and GetPaMTxtFmtColl. Rewrite of GetPaMTxtFmtColl in order to comment and simplify the code.
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-12SvxULSpaceItem: implement contextual spacingMiklos Vajna
2012-03-09sw: doxygen comments for SwTxtFmtColl, SwFlowFrm, SwTxtFrmMiklos Vajna
2012-03-08tidy up SwBreakItCaolán McNamara
2012-03-08fold i18npaper into i18nutilCaolán McNamara
It's too small to justify standalone existence. We can accumulate i18n things we link to directly into i18nutil and rework i18npool uno implementions in terms of thin wrappers over i18nutil and prefer linking to i18nutil internally and leave the uno forwarders for use by external components and scripting
2012-03-08de-uno-ize ScriptTypeDetectorCaolán McNamara
leave a UnoScriptTypeDetector implementation that points to the trivial ScriptTypeDetector for external consumers, e.g. sdext
2012-03-08ditch SW_XBREAKITER defineCaolán McNamara
2012-03-08tidy up WW8FormulaControl, with knock on results elsewhereCaolán McNamara
2012-03-03fdo#39694: SwTxtFld: do expand the field in the ctorMichael Stahl
While only the text formatting is able to expand all fields correctly, this is still good enough for many field types and fixes a race condition when the field value is requested before layout is finished. (regression from CWS sw34bf01, 8485708f3001fca132c3353c464fe7187ef62bed)
2012-03-02Convert SvPtrarr usage to std::vectorNoel Grandin
In GetBookmarks and Writer_Impl pFontRemoveLst field. Remove unused field pBkmkArr in Writer_Impl class. Convert SwBookmarkNodeTable to std::multimap, greatly simplifying code.
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-28convert some low hanging fruitCaolán McNamara
2012-02-28SfxStyleSheet needs a default ctorCaolán McNamara
due to use of ImplInheritanceHelper2 SfxStyleSheet needs a default ctor, though its never called. rearrange things a little so we can have an empty ctor without pulling in a bunch of code which is never executed
2012-02-27Resolves: fdo#46038 don't copy page styles into temporary clipboard docCaolán McNamara
writer rtf export has a nasty pgdsctbl extension sd rtf import has nasty "if its got a table keyword in it its a table" logic Classically we never put our styles into the temporary clipboard, so fastest and safest fix is to simply skip putting the page styles into it.