summaryrefslogtreecommitdiff
path: root/sw/inc
AgeCommit message (Collapse)Author
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21ditch some pesty XubStringsCaolán McNamara
Change-Id: I42a80b12d843b95e2ddc0872ee793ebbda050066
2013-01-20AbstractSwSplitTableDlg never usedCaolán McNamara
Change-Id: I8b3fa5a513d31002655af479ba41a85b713509bd
2013-01-19convert outline numbering tabdialog to .uiCaolán McNamara
Change-Id: I233c43132fe82f65f2f2dda9fc1afee0237610bd
2013-01-19convert character properties tabdialog to .uiCaolán McNamara
Change-Id: I73fc5fc19ae75971b0569b708f4104c79b9a9cc2
2013-01-18convert table properties tabdialog to .uiCaolán McNamara
Change-Id: Ide72fb6bfc604f13e9d01250aac8e9b011bd034b
2013-01-17fdo#59428: SwPageDesc::GetUseOn(): mask PD_FIRSTSHARE.Michael Stahl
There is at least one call in SwDoc::ChgPageDesc() checks if the result equals PD_MIRROR. (regression from fa0f42bafbf24e9141ddee728b160b5ab47077f2) Change-Id: Id37ca46eec5885f7f5230337d8a8a594845f7842
2013-01-17Const correct-ness in one place...Kohei Yoshida
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
2013-01-15fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new styleNoel Grandin
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-14document SwPaM::SetMark()Miklos Vajna
Change-Id: I2a57cdea7e952c52f5ee93466a7b81da73b75a7c
2013-01-14SwPaM::HasReadonlySel: sal_Bool -> boolMiklos Vajna
Change-Id: If4c9cb523c6ac357683522029769a82ba10667f1
2013-01-12split out table columns page and adapt codeCaolán McNamara
Change-Id: I37fc7936357676dff135e85db17040324d2f3534
2013-01-12split out table textflow page and adapt codeCaolán McNamara
Change-Id: Icc32df960b7a1d794ce5342daa594344d9279477
2013-01-11Update name of data members to preferred conventionMatteo Casalin
Change-Id: I2ce959942f95a123d2ec75a7df2194dff11fac64
2013-01-11Prefix class data membersMatteo Casalin
Change-Id: I6734df58b589088809c712c3906f0cee3fd6a103 Reviewed-on: https://gerrit.libreoffice.org/1639 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-11SwpHintsArray::Resort(): remove mostly unused return valueMichael Stahl
Change-Id: Ia330e545c2727efb6e1b12c4c317f86f9ebdf955
2013-01-11Remove unused class membersMatteo Casalin
Change-Id: I44fe6ad3dacc65e28256aca98588b7dfe92d73ae Reviewed-on: https://gerrit.libreoffice.org/1638 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-11Use forward declaration instead of (doubled) #includeMatteo Casalin
Change-Id: I1cfb65a809e5dd56fb395c2f801bce5e5d75acfe Reviewed-on: https://gerrit.libreoffice.org/1642 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-10include PCH headers for headers changesLuboš Luňák
Change-Id: Id94a4322428e27010757ef36b166f8b01697778f
2013-01-09adapt code to Exchange Databases dialogCaolán McNamara
Change-Id: Ife2d92131f7cd758628ae686cde734dab56e4499
2013-01-09adapt code to edit categories dialog .uiCaolán McNamara
Change-Id: Ib03ec188ba30d122ff687937209b989d418fe7ac
2013-01-10sal_Bool to boolTakeshi Abe
Change-Id: Ib83c02d53fbae6a70781d9d9d7ab015b016c72a8
2013-01-09adapt code to .ui autotext dialogCaolán McNamara
Change-Id: I34fe1d6ab2e36b3c3e7e9199872c56aff184bf66
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
2013-01-09fdo#58074: store page number in SwPageNumberFieldMichael Stahl
Should hopefully fix the problem, which is essentially that all SwPageNumberFields share a single SwPageNumberFieldType, which is only updated properly in SwTxtFormatter::NewFldPortion, hence all expansions of a SwPageNumberField other than that return wrong values. Does not fix the problem for fields in headers though, which appears much harder... Change-Id: Iecf363c8acbc2aaa418cc0c980e0b62c8e0e7d14
2013-01-08fdo#44736 - set and fetch multiple properties concurrentlyMichael Meeks
The domain-mapper calls SwXText::insertTextPortion very extensively accounting for about half of import time for large, lightly formatted text documents. The vast majority of the work is consumed managing char + para properties - so try to batch that, making it 70% faster for my lightly formatted test. Saves around 25% of load time for me. Change-Id: I2582adee1bf35b07b90af810cb0d19dadc1d348f
2013-01-08n#793998 sw: add TabOverMargin compat modeMiklos Vajna
In case the right margin is larger then the tab position (e.g. the right margin of 7cm, there is a tab position at 16cm and right margin begins at 9cm), we have a conflicting case. In Word, the tab has priority, so in this conflicting case, the text can be outside the specified margin. In Writer, the right margin has priority. Add a compat flag to let the tab have priority in Writer as well for Word formats. This is similar to TabOverflow, but that was only applied to left tabs and only in case there were no characters after the tabs in the paragraph.
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-28fix the sw_swdoc_test crashLuboš Luňák
Keeping a reference to an expired temporary is a rather bad idea. Change-Id: I4d93d644b7db957ea49bcf1127647b7e5427f469
2012-12-27sw: kill no longer needed C2S and C2U macrosMiklos Vajna
2012-12-26ignore #include inside #ifLubos Lunak
2012-12-26translate remaining German comments in sw/incPhilipp Riemer
Change-Id: I76b03fd1fe374562fc7714361d08bc683ca8cb01
2012-12-25sal_Bool to boolTakeshi Abe
Change-Id: Ibbf9e257fff19ab6305bd401a1746e6d0bcb47fd
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-20convert columns dialog (and sections/frame/page tab page) to .uiCaolán McNamara
Change-Id: I7ce64b63acba1581754e5a75ea48e3df654973ae
2012-12-20SwUndoSaveCntnt: remove index parameter from Move{From,To}UndoNdsMichael Stahl
There are now no callers that need it, and it is alwyas 0 anyway. Change-Id: Iddee488084e644ac82e9dbf9f251d5ef4bd7c59d
2012-12-20SwUndoInserts should not use a SwPosition:Michael Stahl
There is a problem here; to see it paste something 3 times, then undo twice and close the document, there is a SwIndexReg assertion because the SwPosition in the one SwUndoInserts points to a node in the Undo nodes array that is removed by the dtor of the other SwUndoInserts. This is because the Undo objects are destroyed from the outermost Redo backwards, which is usually a good idea but does not work for SwUndoInserts, which (as they currently are) must be destroyed in the other order. But with the previous change to only store whole paragraphs in SwUndoSaveCntnt it is possible to replace the SwPosition here with a SwNodeIndex, which points directly to the SwTxtNode and thus does not care if the position of that node changes due to whatever order other SwUndoInserts are removed. Change-Id: I4f0cf308d26f6b2e5aaa8997951c03ae7b2f0951
2012-12-20fdo#38837: Timers must end eventually [Writer idle timer]pkoroau pkoroau
Change-Id: I36c6c56d7277b9b3853b846c86c1f4dd47ebdb08 Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-19regenerate pchPeter Foley
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
2012-12-18split out statistics info page and convert to .uiCaolán McNamara
Change-Id: I0c940128e535cfadbd7ac917601dd9da0d0a347a
2012-12-14sal_Bool to boolTakeshi Abe
Change-Id: I43a98cfaf0a508e99f7f6b413e67d4c1ebdacfba
2012-12-14drop converted TP_OPTPRINT_PAGE pageCaolán McNamara
Change-Id: Ieac443b40fd5fa3b1b13b492e1b97a5df35835b5
2012-12-14merge NONE stringsCaolán McNamara
Change-Id: I4a2babc74c39579c26ac89445769a6f52ae68221
2012-12-13Related: fdo#38606 keep style dialog open when apply is clickedCaolán McNamara
i.e. don't close and reopen, just stay open Change-Id: I11cdc492e3c4adfb75c9a0dfa52e5ba351914858
2012-12-13migrate 'Caption options' dialog to .ui fileJack Leigh
Change-Id: I58dbb70faf22c5958b65e5192664b7d12d62f04c Reviewed-on: https://gerrit.libreoffice.org/1312 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-13sal_Bool to boolTakeshi Abe
Change-Id: I56e3889774b13fc040f72d576b8ea530bf31f9a5
2012-12-13update PCH headersLuboš Luňák
2012-12-13PCH for Library_mswordLuboš Luňák
2012-12-11titlepage.src is unused nowCaolán McNamara
Change-Id: Ia2846861e103d719e6dd7cc80ddd200d4c69c1a2
2012-12-11fix include guardLuboš Luňák