summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-03-09this dir doesn't exist anymoreCaolán McNamara
Change-Id: Ie861b7db8a507177b330ade23e94771a0811c2f9
2014-03-09coverity#708474 Uninitialized scalar fieldCaolán McNamara
Change-Id: I0b9fe26b0a2de590042cd9f6e33e06f752d97f1d
2014-03-09coverity#708475 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic5b4531bb9472b6e6b40f9080f1d748badc6f926
2014-03-09coverity#708456 Uninitialized scalar fieldCaolán McNamara
Change-Id: I040d49408581a128025d3b96b313f2c88981c250
2014-03-09coverity#708405 Uninitialized scalar fieldCaolán McNamara
Change-Id: I32e2b75ed0ee7c507e149eed97dd178c7b196c4e
2014-03-09fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dirroopak12345
Moved the files linked in sw/Library_sw.mk from sw/source/ui to sw/source/core/uibase and modified the make files as per the new directory location. Reviewed on: https://gerrit.libreoffice.org/8447 Change-Id: I05f6ccdeee5e76fb0ae477d16721d9ddc6eaff32
2014-03-08coverity#708413 Uninitialized scalar fieldCaolán McNamara
Change-Id: Id4ffee405f4047845223a53595f08c5bcd86b52a
2014-03-08add disabled support for export validation in writer testsMarkus Mohrhard
Still too many validation errors to enable it. Change-Id: I45830f6cff8ef52bc63fdda61a99985f4f7d242a
2014-03-08Fix types in a testJacobo Aragunde Pérez
Change-Id: I2f857f564e100cc4cf6b885c5a8f96e506b4046f
2014-03-08ooxml: export date controls properlyJacobo Aragunde Pérez
Export date controls as ooxml Standard Document Tags (SDT) instead of replacing them with plain text. SDT date controls contain the date in ISO format as an attribute of <date> tag, a custom date format that can be specified by the user in the <dateFormat> tag and the date formatted in that custom format in the <w:sdtContent> tag. The unit test testFormControl from ooxmlexport suite was removed, it only checked if the date control was exported as text and it obviously fails now. A new test that checks the values of the exported control was written instead. A pair of date format functions were added to datetimeutils.hxx. TODO: to avoid supporting all the posible custom formats that can be specified in the <dateFormat> tag, it is forced to dd/mm/yyyy on export. Change-Id: I9d1b6f840ee9e133831fdb04ad399fe31bcb2063
2014-03-08fix OOXML validation errorMarkus Mohrhard
Change-Id: Ib87eadad99285e19d73f4de58690de501084293c
2014-03-08fix OOXML validaition errorMarkus Mohrhard
Change-Id: I26e063cd1971d980583e884ca2f4e0ba9d9391ad
2014-03-08'explicit' makes no sense for a default constructorMatteo Casalin
Change-Id: Ib70c75e43ecf020fcb39696bddea414b0de9bbf7
2014-03-08Remove '#define INLINE', inline in method definition is enoughMatteo Casalin
Change-Id: I9c7ae289492e3ec8ada111a8dddfb5426ef22d30
2014-03-08Remove unused headers and forward declarationsMatteo Casalin
Change-Id: I8e8406dab1bca2a3349043eecaca168ff9ac00fb
2014-03-08OSL_ASSERT to SAL_WARN_IFMatteo Casalin
Change-Id: Ib6102579f8b7c8899322992919cc922393fe70d8
2014-03-08coverity#704853 Unchecked dynamic_castNorbert Thiebaud
Change-Id: I94e03ce14fdcd7fde99992e57d9f30c75c6e8fa1
2014-03-07Typo: exsiting->existingJulien Nabet
Change-Id: I8432ef55ef1ab54aca9bda1d5cb5dd5fbda296da
2014-03-07got to love the sal_Int32 as long/intCaolán McNamara
Change-Id: Ia843288d6a1739c8f75dbb512d9f3571ac2c8027
2014-03-07coverity#1078550 Dereference after null checkCaolán McNamara
Change-Id: I51852cba8b061f3b1dee4875f8daf0e0205e2211
2014-03-07coverity#1130357 Dereference after null checkCaolán McNamara
Change-Id: I6b4735134bb9910fbad3cd4696b159f9f6d93df7
2014-03-07DOCX strict import: fix pictures as wellMiklos Vajna
Change-Id: I29f12eb1e5bfc39dc7d76efcff50dced061f7969
2014-03-07DOCX strict import: fix headersMiklos Vajna
Now that the document has a header, better to just test the bottom margin, as in case there is a header, the top margin has different semantics in Word and Writer. Change-Id: I11212965ecd364cdc8a205c3ab3b8b71ed12944b
2014-03-07coverity#704369 Logically dead codeCaolán McNamara
Change-Id: I2fb01f407eee9a8bb4c63f2dda70e5088c80e4cf
2014-03-07sw: remove that GETGRID abominationMichael Stahl
Change-Id: Ib2299dae7c1aab2d9af992930c29381a1027141b
2014-03-07sw: add prefix to SwTextGridItem membersMichael Stahl
Change-Id: Ie086d56f01bc06de14c6fb1713a43aec8e6335f9
2014-03-07rhbz#1043551: sw: avoid division-by-0 in Text Grid painting codeMichael Stahl
Possible to trigger with a document containing: style:layout-grid-base-height="0cm" Change-Id: Id3bd1f29157b39e8a577be0b87b86236dbe5a50c
2014-03-07ooxml export: add w14 namespace to styles.xmlTomaž Vajngerl
Change-Id: I60df6ce655cb5bbb05218ec89a1597a277e7aa72
2014-03-07DOCX import: handle points in ST_TwipsMeasure and ST_SignedTwipsMeasureMiklos Vajna
This fixes page size and margins in case of strict DOCX. Change-Id: I65894eeef191a0f4bd92d1fa69a17e820aae3a43
2014-03-07coverity#1078571 Unchecked dynamic_castCaolán McNamara
Change-Id: I2270fba51d3f8f856322ed6c6e06217c213b7157
2014-03-07coverity#735930 Dereference after null checkCaolán McNamara
Change-Id: Id523444331bcdab40d938fde42bd747fc8fa3149
2014-03-07fdo#75492: table names can start the same way and still be differentBjoern Michaelsen
Change-Id: Icc5a6fb7cf3ed3c2171e628d22918af7038f8127
2014-03-07coverity#708852 help coverity out hereCaolán McNamara
Change-Id: I26c54d715b6c90c3bab9445a91fff5593dfa96bf
2014-03-07coverity#708845 help coverity out hereCaolán McNamara
Change-Id: I1e8ec236c44e258124eaeb818fcd39e7bf15c4b9
2014-03-07drawingML export: fix handling of dkVert pattern fill presetMiklos Vajna
We convert the dkVert preset to a certain hatch configuration (style, distance, angle), but when we exported it back, then we didn't recognize it, and wrote ltVert instead. Change-Id: I021885496843f5ea5453af3473453bbec50d928f
2014-03-07fdo#74854: better loose selection than crashingBjoern Michaelsen
- this is just a bandaid Change-Id: Iebd901a9e88967e00e235f7f8849c48246e950d1
2014-03-07fdo#75158 : Handled unsupported fields for docx file.sushil_shinde
- Handled unsupported fields using fieldmark API. - Added Unit Test. Change-Id: I0c69458f330fa2e98821c392ea97410fe1b1e20e Reviewed-on: https://gerrit.libreoffice.org/8391 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-06Vertical content alignment of frames anchored as characterZolnai Tamás
Change-Id: Idf05edd102475675c8f0781af1f966043f342bb7
2014-03-06Vertical content alignment of vertical text framesZolnai Tamás
Change-Id: If365684f8fec5c560e948e3428681462e227dc00
2014-03-06Avoid infinite loop caused by vertical content alignmentZolnai Tamás
In some case invalidations makes the program to go into an infinite loop. Move InvalidateContentPos() call upper in the SwCntntFrm::MakeAll method so it won't be called when size invalidation is made inside this method. Change-Id: I25deccb1760b82a764cad3e90aafb092631a1533
2014-03-06coverity#708878 Unused pointer valueCaolán McNamara
Change-Id: I7c417ccff113ed9610f609e6bcead30d727b2a0c
2014-03-06coverity#738966 Unused pointer valueCaolán McNamara
Change-Id: Ia18b6e6d9462a8bcd3371d04b105db67fd397cc5
2014-03-06coverity#1190351 Missing break in switchCaolán McNamara
it's been like this since the initial checkin of 2000, so I got to assume it's intentional Change-Id: Ifc1300c193f2ddbc3f9ab978464199432430fd8b
2014-03-06coverity#708643 nOffsetY missing from copy ctorCaolán McNamara
its normally always 0, so shrink the code based on that Change-Id: Ic9a4615f0ecb0713a00e4acd73485f99fd50a859
2014-03-06coverity#1190349 Division or modulo by zeroCaolán McNamara
Change-Id: Ia32e9197d0b5d5a02187d11f05bcf2dcae5ccb76
2014-03-06coverity#1190354 Dereference null return valueCaolán McNamara
Change-Id: I3f99bd8f0cfd8736fec558362819d9a814df8378
2014-03-06Re-enable the unit test (BackGraphicURL).Muthu Subramanian
2014-03-06Disable unit-test BackGraphicURL test temporarily.Muthu Subramanian
2014-03-06convert calc autoformat dialog to .uiCaolán McNamara
this dialog is hauntingly similar to the writer one, a copy and paste job Change-Id: Ic873038dba4ca4fd737690b917f6cd0d5144218a
2014-03-06cp#1000039 DOC import: ignore symbol charset of the symbol fontMiklos Vajna
Otherwise characters unhandled by our OpenSymbol font (like Arabic 0-9 numbers) won't be rendered using an other font, as no other font provides the symbol charset. Do this in SwWW8ImplReader::GetFontParams(), where we already have font name -> font family mappings for a few well-known fonts. The DOCX filter does the same for quite some time, and that's how Arabic numbers in text using the Symbol font were rendered, instead of little rectangles. Change-Id: Ib794cac19ad7b073e39f3cbd7d4bad3994151c14