20df064c7d
convert DLG_SYNC_BTN FloatingWindow to .ui
...
not much of a test, its just a single button
Change-Id: I42f73ad0ad00e2af392bc6ab8bc827c3719b0304
2014-09-02 12:14:43 +01:00
c369013edb
fdo#83178 fix Chinese Conversion crash
...
Reviewed on:
https://gerrit.libreoffice.org/11187
Change-Id: Ifa9c7c1a29d7076903e038d3132c635b1143e2d8
2014-09-01 10:10:42 +02:00
4b4e4ccf8d
fdo#80617 Use complete string to allow translation for page number info
...
Change-Id: I8cc899f70ee4dcd65495b8ccc153a8fc3a2cc413
Reviewed-on: https://gerrit.libreoffice.org/11157
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2014-08-30 03:24:12 -05:00
365b075e84
sw: why is swdll.hxx included everywhere?
...
Change-Id: Ic401ca83666a887be9e5efe8369440e78fa4eeac
2014-08-28 22:08:41 +02:00
125cbcbe6b
sw: fix htmlexport test failure
...
Somehow this test failed on Windows, because of restoring a "NONE" field
unit to SW_MOD()... apparently the "charborder.odt" test is run first,
and preTest() sees a null SW_MOD() then postTest restores a NONE metric.
Hack around that by calling SwGlobals::ensure() to create SW_MOD().
Change-Id: I6c0cda3aae397071bca16bf0e5d9f8105635550f
2014-08-28 21:55:14 +02:00
53617c8651
callcatcher: update unused code
...
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-27 10:18:31 +01:00
f1de58a6a6
Remove unnecessary #ifndef SW_DECL_WRITER_DEFINED
...
Change-Id: I867011761c1029d676db39ddc3e647c7708f42a7
2014-08-26 16:55:06 +02:00
fe7d0ea643
convert sw use of template manager to new manager
...
this completes the conversion of resource hosted
dialogs and tabpages to .ui gtkbuilder format
Change-Id: Ic1b49d5560bfa47f287e04918c01daeebba28163
2014-08-26 15:36:52 +01:00
8ad8d87832
SwXServiceProvider::MakeInstance() requires a SwDoc
...
Change-Id: I2522e43100baa691baeb55947bb47ce7ccabb5b4
2014-08-25 21:49:36 +02:00
6cf7955396
convert MSG_PRINT_AS_MERGE with custom buttons to .ui
...
Change-Id: I42296f8cde4e03214b29f35fd3c42a63c4317f79
2014-08-25 16:45:28 +01:00
f50a367738
convert MSG_COMCORE_ASKSEARCH with custom buttons to .ui
...
Change-Id: I5066c850a22a9dcf0778878a160bbedee6fba81d
2014-08-25 16:45:28 +01:00
30ae83c268
fdo#82577: Handle KeyCode
...
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.
Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
708fc1c187
fdo#82577, fdo#82579: Handle Cursor
...
Put the vcl Cursor in the vcl namespace. Avoids collision with the Xlib Cursor
typedef and some ancient Carbon (?) Cursor typedef on OS X.
Change-Id: I7af770c522b5774c87f58cc079ced9fc1bcc88b0
2014-08-23 19:20:03 +03:00
dd1c49d172
Simplify autocorrect loading - removing redundant parameter.
...
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
2014-08-22 16:22:12 +01:00
82ddade714
QueryBox RID_QB_SPELL_CONTINUE -> MessageDialog + string
...
Change-Id: Ie08970cefccdb1339e162bb5f4d3318efc6c61a5
2014-08-22 14:23:57 +01:00
302cb1d031
QueryBox DLG_CHANGE_AUTH_ENTRY -> MessageDialog + string
...
Change-Id: I836381f710e4f36b977284f6996bb135fc328049
2014-08-22 14:23:56 +01:00
9f01ba1b78
i#107771: sw: burn, UnoCallBack, burn!
...
Change-Id: Ifdb6d4b2e404bd160e6fcec3229691e750bdf698
2014-08-20 16:40:18 +02:00
2c057a59e8
i#107771: sw: implement thread-safe instance caching for SwXFootnote
...
Change-Id: I3fffb321877168dfa9844b4ad75a9a9efc9602a6
2014-08-20 16:40:18 +02:00
e54015d06f
i#107771: sw: make SwXFootnote a client of its format poolitem
...
In other words, stop registering at SwDoc's "UnoCallBack".
Change-Id: Ie73c707b0f43559cc78717c0879d5e9a9335a7ac
2014-08-20 16:40:17 +02:00
eee8b6eed6
SwWrtShell::StartInputFldDlg() can be called with RES_SETEXPFLD too
...
... and there's no way to get the SwFmtFld from a SwSetExpField, so add
a member for it like SwInputField has. That's still better than the
UnoCallBack nonsense.
Change-Id: I59c82e95414dbae284432b8a318a6ce1a34256c7
2014-08-20 16:40:17 +02:00
bbd97fe57d
i#107771: sw: make SwXTextField a client of its format poolitem
...
In other words, stop registering at SwDoc's "UnoCallBack"
Change-Id: Ieb2639497fe5e8d71aa1c47952c007da76fcee84
2014-08-20 16:40:17 +02:00
14eb485c5c
i#107771: sw: implement thread-safe instance caching for SwXReferenceMark
...
Change-Id: I4f3b6789dde053ca913e12233b20d45dfe50c7ec
2014-08-20 16:40:16 +02:00
e7c96f3e8f
i#107771: sw: make SwXReferenceMark a client of its format poolitem
...
In other words, stop registering at SwDoc's "UnoCallBack"
Change-Id: I9e08966cf8e2d2a373867d81549c8887f73993c8
2014-08-20 16:40:15 +02:00
b684cd4b07
sw: RES_TOXMARK_DELETED is unused since swunolocking1
...
Change-Id: I98b21573ebbc8543609bd63eee30bc5b4cbdfb2c
2014-08-20 16:40:15 +02:00
f05273aa47
fdo#72695: avoid double-free race condition for SwXParagraph
...
Change-Id: Ie207d9400bc3a55e17497b309dfbc263e7b12e30
2014-08-20 16:40:14 +02:00
3426685cc2
i#105557: thread-safe caching of SwXTextTable instances
...
Add factory function SwXTextTable::CreateXTextTable that uses
the WeakReference SwFrmFmt::m_wXObject to cache the instance in
a thread-safe way.
Change-Id: I88939e2586d104193184eea43b466f2cbeb71d6f
2014-08-20 16:40:10 +02:00
102348fcd1
make SwXFrame derived constructors private
...
... so that new instances have to be created by the factory functions.
Change-Id: I643a154609b1a277d5cbc22d739ef8e357028f56
2014-08-20 16:40:09 +02:00
00b5f1ef2e
i#105557: thread-safe caching of SwXFrame instances
...
Replace SwXFrames::GetObject() with factory functions that use the
WeakReference SwFrmFmt::m_wXObject to cache the instance in a thread-safe
way.
Change-Id: If56e4d7f95cb4f2e112139f228fb832ae9bf7d76
2014-08-20 16:40:08 +02:00
9acd707d73
fix crashing on exit in static SvxBrushItem dtor
...
site of second ctor
Change-Id: Ic319bd36f207a0f1939482a7b4c729b519bb5ce1
2014-08-20 14:06:33 +01:00
df4bd415c0
fix crashing on exit in static SvxBrushItem dtor
...
site of first ctor
Change-Id: I3316e91bc54439b74df30fdf02ff264a39489c29
2014-08-20 14:06:33 +01:00
15295ab6db
Refactored SwDoc::GetEditShell .
...
Removed its output paramater as GetCurrentViewShell should be
used instead and added a const version.
Change-Id: Iad8b57553b6e93e3472ce8c6905d08e8d49af770
2014-08-19 21:57:06 +02:00
44afb981a5
fdo#75757: remove inheritance to std::vector
...
by replacing it with a typedef.
Change-Id: Iaa88086e3c5195012982dd625bfd589de2e484a2
Reviewed-on: https://gerrit.libreoffice.org/11017
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2014-08-19 08:30:44 -05:00
51289a1605
fix build
...
apparently I removed the wrong one with 15344d0415f153ba579ad132266c47990a8c9515
with pch I don't see those problems :(
Change-Id: If4cb8b178bdd8f8d68b4921c1993642656fc75ea
2014-08-18 06:15:42 +02:00
15344d0415
InfoBox MSG_ERR_INSERT_GLOS to String
...
Change-Id: Ie72cb6796e3996d7050b771f7ab92e4ab5a6d72b
2014-08-18 03:12:06 +02:00
94cbfebdc6
InfoBox MSG_ILLEGAL_PAGENUM to String
...
Change-Id: Idef182a43e7aa631aeea92870e3c51a7c2b8b7c5
2014-08-18 03:07:25 +02:00
5116b8f6bd
InfoBoxes to String
...
Change-Id: Iccaf0cd1adbe5a2b1ff81c466ca3c81c00390c10
2014-08-18 03:04:47 +02:00
5f8da7d0e6
InfoBox MSG_ERROR_PASSWD to String
...
Change-Id: I88a34ad1d54066c30523c6493cbe5f0502adb3fb
2014-08-18 02:52:38 +02:00
47e2fd0dc8
Consistently use size_t and SAL_MAX_SIZE
...
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16 21:52:32 +02:00
0606ab6a73
SwTextBoxHelper::findTextBoxes: return a set of const pointers
...
Change-Id: I8e3ea996959bad72e6d15dc9c980ea9d18d31fb3
2014-08-15 16:48:57 +02:00
615d3e319c
SwTextBoxHelper::findTextBox: take a const SwFrmFmt
...
Change-Id: I531a5864f61ab6c9bfcfc44f7fcacef58ad78489
2014-08-15 16:48:57 +02:00
ce2e9796f1
warning C4365: '=' : conversion from 'int' to 'sal_uInt16', signed/unsigned mismatch
...
nhAbsLeftSpace and nInhAbsRightSpace are sal_uInt16, no need to cast them...
Change-Id: I9cb4b683d0096f6cd0968f4ed510983dc105038c
2014-08-13 10:10:35 +02:00
7cc627ff79
update_pch
...
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-13 10:10:33 +02:00
1f4d9846ae
Refactored IDocumentExternalData out of SwDoc.
...
Into the new class DocumentExternalDataManager.
Change-Id: Ib863daec170044c46143b47a91739d4c0940d963
2014-08-12 23:26:39 +02:00
535971f3a1
Refactored IDocumentStylePoolAccess out of SwDoc.
...
Added non const SwDoc::GetDfltTxtFmtColl and SwDoc::GetTxtFmtColls
and SwDoc::GetCharFmts.
Had to make the manager friend of SwTxtFmtColl and SwConditionTxtFmtColl
Had to make SwDoc::_MakeCharFmt and SwDoc::_MakeFrmFmt public.
Change-Id: I19a36d91f92b3781a6c4313ec12eb8f7d4dfacc3
2014-08-12 23:26:38 +02:00
5494954b26
Refactored IDocumentLayoutAccess out of SwDoc.
...
Into the new class DocumentLayoutManager.
Change-Id: I02d0cfcc63633d0bdab380508b2ef563187fd269
2014-08-12 23:26:38 +02:00
64e13a1456
Refactored IDocumentState out of SwDoc.
...
Into the new class DocumentStateManager.
Change-Id: I91c9097b091ff6118d58fd15fff2a4cefe0171fd
2014-08-12 23:26:38 +02:00
9cc617afcd
Refactored IDocumentStatistics our of SwDoc.
...
Into the new class DocumentStatisticsManager.
Change-Id: I281232dc09dbd79c2faf3c2a78ae49625bbe88ee
2014-08-12 23:26:37 +02:00
9d43f6d2c4
Refactored IDocumentLineNumberAccess.
...
This interface is obsolete and was deleted.
Change-Id: I56d37814f6e43f083ab3d199237ade06db287e18
2014-08-12 23:26:37 +02:00
69e5f335ab
Refactored IDocumentFieldsAccess out of SwDoc.
...
Into the new class DocumentFieldsManager.
Removed SwDoc::_MakeFldList because it is not defined anywhere.
Also moved a few non interface methods that belong to the manager.
Change-Id: Icefd7ca7adcbb05a18d6fae0529fc54150b862fd
2014-08-12 23:26:36 +02:00
274f1811b9
Refactored IDocumentRedlineAccess out of SwDoc.
...
Into the new class DocumentRedlineManager.
Added an non const version of GetRedlineTbl to the interface.
Also Moved SetAutoFmtRedlineComment which is not part of interface.
Change-Id: I600d5821d5d5831557f5fc5375fb1203fe67a295
2014-08-12 23:26:36 +02:00