Commit Graph

306211 Commits

Author SHA1 Message Date
Markus Mohrhard
655d61042f make color formats and conditional formats a sheet property
TODO:
- UNO needs some love to accept this change
  - we need a new uno interface for conditional formats in 4.0
- copy/paste
- undo/redo

Change-Id: I2c8a233888a95c7298dfb151d1c12b6a6a58520d
2012-05-24 12:38:11 +02:00
Markus Mohrhard
99f61e9b63 first part for databar export
# Changes to be committed:

Change-Id: Iffe020d60982c2872c1a451f9d0e4e1d4f5e349f
2012-05-24 12:38:11 +02:00
Eike Rathke
816f65da41 resolved fdo#41214 crash due to offset error 2012-05-24 12:40:05 +02:00
Fridrich Štrba
9812152a2b No point to rebase inexisting dll
Change-Id: Ibbb917858fb1bd327cae4bde0b4dd34ac3787e64
2012-05-24 12:31:11 +02:00
Stephan Bergmann
683312377a Removed unused SfxMedium::bDirect
See the TODO comment in sfx2/inc/sfx2/docfile.hxx about a temporary SfxMedium
ctor overload to find not yet adapted uses of another overload, to be removed
again in due time.

Change-Id: Ie22c33c32f8870ce6ebf6d500abc7a4e33d97183
2012-05-24 11:38:12 +02:00
Stephan Bergmann
226b81d0f3 returning reference to temporary [-Werror]
Change-Id: Ib37f1fc9658cb50227463cf2aa1421ba47b2ec9f
2012-05-24 10:59:11 +02:00
Fridrich Sch Strba
70eb7af641 Be sure all boost headers are copied to output directory
Change-Id: I862b728537e9e862f1d5af78bcc87576964534d0
2012-05-24 10:55:28 +02:00
Caolán McNamara
a16b4676a5 convert ResStringArray to rtl::OUString
Change-Id: I51b86a10caa5da6e12583c2b22404b0d9282b13d
2012-05-24 09:47:40 +01:00
Caolán McNamara
2862d842b3 strangely duplicated inner/outer ImplResStringItem struct
Change-Id: I12884e58505d94b76eb0ad955815ae1702716f0f
2012-05-24 09:47:40 +01:00
Caolán McNamara
d7ab6a7d43 use boost::noncopyable
Change-Id: I862a4223c955c3a9e9a366b0f3a85465f38e76be
2012-05-24 09:47:40 +01:00
Jesús Corrius
8fd58d0627 replace wcscat_s -> wcscat to please minGW 2012-05-24 10:12:39 +02:00
Jesús Corrius
dbbda42a43 include files always in lowercase 2012-05-24 10:10:28 +02:00
Jesús Corrius
776db316d2 set explicit Application User Models IDs in the native Windows launchers
Change-Id: Ib60a2a4f0d28a53d997731eb34b118cc9b9f822d
2012-05-24 08:38:12 +02:00
David Ostrovsky
eadcfa4e27 fdo#50162 merge rtlbootstrap.mk into configure.in
Change-Id: I241be2704a069ec1f6be5861084039569673cc12
2012-05-24 07:22:03 +02:00
David Tardon
f6fff52b7b add missing initializations
Change-Id: I872987e02c1685810f6c2c71956c60e5f13b2706
2012-05-24 07:22:03 +02:00
Kohei Yoshida
446f17bc3a Documented how to add an icon to a dispatch command.
Change-Id: Ifb1d1e712c6fadc549dd7717ae1fae0fadcba9fa
2012-05-24 00:59:31 -04:00
Kohei Yoshida
e665b847ce Shamelessly copied the file open icons for the two new commands.
.uno:OpenFromWriter
.uno:OpenFromCalc

Change-Id: I724570c6c291f83db930e2d118cc356a934352f8
2012-05-24 00:01:35 -04:00
Kohei Yoshida
6ff3a779fd Use new commands for the file open icons in writer and calc.
Change-Id: Ie18c69615fed6020efe577d81bd905e2f3bcba31
2012-05-23 21:25:46 -04:00
Kohei Yoshida
2398b9c207 Removed obsolete Excel filters for (Star)Writer, which we don't need.
Change-Id: If4b946ef4407279f3b260a0f8a8d8309522aa594
2012-05-23 20:08:11 -04:00
Kohei Yoshida
9613a480ce These hacks no longer work. Remove it and find a better solution.
This already didn't work in 3.5.

Change-Id: I12afc1bcdc5c20a7846833763080dac02214e01b
2012-05-23 20:08:11 -04:00
Caolán McNamara
5b81e2df42 fix build, wrong type inside assert
Change-Id: Iaf4bd3e2c5f54f2c75ecba444f3122dd4ed126d0
2012-05-23 22:59:26 +01:00
Caolán McNamara
b63766b3dd Resolves: fdo#48932 super slow typing and scrolling in large documents
AFAICS it appears that theres a one to one mapping from a SwFrameControl to
a SwFrm, so in any of the three given classes of Page, Footer or Header a
SwFrm will have zero or one SwFrameControls and a SwFrameControl doesn't
get rebound to a different SwFrm or anything like that, so we can use
a map and index off the SwFrm* to find them rather than constantly
looping over vectors to find the right one.

Maybe could move the SwFrameControl directly in the SwPageFrm's
themselves.

Change-Id: I1194f3cdcab747b61c645003c97e651f47f2bc09
2012-05-23 21:09:20 +01:00
Caolán McNamara
993a807a88 WaE: MSVC2008 C4099 class/struct
Change-Id: Ie4a2f7c2d5943d01d971611209fc641412e82aa4
2012-05-23 21:09:20 +01:00
Michael Stahl
88aa7ed0ee solenv: adjustvisibility is only for SunStudio 2012-05-23 21:04:59 +02:00
Michael Stahl
83c6c8c38c Solaris/Intel/GCC outpath is unxsogi 2012-05-23 20:48:11 +02:00
Kohei Yoshida
cfbed236fc Adjust the default key bindings for File - Open... for calc and writer.
To use the app specific open command instead of the global open.

Change-Id: I86d20e1a412f6020fa2db79040e4e66b39e8c355
2012-05-23 12:25:28 -04:00
Kohei Yoshida
5b17d2d731 Pass document service to the dispatcher when opening file from writer.
This is similar to what I did earlier for calc.  This info will be
used later in the type detection code.

Change-Id: I7ba7dcdc03cbfe77eba5c7594fc0385ad3775541
2012-05-23 12:10:26 -04:00
Radek Doulik
038564c910 do not insert empty texbodies for empty placeholder shapes
- the original problem can be reproduced by creating new empty presentation in powerpoint.
   after it is loaded in impress, it was completely blank, without placeholder shape
   texts (Click to add title, Click to add text)

Change-Id: I541554e273372ad09cca2fb91e27a17eb1f3a00e
2012-05-23 17:09:14 +02:00
Michael Meeks
1bb9a60a96 android: un-break env. var parsing (sorry) 2012-05-23 15:58:49 +01:00
Michael Meeks
b36ff96d1d android: make launcher function as expected - starts writer.
Remove now redundant FONTCONFIG cmdline arguments, and add fallbacks
for not having cmdline arguments in the intent when launching.
2012-05-23 15:55:55 +01:00
Tor Lillqvist
b91d987360 Mention that --enable-cl-x64 is incomplete in help message
Change-Id: Ia88d892dea3d597215876a860a0f748f2ed6839b
2012-05-23 17:19:20 +03:00
Luboš Luňák
10bdf6aa45 testcase for proper .docx ZOrder import
Change-Id: I0f025114af5f79f5bd04637ffdf864cef75eb821
2012-05-23 15:54:11 +02:00
Luboš Luňák
9365a32558 fix UNO ZOrder reading, take #2
This is almost a revert of e05e77f4b7.
It turns out FindRealSdrObject() is mostly the right method to call
(possibly except when creating the document, which is what lead
to the first commit).

Change-Id: Iea9ccc99e785fbff47f2d41187326d4e6d355494
2012-05-23 15:54:11 +02:00
Luboš Luňák
597000c2ed write out the same data to pic:cNvPr like to wp:docPr
Change-Id: I4180b4d291b7a4ed496c7c57ca0fd0034dc2ed94
2012-05-23 15:54:10 +02:00
Caolán McNamara
d6cba6bcfa remove unused ImplSubEdit class
Change-Id: Iaf9a750860b4e51f576c37dab2d4844c2e2146cd
2012-05-23 14:48:59 +01:00
Petr Mladek
e4b3ac16d7 do not concatenate empty line in python/makefile.mk
Change-Id: I08897ea5527e7ac56b37855b740a3dc1c8ddb544
2012-05-23 15:33:46 +02:00
Michael Meeks
3bf5ae9031 add libxml forward definitions instead of direct includes
Change-Id: I33ffca788182cd24d148614ee03c5a884baccf84
2012-05-23 13:29:15 +01:00
Jan Holesovsky
21d69b389d writer: Make the navigation button less cut off.
Still not perfect, the ideal would a 7x7 icon; but at least something.

Change-Id: I383921436db49c894fd336cb30c5fb9a3d4979a1
2012-05-23 13:11:00 +02:00
Jan Holesovsky
422647493b fdo#49914, rulers: DarkShadow color is supposed to be dark (even on Mac).
Change-Id: I09d0c5d6797b6df9e84ad3574fc420241fe72707
2012-05-23 12:07:32 +02:00
Bjoern Michaelsen
5127cb76e5 make gbuild deliver more robust in when using HARDLINK 2012-05-23 11:39:13 +02:00
Bjoern Michaelsen
383d326685 make foo.all should work again
Change-Id: I49986d6feac5e46c7b2f3017cf97b07dce4db42f
2012-05-23 11:39:13 +02:00
Eike Rathke
877c96a601 copy msms only for ver 9.0, MSVC 2010 doesn't have them 2012-05-23 11:20:43 +02:00
Jan Holesovsky
b30e202861 status bar: INSRT/OVER -> 'Overwrite' shown only when in overwrite mode.
Idea by Mirek M. - thank you!  Additionally introduced a tooltip showing more
verbose text when in overwrite mode.

Change-Id: I1236253bc6c97809ebed872fe86233cc08f41345
2012-05-23 11:04:10 +02:00
Pierre-André Jacquod
b0932cb801 fdo#45779 avoiding creation of inconsistent B2DPolygon
this avoid the root cause of this bug, avoiding creating a
B2DPlygon which contains no points.

It seems the code relies somehow on an null B2DPolyPolygon, hence the
change done here. Better would be to have time to look how to remove
this fact. But currently it seems the code relies on  a
rSet.Put( XLineStartItem( aArrowName, aPolyPoly) where aPolyPoly is
not defined in certain cases.

Change-Id: I61b75d925090d1c9a0da96ce1a6eea50a2d60e5a
2012-05-23 10:39:28 +02:00
Stephan Bergmann
2fa2660b55 Better fix for ThreadPool/ORequestThread life cycle
This is a follow up to d015384e1d "Fixed
ThreadPool (and dependent ORequestThread) life cycle" that still had some
problems:

* First, if Bridge::terminate was first entered from the reader or writer
thread, it would not join on that thread, so that thread could still be running
during exit.

That has been addressed by giving Bridge::dispose new semantics:  It waits until
both Bridge::terminate has completed (even if that was called from a different
thread) and all spawned threads (reader, writer, ORequestThread workers) have
been joined.  (This implies that Bridge::dispose must not be called from such a
thread, to avoid deadlock.)

* Second, if Bridge::terminate was first entered from an ORequestThread, the
call to uno_threadpool_dispose(0) to join on all such worker threads could
deadlock.

That has been addressed by making the last call to uno_threadpool_destroy wait
to join on all worker threads, and by calling uno_threadpool_destroy only from
the final Bridge::terminate (from Bridge::dispose), to avoid deadlock.  (The
special semantics of uno_threadpool_dispose(0) are no longer needed and have
been removed, as they conflicted with the fix for the third problem below.)

* Third, once uno_threadpool_destroy had called uno_threadpool_dispose(0), the
ThreadAdmin singleton had been disposed, so no new remote bridges could
successfully be created afterwards.

That has been addressed by making ThreadAdmin a member of ThreadPool, and making
(only) those uno_ThreadPool handles with overlapping life spans share one
ThreadPool instance (which thus is no longer a singleton, either).
Additionally, ORequestThread has been made more robust (in the style of
salhelper::Thread) to avoid races.

Change-Id: I2cbd1b3f9aecc1bf4649e482d2c22b33b471788f
2012-05-23 10:10:51 +02:00
Kohei Yoshida
124c020f42 Receive the file open command in Calc in order to pass doc service name.
This way the type detection is guaranteed to receive the document service
name whenever a file is being opened from Calc.

Change-Id: I0eec06d4ca1f3f30bcbc5685af73392276990d69
2012-05-23 02:23:07 -04:00
Kohei Yoshida
e58eb03137 Add mechanism to pass doc service name to the descriptor when opening a file.
This info will be used during type detection for more clever filter
selection.

Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-23 02:23:07 -04:00
Luboš Luňák
7e65666168 ++I_hate_sal_Int32
Change-Id: Id6943713ade8a77f3f72aabf2e74635875cf5249
2012-05-22 22:33:36 +02:00
Tor Lillqvist
d3e7913eb9 Bin unused REFDEV_MODE48
Change-Id: I96997da0eb038cab4bdba32e0d797747623f4853
2012-05-22 21:42:25 +03:00
Kohei Yoshida
3f76713dbf Renamed writer_web_HTML to generic_HTML.
This should reflect the fact that this type was already used as a
generic HTML type.

Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
2012-05-22 14:32:53 -04:00