summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)Author
2012-05-28Translate German comments in sw/inc/swscanner.hxxPhilipp Riemer
2012-05-28Translate German comment in sw/inc/docufld.hxxPhilipp Riemer
2012-05-28Fix German "adjust left margin" comment in multiple files in ↵Philipp Riemer
sw/{inc/,source/core}
2012-05-25fdo#34772 Add word count to the status bar in writerMuhammad Haggag
This change adds a new status bar control, "SwWordCountStatusBarControl". The control shows the number of words selected as well as the number of words in the whole document. Double-clicking the control launches the modeless word count dialog. Change-Id: I756183ab1aaf4d059e782dfb05508370178cfbe3
2012-05-25Convert SV_DECL_PTRARR_DEL(SwDSParamArr) to boost::ptr_vectorNoel Grandin
Change-Id: I685a79cb14b0bb1d44d2013b3dd74150929cdf4b
2012-05-25Convert SV_DECL_PTRARR_DEL(SwPageDescs) to std::vectorNoel Grandin
Change-Id: I2301c1f237b1b08926c80942f459ba6062ed457d
2012-05-25Convert SV_DECL_PTRARR_DEL(SwFldTypes) to std::vectorNoel Grandin
Change-Id: Ia1f52f25680d3f970aa4f7f60a8e5203326a6796
2012-05-25Convert SV_DECL_PTRARR_DEL(SwTOXTypes) to std::vectorNoel Grandin
Change-Id: Ibf67e586082132f370659a4c79415d5928758d3a
2012-05-25Convert SV_DECL_PTRARR_DEL(SwNumRuleTbl) to std::vectorNoel Grandin
Could not use boost::ptr_vector here because the code manually moves objects around. Change-Id: I708270a967ee6663ab1f1ba8d7998c63fa698b8f
2012-05-25Convert SV_DECL_PTRARR(SwOLENodes) to std::vectorNoel Grandin
Change-Id: I384e152b89ed6951417296a5722f831f8ba7cb46
2012-05-25Convert SV_DECL_PTRARR_DEL(SwGetINetAttrs) to boost::ptr_vectorNoel Grandin
Change-Id: Iad3903162219e1b015c1266592e5ea742fa967d2
2012-05-25Convert SV_DECL_PTRARR_SORT_VISIBILITY(SwPosFlyFrms) to std::setNoel Grandin
Change-Id: Iba19e13b4402594023d9ce7c4d4fa3a9cdc9899e
2012-05-25Convert SV_DECL_PTRARR_DEL(SwRubyList) to boost::ptr_vectorNoel Grandin
Change-Id: Ib983bf7517a35392c0468cb763de67d5b45f4673
2012-05-25Convert SV_DECL_PTRARR(SwSections) to std::vectorNoel Grandin
Change-Id: Ie41c43dc0cb5b64240122e76df20ff1a57f8532a
2012-05-25Convert SV_DECL_PTRARR(SwSortKeys) to std::vectorNoel Grandin
Change-Id: I4596da43e75c0b8c91039786c739c017ee16b6f2
2012-05-23add libxml forward definitions instead of direct includesMichael Meeks
Change-Id: I33ffca788182cd24d148614ee03c5a884baccf84
2012-05-18writer UI: Decrease the size of the border around the document.Jan Holesovsky
This makes the horizontal scrollbar appear in smaller amount of cases, generally improving the user experience mainly on smaller screens. Change-Id: Ic4bf04484f26bd8be572512f6315ecc77d781d11
2012-05-17WaE: 'Impl' defined as a struct here but previously declared as a classTor Lillqvist
Change-Id: Ie1ca2df3e4b60c69a3c7860fe39aca4a505feffb
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
2012-05-15SwTableAutoFmtTbl: try to fix MSVC tinderbox:Michael Stahl
C:/lo/core/sw/inc\tblafmt.hxx(311) : error C2487: 'boost::ptr_container_detail::reversible_ptr_container<Config,CloneAllocator>::insert' : member of dll interface class may not be declared with dll interface Not really understanding what the problem is here, attempting to fix it by not deriving SwTableAutoFmtTbl from the container, and trying to get that to build somehow resulted in this commit.
2012-05-14Convert SV_DECL_PTRARR_DEL(SwTableBoxes) to std::vectorNoel Grandin
I added a GetPos() method because quite a lot of code used that method and the existing code is quite tied to the precise return values of that method. Change-Id: I9af6b923d978abe758b63d835f228495c020455a
2012-05-14Convert SV_DECL_PTRARR_DEL(_SwTableAutoFmtTbl) to boost::ptr_vectorNoel Grandin
Change-Id: I1c92f9d77723979a9d16e9114282dec8d3566de6
2012-05-14Convert SV_DECL_PTRARR(SwEvtLstnrArray) to std::vectorNoel Grandin
Change-Id: Ifd81de26432d2e7ceed1a643e3c2009e97f8a5b2
2012-05-14Convert SV_DECL_PTRARR(ActionContextArr) to std::dequeNoel Grandin
Change-Id: I722fda99e8c13785c37fe20a89c1e7b6620b884d
2012-05-14Convert SV_DECL_PTRARR_DEL(SwAuthDataArr) to boost::ptr_vectorNoel Grandin
Change-Id: I7f0adc9e2e196652dd938c27630fb2e13f9900e3
2012-05-14Convert V_DECL_PTRARR_DEL(SortKeyArr) to boost::ptr_vectorNoel Grandin
Removed the copy constructor because it was dangerous, it could result in accessing an SwTOXSortKey object after it was released. Removed the operator= because it was private, and no longer used. Change-Id: Ifaf21cbbad5f8b9cabddcc3009e4ed776b1fdd71
2012-05-14Resolves: fdo#49897 add+use SwDoc::containsUpdatableFieldsCaolán McNamara
Change-Id: I03ab6367a40ddc5748a499c4e2c7f108a3ef8a08
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
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