summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks4-16/+4
2012-07-02sw: initial HeaderTextFirst / FooterTextFirstMiklos Vajna8-3/+137
The header/footer text for the first page can now be written (document model ready), but layout doesn't take it into account yet. Also, SwDoc::ChgPageDesc() has some copy&paste, will fix that soon. Change-Id: Ic28659f028e7db4aa1b6eefc76a4e672127e2c98
2012-07-02SwWrtShell::ChangeHeaderOrFooter: fix typoMiklos Vajna1-1/+1
Change-Id: I216fdfb3040dfe6748538d3c39b7d0c981ecd0a0
2012-07-02Remove unused definesThomas Arnhold5-9/+0
Change-Id: Ibc46eb4565d4df88e83882045b2ed6d31e487d16
2012-07-02Moving code for better readability in sw/source/core/bastyp/Philipp Riemer4-37/+32
Change-Id: Ibee47704db9c4fa2a15004c1ba7566dae2aa1d1c
2012-07-02Code cleanup and translation of German comments in "sw/source/core/bastyp/"Philipp Riemer12-1410/+1153
Change-Id: I9ba6f198fbc0f1a4655a57116f53719ea7d38fbd
2012-07-01Svx and sw code cleanupTomaž Vajngerl2-5/+2
Change-Id: Ie93861f32ac23379dc1f0fd973612645e776cc1e
2012-07-01Remove unused definesThomas Arnhold18-74/+0
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01hrc cleanup: Remove unused resource definitionsThomas Arnhold3-219/+0
Change-Id: Ie3a3a65bfb628195940105d7261464989e9af3fa
2012-07-01Remove unused definitionsThomas Arnhold1-13/+0
Change-Id: I082dd6563cff7623c521f153f37985342aa743b1
2012-07-01Combine popup menu entries and IDs (SID_SAVE_GRAPHIC)Tomaž Vajngerl7-44/+7
Change-Id: I9d0e4f31d073ad416934358c6507dc6564754758
2012-07-01Move "save graphic" dialog title to svx.Tomaž Vajngerl2-5/+0
Change-Id: I1200e66f010525d989bed801240de6813ddf751c
2012-07-01Change "Save graphic" and "Save picture as" to common code.Tomaž Vajngerl2-130/+4
Change-Id: Id860b3220bde3d43eec7c74711e6938e68d01d56
2012-07-01unused and empty SwAttrIter::Dump()Miklos Vajna2-16/+0
Change-Id: Ic7cc9235ed7255cf7971cab91928fc68690e61c5
2012-06-30sorted include declarations in sw/source/core/attrPhilipp Riemer5-25/+25
Change-Id: I3517f642a102f0f060b9c4de7c433da2e04ce63b
2012-06-30Clean up code and translate German comments in sw/source/core/attrPhilipp Riemer6-463/+344
Change-Id: I9139387851b8ccfe265dc16e626a2791302646d6
2012-06-30Some cppcheck cleaningJulien Nabet7-7/+7
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-29Java5 update - convert to use genericsNoel Grandin9-279/+190
Change-Id: Ie9d9b278341132d08477d015245fedf2b66f62fd
2012-06-29re-base on ALv2 code.Michael Meeks3-72/+45
2012-06-29SwDoc::CopyPageDesc: sal_Bool -> boolMiklos Vajna1-3/+3
Change-Id: I146e4b8c1e174a20dd9524c63bcb6aa0d09849de
2012-06-29SwXStyleFamily::getPropertySetInfo: remove useless OSL_FAILMiklos Vajna1-1/+0
When poking around using an xray-like tool, it's quite expected that this method is reached. Change-Id: Ie795bbb06df740d853065d21c838e10a55ff34c6
2012-06-29Remove include guardsThomas Arnhold8-26/+1
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29Remove some unused defines and controlsThomas Arnhold7-20/+1
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-29sw: initial HeaderIsSharedFirst / FooterIsSharedFirstMiklos Vajna9-2/+82
It's just like HeaderIsShared / FooterIsShared, enabled by default when header / footer is on. It does nothing yet, but it's read-writable. Motivation: https://wiki.oasis-open.org/office/HeaderFooterFirst Change-Id: I1ccfd0aedd1ac71e9f39b7fd43754264afafc1ef
2012-06-29some pesky XubStringsCaolán McNamara3-5/+5
Change-Id: Ib4095dee416cab6d954e1612d2e3f6e2d4464f48
2012-06-29Remove some more include guardsThomas Arnhold7-23/+1
Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
2012-06-28SwPageDesc impl: drop unused includesMiklos Vajna1-6/+0
Change-Id: Ie3b1113461b65ae8bace25884f965ac99fda4910
2012-06-28probably the last uses of the one argument String::CreateFromAscii variantCaolán McNamara28-113/+88
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28revert accidental removal of copyright headerCaolán McNamara1-0/+26
revert the part of e30fb4609b9d7333deb4401e0c41ee64b8da9f1b that stripped the copyright header Change-Id: I14e4fb98e6579fc0aeb30719c4b55a21074c5fe3
2012-06-28fdo#39415: sw: fix vertical collapsing border painting:Michael Stahl1-20/+22
For borders in vertically oriented text it's necessary to correct positions at different sides, i.e., right and left instead of top and bottom; refactor SwTabFrmPainter::Insert some more to handle this properly. Change-Id: If20b9477415e9bd12e63aab4eed2f070065eb473
2012-06-28fdo#39415: sw: fix collapsing border painting more:Michael Stahl1-19/+27
There is a special case for i#9860, which is for first line in follow table (i.e. continued on new page) without repeated headlines: Here the bottom border of the cell is used as the top border in case the cell does not have a top border; this is fixed now with a bit of refactoring, so the correct half width adjustment can be made. Change-Id: I58ef81b7e13544014ef75973ea793f673a242488
2012-06-28fdo#39415: sw: fix collapsing border painting:Michael Stahl1-4/+9
In a table with collapsing borders, the horizontal borders need to be painted "below" the reference line, and not "centered" on the line like the vertical borders. a0486f02433703744f487e599422714d03937956 was apparently an attempt to fix this, but unfortunately it adjusted both top and bottom borders with the top border width, which has horrible results if the top and bottom borders have different widths. Change-Id: I7605eda6ef8111612ceb1ded79c0811de9ca7b25
2012-06-28SwTabFrmPainter::Insert: remove clutterMichael Stahl1-5/+0
Change-Id: I2390151acf1c71f9ad7416357b5b34230c9672a6
2012-06-28Remove some unused localsThomas Arnhold2-6/+0
Change-Id: I91282512f15122d0d7187fea7f6ab5a98933a07f
2012-06-28Remove unused header filesThomas Arnhold1-158/+0
Those are unused too. Change-Id: I09c9dbcdbc68131c7c54bf0762a23f1280e6e22a
2012-06-28Enable menu option "Edit witn External Tool.." for Calc.Tomaž Vajngerl9-244/+26
Currently it was only possible to use "Exit with External Tool.." menu option in Writer. Now it is also possible to use this in Calc and in future Draw and Impress. Code has been refactored and extacted out of "sw" into "svx", so other components can use it. Currently there is no cleanup of temporary images after processing was done, and also pinging for changes are still active even when editing in external tool is done. This behavior will be changed in the future. Change-Id: I09969d44dfddbf9183b30ff3fffa2d201c7ae40f
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-6/+5
2012-06-27n#693238 testcaseMiklos Vajna2-0/+17
Change-Id: I7093d7d27d2448601bd29c2f3dd0c42077115b80
2012-06-27Remove unused include filesThomas Arnhold10-830/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27Remove commented out code (includes)Thomas Arnhold2-4/+0
Change-Id: I0a11d09544c10d78a2036a5c3c94132b17fbfbe8
2012-06-27hrc cleanup: Remove commented out codeThomas Arnhold2-47/+0
Change-Id: Id859d1e039d9012c100c16d49d2de0560cac2a66
2012-06-27Reduce newline bloat at eofThomas Arnhold81-1835/+0
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-27Get rid of annoying IAccessibility2 commentsThomas Arnhold15-33/+2
Change-Id: Ic1d7ff88e2d9e638deb2579a5fd18f751302d561
2012-06-27fdo#48335 testcaseMiklos Vajna3-0/+32
Change-Id: I032ff9b65ec9c4d70a2247c7311c2c7292a411c7
2012-06-27fdo#48335 RTF export: avoid fake page breaks on page style changesMiklos Vajna3-2/+10
The problem was that a page break has been always exported when the page style changed -- but in case the page style changes just because of "first page"-like styles, we don't need that. Change-Id: I15527c8d3a2d1c441b4817cf94d61ea68dc5f92c
2012-06-27RtfAttributeOutput::SectionType: don't try to dump break code as charMiklos Vajna1-1/+1
Change-Id: I35e66abd5595a0a23db79aef4a84c25b4f45c725
2012-06-26fdo#44602 Modeless word count window hides when user clicks into a noteMuhammad Haggag1-0/+1
The word count dialog wasn't registered as a child window in the SwView interface. Now it is. Change-Id: I334e3403f91ff6884ef1e3a6a64149c284926726 Reviewed-on: https://gerrit.libreoffice.org/236 Tested-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Michael Meeks <michael.meeks@suse.com>
2012-06-26fdo#48335 don't export zoom factor when zoom type is not percentMiklos Vajna1-1/+1
Change-Id: I1fb7e3d9d65f2f3388bb4851f5ad517ed1681f04
2012-06-26fdo#48335 RTF export: don't try to end not started runsMiklos Vajna2-2/+7
Change-Id: I022556acd0891cf24963d667d34f366496453630
2012-06-26n#766487 testcasesMiklos Vajna2-0/+35
Change-Id: I75c7913141461b354e85889faa6d43a1033680ef