summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
AgeCommit message (Collapse)AuthorFilesLines
2015-12-24remove (now) unused functionfeature/unostyles2Bjoern Michaelsen1-2/+0
Change-Id: Iddf0fce5343abeb199cb5d0c37d933d68c0e4c6a
2015-12-24refactor SwXStyle::ApplyDescriptorPropertiesBjoern Michaelsen1-12/+10
Change-Id: I219e75082c655a0895c75932863e596fcfccc656
2015-12-24refactor SwXStyle::getPropertySetInfoBjoern Michaelsen1-68/+10
Change-Id: If2ecee5c0e97c3955cffe4eb23d2bf651ec4ef2a
2015-12-24refactor SwXStyle::get/setParentStyleBjoern Michaelsen1-45/+29
Change-Id: Ifb578244d511af153484d14ee92c5c22c2db0a3f
2015-12-24refactor SwXStyle::isUserDefined/isInUseBjoern Michaelsen1-21/+9
Change-Id: I67d8408d410698f0f31738fcc30321c627307c73
2015-12-24refactor SwXStyle::get/setNameBjoern Michaelsen1-28/+22
Change-Id: If814b6873796fcfa4cc7a2f62711a8b20f2f7d6b
2015-12-24use local init function for conditional tooBjoern Michaelsen1-35/+29
Change-Id: I687161aa9295a1b815d11dd10fa83d23b010764a
2015-12-24use init helpers in ctorBjoern Michaelsen1-34/+32
Change-Id: If06321f5b353a09985d071290ece612fb98b34a1
2015-12-24have PROPERTY_MAP values in entries ...Bjoern Michaelsen1-35/+14
Change-Id: I478eb10315ee0709c43943945d500b82a8d9c8c9
2015-12-24lets have a ref to a StyleEntry from a SwXStyle tooBjoern Michaelsen1-53/+58
Change-Id: I368b2a6a6b5c54a962fed637c7e8cd472414be5c
2015-12-24refactor SwXStyle ctorBjoern Michaelsen1-26/+31
Change-Id: I306ca1b20af83519f81ca0867eb73cbbaa1874d2
2015-12-24remove GetPropImpl wrapperBjoern Michaelsen1-6/+5
Change-Id: I53c3f97d35621af9b6c5c0336b8c998d3fe0b270
2015-12-24remove GetBasePool wrappersBjoern Michaelsen1-22/+19
Change-Id: I0e7e8309c5d8873b9bde738a00579989d7b105fb
2015-12-24instead of lying with friendship, lets be honestBjoern Michaelsen1-20/+15
Change-Id: I0582734a0995638f45888e32c108e56ab3f28e80
2015-12-24use a proper smart pointer hereBjoern Michaelsen1-6/+6
Change-Id: Ic413e08bbaf38a6858926b1309618762a9ed1444
2015-12-24move trivial functions inlineBjoern Michaelsen1-67/+18
Change-Id: Icc7c58e847a4087460a86686c790722e6651c85a
2015-12-24move SwXStyle entirely into compilation unitBjoern Michaelsen2-43/+238
Change-Id: Icfcb4320aef9ebe2c5fcc84106de005934d51a3f
2015-12-24remove SwXStyle creation outside of compilation unitBjoern Michaelsen2-11/+26
Change-Id: I136822a0ad581d1490fc6f8842c95f2d25dfeba4
2015-12-21loplugin:unusedfields in swNoel Grandin1-17/+3
Change-Id: I4d987718bf27766c8cd7f3654db6645e5a7f554a
2015-12-20loplugin:staticcallStephan Bergmann1-1/+1
Change-Id: I23cdf631d7a5854aa41fb24a1bc793019174baf9
2015-12-18tdf#33477: added support of property VertOrient to cell rangeOliver Specht1-0/+18
Change-Id: Id8f0c138fb665a19b92f2779aa59ae1778efddc5 Reviewed-on: https://gerrit.libreoffice.org/20789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-12-15tdf#96113 sw: don't overwrite fo:background-color on ODT frame importMiklos Vajna1-1/+1
The situation is similar to commit 79fb61efb847405fa47235002b52ee8efad5e339 (tdf#92379: svx: don't overwrite fo:background-color on ODF import, 2015-08-21), except that here text frames had the problem of loosing colors when transparency is set. Fix the problem by informing getSvxBrushItemFromSourceSet() about if we're in XML import or not. Change-Id: Id1adf60b14a3762f0a2a43c49caeed9f6ea039be
2015-12-12replace homegrown map with std::map<>Bjoern Michaelsen1-104/+41
Change-Id: I5f35e0aeb6cef5920891eaa338c1d9b29e0ce554
2015-12-11use preincrement here for graceBjoern Michaelsen1-1/+1
Change-Id: I7141510fbda1158511698f73c48274008f0a41dc
2015-12-11add test for UNO writer style families ...Bjoern Michaelsen1-8/+7
... and fix the breakages it finds. Change-Id: Ibc7289cc0cd7fb5648d686bd55afff9016f58b3b Reviewed-on: https://gerrit.libreoffice.org/20638 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-12-08sw: redundant condition, was checked previouslyMichael Stahl1-1/+1
Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee
2015-12-04fix SwClient crash in SwXNumberingRules/SwXTableRows/SwXTableColumnsNoel Grandin2-13/+57
was generated a crash when running 'make check' on my Linux box. These classes need to hold the SolarMutex when destructing their SwClient base class. Change-Id: I448ea00978d003aa37d8663d37b4edf9e54a6a56 Reviewed-on: https://gerrit.libreoffice.org/20391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-29our little MSVC cant read C++11 proper and has special needs instead ...Bjoern Michaelsen1-18/+19
Change-Id: Ibc5ed9406679f469a7d4855f08f1a8c23c7239ef
2015-11-29use a range template for the frame,page,pseudo translationsBjoern Michaelsen1-25/+9
Change-Id: I50698023c006025bad4ae5d9a632c20b8f897006
2015-11-29use the entry vector for lcl_TranslateIndex dispatchBjoern Michaelsen1-57/+69
Change-Id: I4a8361821b9a5af2a59ad29684ee243d2f4591ed
2015-11-29remove copy patsaBjoern Michaelsen1-7/+1
Change-Id: I753786b6d3e92f0ebd609cc4430887fd7e2c2f81
2015-11-29use entries to create stylesBjoern Michaelsen1-33/+23
Change-Id: Ie68277b2ca9f4a82d048c7b74ab6705e8ca164b2
2015-11-29use the entry vector for lcl_GetCountOrName dispatchBjoern Michaelsen1-32/+17
- since the "entries" gain virtual functions now, it might make sense to make the entries proper classes. Lets see. Change-Id: I9ffae682869bc7560ee108c120efe6b65ea6c82f
2015-11-29tdf#38835: use singleton instead of staticBjoern Michaelsen1-21/+37
Change-Id: Id200dd245043537d288e30118debe2b338cf1774
2015-11-29keep a reference to the static entry data for the familyBjoern Michaelsen1-50/+53
Change-Id: I9171202fb5c6e32016550243a027001e5c910c3c
2015-11-29use Families instead of the generic 'Container'Bjoern Michaelsen1-4/+4
Change-Id: I009002621a5481b91e14a215237278d56d742579
2015-11-29typo: m_nRedId => m_nResIdBjoern Michaelsen1-4/+4
Change-Id: I0659155b19870117e97f691aa4fdceee8f2d4c08
2015-11-29clean up and reduce indent levelsBjoern Michaelsen1-8/+6
Change-Id: I5aa38475eff213620b29e89a0df0833c95207a91
2015-11-29add ranges for pages, frames, numsBjoern Michaelsen1-13/+13
Change-Id: Id3c0f39b076bd3908d3ac4154e72ee14ca3963ae
2015-11-29make GetCountOrName a private member to reduce argsBjoern Michaelsen1-10/+11
Change-Id: I72430f032d032f825034ec00d662ceaaa6a4dc62
2015-11-29consolidate range voodooBjoern Michaelsen1-49/+41
Change-Id: I76c64f15cd94ea281e44ddd488bc7eb7abc1575d
2015-11-29inline trivial functionsBjoern Michaelsen1-75/+45
Change-Id: I00a75c846ca86dc05f42211c700561c066f85586
2015-11-29SwXStyleFamily=>sw::XStyleFamilyBjoern Michaelsen1-79/+86
Change-Id: I334c4db5113902668d6967719c65ba403e9dde65
2015-11-29SwXStyleFamily has no need to be in a headerBjoern Michaelsen1-0/+53
Change-Id: I2bc38e870377bd4355b373e1fee0a3fd95866793
2015-11-29clean up and reduce indent levelsBjoern Michaelsen1-6/+4
Change-Id: I8cbc62d9d404f4dd4039d43411c53d3cf4a8275f
2015-11-29clean up and reduce indent levelsBjoern Michaelsen1-20/+6
Change-Id: Ic96a95a3263c1b10c33e79f5fee19e7bf06498c9
2015-11-29simplifyBjoern Michaelsen1-4/+2
Change-Id: If065b30b93c603032f47a3e470f4faadf92a4d09
2015-11-29OSL_FAIL->SAL_WARNBjoern Michaelsen1-15/+5
Change-Id: Ic21516d1d3892cd73aaa29ae477985ca2d35638d
2015-11-29clean up and reduce indent levelsBjoern Michaelsen1-13/+8
Change-Id: Iccc1b3f2499025b8dad920f4b0f4b674b5d394ce
2015-11-29clean up and reduce indent levelsBjoern Michaelsen1-23/+19
Change-Id: Idfc5ea5acf7f09046c92aa37ff01df29147cd738