Commit graph

29258 commits

Author SHA1 Message Date
Jens-Heiner Rechtien
1a359bd2a8 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Ivo Hinkelmann
b36241988e CWS-TOOLING: integrate CWS swunolocking1 2010-01-27 15:02:23 +01:00
Ivo Hinkelmann
da877b6a3b CWS-TOOLING: integrate CWS dba33d 2010-01-27 13:51:16 +01:00
Michael Stahl
dd19343634 merge DEV300_m70 2010-01-26 14:45:09 +01:00
Michael Stahl
35933081fd swunolocking1: fix regression:
SwXParagraphEnumeration constructor really needs the start node as a
 parameter because determining it from the cursor cannot work in nested tables.
2010-01-22 19:07:50 +01:00
Michael Stahl
85bd4fb7e1 swunolocking1: #i108489#: fix crash:
XTextRangeToSwPaM(): do not prematurely release newly created text cursor.
 SwXTextViewCursor::gotoRange(): do not throw IllegalArgumentException.
2010-01-20 16:59:56 +01:00
Kurt Zenker
fdde737ea0 masterfix: #i10000# syntax error fixed 2010-01-18 19:01:17 +01:00
Kurt Zenker
df7c98db5e masterfix: #i10000# bBoolVar does not exist, use rValue 2010-01-18 18:37:54 +01:00
Kurt Zenker
4563270cfd CWS-TOOLING: integrate CWS printerpullpages 2010-01-15 16:47:42 +01:00
Kurt Zenker
deac05f751 CWS-TOOLING: integrate CWS fwk120 2010-01-15 15:13:13 +01:00
Kurt Zenker
8b0e922922 CWS-TOOLING: integrate CWS dba33b 2010-01-15 14:01:24 +01:00
Ocke Janssen [oj]
828e92ab9c dba33b: merge 2010-01-15 09:58:18 +01:00
Ocke Janssen [oj]
9a2f7ac341 dba33b: merge m69 2010-01-15 09:16:51 +01:00
Philipp Lohmann [pl]
5390c9fba7 solve some merge problems 2010-01-15 00:20:57 +01:00
Philipp Lohmann [pl]
b59c89d2ae undo previous erroneous change, solar.hrc belongs to svl instead vcl now 2010-01-14 22:27:44 +01:00
Kurt Zenker
a1ac5cddb9 CWS-TOOLING: integrate CWS exchgcmtdoc2 2010-01-14 19:26:54 +01:00
Philipp Lohmann [pl]
7d3f9d1178 rebase to DEV300_m69 2010-01-14 19:11:13 +01:00
Kurt Zenker
958b8a305b CWS-TOOLING: integrate CWS tl76 2010-01-14 19:10:00 +01:00
Kurt Zenker
c24b209f55 CWS-TOOLING: integrate CWS sw32bf10_DEV300 2010-01-14 18:12:26 +01:00
Thomas Lange [tl]
680ebbec15 #i108219# SwWeb print options fixed 2010-01-13 10:16:37 +01:00
Frank Schoenheit [fs]
3a5c76a487 Automated merge with ssh://hg@hg.services.openoffice.org/cws/dba33b 2010-01-11 14:16:30 +01:00
Michael Stahl
c93ddde381 swunolocking1: #i107771#: SwXDocumentIndexMark:
register at SwTOXMark instead of UnoCallBack.
 implement instance caching with a WeakReference in SwTOXMark.
 [the ODF export depends on caching: see XMLIndexMarkExport::GetID()]
2010-01-08 17:14:00 +01:00
Michael Stahl
82aba30102 swunolocking1: #i105557#: remove class SwUnoCallBack.
everything SwUnoCallBack class does has unfixable race conditions.
 in SwDoc, the uno callback is now a plain SwModify.
2010-01-08 17:13:59 +01:00
Michael Stahl
fb0dd0d206 swunolocking1: #i105557#: fix locking for SwXDocumentIndexMark:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 disable broken SwClient iteration.
 make constructor private, and add factory function CreateXDocumentIndexMark.
 use new XUnoTunnel helpers.
 clean up the implementation a little.
 remove SwXDocumentIndexMark::GetObject().
2010-01-08 17:13:59 +01:00
Michael Stahl
f3dca2c04f swunolocking1: #i105557#: SwXDocumentIndexes:
use new XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:59 +01:00
Michael Stahl
342e7b53a4 swunolocking1: #i105557#: move SwXDocumentIndex helper classes out of header.
use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:58 +01:00
Michael Stahl
399fb822ef swunolocking1: #i105557#: fix locking for SwXDocumentIndex:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 replace broken SwClient iteration with a WeakReference in SwFrmFmt.
 make constructor private, and add factory function CreateXDocumentIndex.
 use new XUnoTunnel helpers.
 clean up the implementation a little.
 remove SwXDocumentIndexes::GetObject().
2010-01-08 17:13:58 +01:00
Michael Stahl
1f70baf3d1 swunolocking1: #i105557#: fix locking for SwXFootnote:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 disable broken SwClient iteration.
 make constructor protected, and add factory function CreateXFootnote.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:58 +01:00
Michael Stahl
069dead98a swunolocking1: #i105557#: fix locking for SwXHeadFootText:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 replace broken SwClient iteration with a WeakReference in SwFrmFmt.
 make constructor protected, and add factory function CreateXHeadFootText.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:57 +01:00
Michael Stahl
3356582b67 swunolocking1: #i105557#: fix locking for SwXBodyText:
use new XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:56 +01:00
Michael Stahl
150d65d311 swunolocking1: #i105557#: clean up implementation of SwXText::convertToTable(). 2010-01-08 17:13:56 +01:00
Michael Stahl
817e682f25 swunolocking1: #i105557#: fix locking for SwXText:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:56 +01:00
Michael Stahl
456e9d587f swunolocking1: #i105557#: SwXTextCursor:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 remove ugly destruction of SwUnoCrsr via Application::PostUserEvent.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:55 +01:00
Michael Stahl
8b1fb77c76 swunolocking1: #i105557#: SwXBodyText:
make SwXBodyText::CreateTextCursor() return a pointer, not a UNO reference.
2010-01-08 17:13:55 +01:00
Michael Stahl
2db8914dbe swunolocking1: #i105557#: SwXParagraph: move static methods to namespace sw. 2010-01-08 17:13:55 +01:00
Michael Stahl
aa16ebadc7 swunolocking1: #i105557#: SwXTextCursor:
move enum SwGetPropertyStatesCaller to unocrsrhelper.hxx.
 move static methods of SwXTextCursor to namespace SwUnoCursorHelper.
 move various not-actually-local functions with declarations in multiple
    cxx files to namespace SwUnoCursorHelper.
 clean up the implementation a little.
2010-01-08 17:13:54 +01:00
Michael Stahl
2245100b4a swunolocking1: #i105557#: SwXTextCursor:
move implementation of all non-static methods into unoobj.cxx.
2010-01-08 17:13:54 +01:00
Michael Stahl
0a3b5f8b3e swunolocking1: #i105557#: fix locking for SwXParaFrameEnumeration:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 replace PARAFRAME_PORTION_ macros with an enum.
 use new XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:54 +01:00
Michael Stahl
5d6da5c1f7 swunolocking1: #i105557#: SwXTextRange:
move static methods to namespace sw.
 clean up the implementation a little.
2010-01-08 17:13:53 +01:00
Michael Stahl
1f8d8b1e17 swunolocking1: #i105557#: fix locking for SwXTextRange:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:52 +01:00
Michael Stahl
220dc1e003 swunolocking1: #i105557#: SwXTextRange:
try to hide the implementation detail that SwXTextRange registers at a
 bookmark from its clients by using SwXTextRange::GetPositions().
2010-01-08 17:13:52 +01:00
Michael Stahl
30bfe9b171 swunolocking1: #i105557#: fix locking for SwXTextRanges:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 use new XServiceInfo helpers.
 replace SvWeirdArray with STL vector.
 clean up the implementation a little.
2010-01-08 17:13:51 +01:00
Michael Stahl
2fee7963e9 swunolocking1: #i105557#: fix locking for SwXTextSection:
replace SwXTextSectionClient with Impl struct, use UnoImplPtr to lock dtor.
 move all implementation details out of header, into Impl struct.
 remove ugly destruction of SwUnoCrsr via Application::PostUserEvent.
 replace broken SwClient iteration with a WeakReference in SwSectionFmt.
 add factory function CreateXTextSection.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:51 +01:00
Michael Stahl
77ca8486db swunolocking1: #i105557#: fix locking for SwXParagraphEnumeration:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 use new XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:51 +01:00
Michael Stahl
ee9d6d3095 swunolocking1: #i105557#: fix locking for SwXParagraph:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 make SwXParagraph instances reusable with a WeakReference in SwTxtNode.
 make constructor private, and add factory function CreateXParagraph.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:50 +01:00
Michael Stahl
440e521dad swunolocking1: #i105557#: fix locking for SwXBookmark:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 replace broken SwClient iteration with a WeakReference in sw::mark::MarkBase.
 make constructor protected, and add factory function CreateXBookmark.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
 remove SwXBookmarks::GetObject().
2010-01-08 17:13:50 +01:00
Michael Stahl
faf50e31a9 swunolocking1: #i105557#: fix locking for SwXReferenceMark:
add Impl struct, and use UnoImplPtr to lock destructor.
 move all implementation details out of header, into Impl struct.
 disable broken SwClient iteration.
 add factory function CreateXReferenceMark.
 use new XUnoTunnel and XServiceInfo helpers.
 clean up the implementation a little.
2010-01-08 17:13:49 +01:00
Michael Stahl
dd567990b4 swunolocking1: #i105557#: fix locking for SwXMeta:
move SwClient base to pImpl struct, and use UnoImplPtr to lock destructor.
 replace broken SwClient iteration with a WeakReference in sw::Meta.
 make constructor protected, and add factory function CreateXMeta.
 use new XUnoTunnel and XServiceInfo helpers.
2010-01-08 17:13:49 +01:00
Michael Stahl
e9ca667fa6 swunolocking1: refactor Meta registration at its text node.
Meta will now be registered via SwTxtMeta::ChgTxtNode(), with additional
 workarounds necessary in SwFmtMeta::DoCopy().
2010-01-08 17:13:49 +01:00
Michael Stahl
6e3f9b6a9a swunolocking1: #i105557#: unobaseclass.hxx: add XServiceInfo helpers:
new functions GetSupportedServiceNamesImpl and SupportsServiceImpl.
2010-01-08 17:13:48 +01:00