Commit Graph

285 Commits

Author SHA1 Message Date
29c101fe68 use a transparent graphic for the OLE2 image, and spell 'Empty' correctly.
Change-Id: I94fbe74b6febede4819851dfa78690507b04f4f7
2013-06-06 22:21:57 +01:00
3fe227a65d remove unused BMP_OLEOBJ image and define.
Change-Id: I809cca8dab246c7b528309fd74fb73a9d0bd418f
2013-06-06 22:21:56 +01:00
c0eb5e7772 Resolves: #i121448# Aligned default fill color/line style for all apps
(cherry picked from commit 81664c037c8d6094b66c1660b6eee9693eadf401)

Conflicts:
	sc/inc/document.hxx
	sc/source/core/data/documen2.cxx
	sc/source/core/data/documen3.cxx
	sc/source/core/data/documen9.cxx
	svx/inc/svx/svdmodel.hxx
	svx/source/svdraw/svdmodel.cxx
	sw/inc/doc.hxx
	sw/source/core/doc/docdraw.cxx
	sw/source/core/doc/docnew.cxx
	sw/source/ui/app/docshini.cxx

Change-Id: Id0f62f0cd5b83794e2dbaee4e8b6afa704a0c23a
2013-06-06 21:04:07 +01:00
9eb4e4dc51 Some more modules at least building with mingw64
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
2013-06-06 19:49:56 +02:00
50a4018d0d sal_Bool to bool
Change-Id: I58efb9d026203c77d3806552bd4280a4d16d5111
2013-06-07 02:27:53 +09:00
7c486ba257 Resolves: #i121334# Changed default for charts background to be none...
(from white) to allow fill settings in the various apps to have an
effect

(cherry picked from commit 0050a8e4eace17ed1b55c7ec919edaa0daadc3a7)

Conflicts:
	chart2/source/model/main/PageBackground.cxx
	sc/source/ui/drawfunc/fuins2.cxx
	sd/source/ui/view/viewshe2.cxx

Related: #i121334# turned back chart non-fill defaults...

done the non-fill using tooling when creating new chart modules

(cherry picked from commit af9220c24c9d80e5415d9d7d8f273b28d0d27cdb)

Conflicts:
	chart2/source/model/main/PageBackground.cxx
	sc/source/filter/starcalc/scfobj.cxx
	sd/source/ui/view/viewshe2.cxx
	svx/inc/svx/charthelper.hxx
	svx/source/svdraw/charthelper.cxx
	sw/source/ui/table/tablemgr.cxx

Related: #i121334# deactivated setting chart OLE background to transparent...

for better UI experience and better back-compatibility to other OpenOffice
derivates

(cherry picked from commit 5fa621198a981ea994d9903298e8a1d884ee686b)

Unname unused arguments to prevent compiler warnings.

(cherry picked from commit c3c4df7647d8d4ab1425bb3c7f38932c4adcbe74)

Change-Id: I1b4579aca701a4d637d21d7963b87f637458d0a5
01855cc3d4ec3c321109f924f6de4cdfbec4cd5d
18757f64ae84a415dc781929db4b76f571172ab1
de9879c2e1c249c0d957e4e46723b167ae1a8e90
2013-06-06 17:24:43 +01:00
b6a91e6d30 Prevent out-of-range values coming from ListBox GetSelectEntryPos.
Change-Id: Ia787c412408ef53db3c8458f54c7843c669c81ad
Reviewed-on: https://gerrit.libreoffice.org/4174
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-06-06 14:58:57 +00:00
516ed22b3f Remove remnants of help agent
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b
but gobs of code (and UI) still existed to collect the help id
and give it to the missing help agent with various UI visible
options and buttons to control the help agent which isn't
there

Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06 14:52:49 +01:00
56ab9c1289 Resolves: #i119547# support the chart legend positon of top&&left...
just set the Anchor to Alignment_TOP_RIGHT

Found by: Shan Zhu
Patch by: zhaoshzh
Review by: zhangjf

(cherry picked from commit 8de6941efffd22214da577ff637b2522e46c7fa5)

Conflicts:
	oox/inc/oox/drawingml/chart/converterbase.hxx
	oox/source/drawingml/chart/titleconverter.cxx

Change-Id: Iad1fe1af8f93e6904759c10a9c9206fd1f1aebbb
2013-06-06 12:00:45 +01:00
057891e7a2 Some more movement to mingw64 port
Change-Id: I6af3cb1ac205dae20feb5a35481071bc4232680b
2013-06-06 11:38:36 +02:00
11c00f1fdd Fix -Werror,-Wunused-private-field
Change-Id: Idcba9e9bc6210250a37950a2b927b9b74cc57c4f
2013-06-06 08:31:34 +02:00
07b0ad4fa6 sidebar conversion tutorial: Create entry points for custom widgets.
For custom widgets, you need an external function named 'makeXYZ' where XYZ is
name of the type you want to construct.  It exists for many already, but for
those that don't yet, you need to create that.

Change-Id: I3ad65886897fa73764af2372ceffeca1a57f3165
2013-06-05 18:32:58 +02:00
3d4609d944 Some String -> OUString
...to get rid of having to additionally link some libs against tl from
27c6434fccfec5fb4184c1efa2057595c8716fad "fdo#46808, Replace usage of
SpecialConfigManager" again.

Change-Id: Ica161a4f0da320858b6a3901a5a6907737c779f4
2013-06-05 17:29:13 +02:00
6b83934749 fix gcc inline assembler operands usage
Apparently whoever did these didn't get the gcc docs and specified
every operand only as input, and then added volatile, explicit
initialization and what not until it worked. Specify output operands
correctly instead.
I couldn't verify all assembler variants, as I don't know them,
but the ones I don't know had at least some proper usage of output
operands, so I'll assume those are all correct.

Change-Id: I2910308b5e00cce8db756496df50ed26cfe35bb6
2013-06-05 16:01:43 +02:00
5f554bcec1 Resolves: #i119860# fix bent connector's type lost when save .ppt file
Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li
(cherry picked from commit 8037c7164c747ea240b563af39a11f4f6bf037ef)

Conflicts:
	filter/source/msfilter/escherex.cxx

Change-Id: Iee39fc5c95f354a6fe68cd93b69f40e01d9fa9f8
2013-06-05 08:59:34 +01:00
a1afcae81c fdo#46808, Convert XMultiServiceFactory in ucb module
Change-Id: I4e1cfe22ba6043521dd1237f90ade66f80b29253
2013-06-05 08:13:23 +02:00
c23be036a6 fdo#46808, Convert some XMultiservice in framework module
Change-Id: Id4dd0bafd40cf96271527c9c970c4ab31527644c
2013-06-05 08:13:22 +02:00
dcbaf7c253 remove unused componentcontext.hxx includes
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
df5a73a9e3 vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
2013-06-04 20:51:05 +01:00
31b35ed6bb Detect copyArea trying to operate on overlapping memory.
Equality test also needs to check if disjunct BitmapDevice instances
might not actually share the same memory buffer.

Change-Id: I09a93cb092a0039353be211ed053e991e7fe66f0
2013-06-04 20:38:09 +02:00
19a2685ec0 clip message box dialogs to some reasonable widths
Change-Id: I7fc179865306ba5b593b090b1fdb8971ba6bd508
2013-06-04 16:14:27 +01:00
25bb9d13b2 fix for fdo#53042 fix ole object macro bindings ( for xlsm )
A number of fixes needed here
a) make sure convert properties of control model is done before inserting
control model into formcontainer, need to do that to ensure that
GenerateVBAEvents is set ( so the fake VBA event generation can be
triggered )
b) remove the IsAlieanExcel check in servuno.cxx ( it's too strict and
additionally seems there is confusion over the media type to check )
c) split the vba import so that we can ensure the VBA mode is set (if
we have modules to import ) before sheets are imported and defer further
processing ( actual assigning of the modules and associated objects )
until later

Change-Id: I8fdbe788b400d7e41d4cc4b51b15f692bd7b0ecc
2013-06-04 15:29:45 +01:00
a96f593b41 Some more sal_IntPtr dance, but enough for today
Change-Id: Ic772181321e74713244223cc3d4542bd4cd2dc88
2013-06-04 16:11:44 +02:00
497d894c65 WaE: unknown log area 'ucb' [loplugin]
Change-Id: I05b35fc07e5b7e986532eb6210160c03bc7c6b50
2013-06-04 13:51:24 +03:00
3b55196fb0 Resolves: #i122433# The sidebar ControllerItem can now...
give access to the extended help text for commands

(cherry picked from commit 3f483a9219b9135f9f854d62b4ad0512d3752660)

Conflicts:
	sfx2/inc/sfx2/sidebar/ControllerItem.hxx

Change-Id: I22668e6f9c1c7aed174a43d7d3e04829dc6733ae

Related: #i122433# fix build breaker

 invalid use of incomplete type 'struct Help'

(cherry picked from commit 797e399967ffb1c28b8c32d328f5f57d79a8caf3)

Change-Id: Ifde6fede9b91eb828c665a5a720b93171108e17b
2013-06-04 11:09:21 +01:00
8de6167e36 Resolves: #i122273# - Avoid using tmpfile()
(cherry picked from commit c4ef17d5e2844ca8d2459a3bfa1f91d99ac297f2)

Conflicts:
	ucb/source/ucp/ftp/ftpcfunc.cxx
	ucb/source/ucp/ftp/ftpinpstr.cxx
	ucb/source/ucp/ftp/ftpinpstr.hxx
	ucb/source/ucp/ftp/ftpurl.cxx

Change-Id: I267a9191f9b922380bef8653ac74543662ebf3ef
2013-06-04 11:09:20 +01:00
7a5a192187 remove cosv, udm and autodoc
implementing UNO IDL support in doxygen:  9 days of work
converting IDL file comments to doxygen:  5 days of work
removing 57k lines of unmaintained buggy
autodoc, bespoke String and File classes: priceless

Change-Id: I566edb4f91454baa35e07d901432a8dfd35b9c29
2013-06-04 12:01:12 +02:00
cdbbbdce99 include: convert <type> here too
sed -i "s,<type>\([^<]\+\)</type>,\1,"

Change-Id: Ibdaeb2c396ad29ced05716142b38c6a1c3e49847
2013-06-04 12:00:59 +02:00
bf080115ba include: convert type scope="foo"> here too
sed -i 's,<type scope="\([^"]*\)">\([^<]\+\)</type>,\1::\2,g'

Change-Id: I7eb32acd44132de79cc7ac1e7f78b43bb4814d14
2013-06-04 12:00:58 +02:00
4d2a7692ef fdo#34423 Allow to rotate raw uncompressed bitmaps.
When using a graphic filter like blur or sharpen, a raw uncompressed
bitmap is created. Until now it was not possible to rotate such bitmap
but now this is allowed.

Change-Id: I716fa46e37680b1111131586fad20da28391de14
2013-06-03 23:45:00 +02:00
870dd81899 fdo#60120 Modify DialControl to store 100th degree angle.
DialControl internally stores the angle to a 100th of a degree
percision, but when SetRotation is called, the value was always
rounded to a 1 degree percision. This has now been modified to
round only on DialControl mouse interaction.

Additionally add add a parameter to SetLinkedField which states
the number of decimal places the NumericField is set to. This change
makes possible to set the NumericField to 100th of a Degree as the
internal angle is represented in. Default value is 0, so no change is
needed to existing DialControls.

Change-Id: I1f0c20092cdfccbd0878d7eb620bfdad7825b0fb
2013-06-03 23:44:59 +02:00
f6eb9bd5d0 add a doc comment
Change-Id: If9d99c0b7ba54b0d8d53006cacf14e4b62fe2297
2013-06-03 14:31:56 +02:00
67e87f8b88 fdo#62224 reconstruct border state for table dialog
Change-Id: I68a4cd1974579119a2d6dccba008441a9bec78df
2013-06-03 14:31:56 +02:00
1e4422a4b4 re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer
        gnumake4 work variously
        http://svn.apache.org/viewvc?view=revision&revision=1394707
        http://svn.apache.org/viewvc?view=revision&revision=1394326
        http://svn.apache.org/viewvc?view=revision&revision=1397337
        http://svn.apache.org/viewvc?view=revision&revision=1397315
        http://svn.apache.org/viewvc?view=revision&revision=1396797

	Patches contributed by Andre Fischer
	Fixed getcsym.awk to handle #-comments that contain special regexp chars.
        http://svn.apache.org/viewvc?view=revision&revision=1230971
	118778: Added ADDITIONAL_REPOSITORIES environment variable and its
	automatic setup in configure.
        http://svn.apache.org/viewvc?view=revision&revision=1232004
	118160: Added external CoinMP library.
        http://svn.apache.org/viewvc?view=revision&revision=1233909

	Patches contributed by Herbert Duerr
	#i119168# use generic LICENSE file for langpacks and sdks
        http://svn.apache.org/viewvc?view=revision&revision=1310178
	macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
        http://svn.apache.org/viewvc?view=revision&revision=1183367
	allow gbuild with empty sysroot on linux
        http://svn.apache.org/viewvc?view=revision&revision=1179186

	Patches contributed by Ingo Schmidt
	native373: #164472# improvements for msi database
        http://svn.apache.org/viewvc?view=revision&revision=1167540
        http://svn.apache.org/viewvc?view=revision&revision=1167539

	Patches contributed by Jurgen Schmidt
	adapt setup package scripts to handle special DS_Store file for
	developer snapshot builds
        http://svn.apache.org/viewvc?view=revision&revision=1232430
	imported patch extensions_i117681.patch
	http://svn.apache.org/viewvc?view=revision&revision=1172102

	Patches contributed by Michael Stahl
	gbuild: RepositoryFixes.mk should be optional
        http://svn.apache.org/viewvc?view=revision&revision=1166123
	xslt filter: remove the FLA horror
	wordml import filter: replace FLA usage with plain XSLT
	http://svn.apache.org/viewvc?view=revision&revision=1363727

	Patch contributed by Oliver-Rainer Wittmann
	i#88652: applied patch, remove unicows deps
	http://svn.apache.org/viewvc?view=revision&revision=1177585

    Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
    cppunit pieces, cleanup Mac image bits, remove coin-mp and
    re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
    MPLv2 subset checking.

Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
d209e13319 fdo#46808, Convert comphelper::ComponentContext in forms module
Change-Id: I8a9913d964633381f00c0a4885cc655805fa1974
2013-06-03 10:00:03 +02:00
2838b8eb5e fdo#46808, Convert ComponentContext in connectivity,extension..
...modules.

Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
2013-06-03 10:00:02 +02:00
a8a35e54f5 fdo#46808, Convert frame::AppDispatchProvider to new style
The service already existed, it just needed an IDL file.

Change-Id: I9553c8e7c4922f2106bc13034e0cc35669b28b7e
2013-06-03 09:59:59 +02:00
f39f7ba614 Fix issue #i120723#: Table style is lost when import PPTX by AOO
* subversion/main/oox/inc/oox/drawingml/table/tableproperties.hxx
* subversion/main/oox/source/drawingml/table/tableproperties.cxx
[]if the imported table in pptx just have tableStyleId, should fill the tablestyle's content.

Patch by: Ma Bingbing <jiazema@gmail.com>
Suggested by: Wang Zhe <kingwisemmx@gmail.com>
Found by:Ma Bingbing <jiazema@gmail.com>
Review by: Wang Zhe <kingwisemmx@gmail.com>(cherry picked from commit 74b1435a4d39eac71e36fb1c387b24af4b353fa0)

Conflicts:
	oox/inc/oox/drawingml/table/tableproperties.hxx
	oox/source/drawingml/table/tableproperties.cxx

Change-Id: I554169522a95343662781c3f169c6485c38a6800
2013-06-03 00:04:06 +02:00
e66be44b69 sidebar: Restrict the minimal width of the sidebar.
Change-Id: I99051830c4393b420125332e787c3abdc5a6aa61
2013-06-02 04:54:55 +02:00
74221eb249 sidebar: Allow creation of SidebarToolBoxes via .ui.
Change-Id: If8789fd423a609a18514e5a798df5b5992dac34f
2013-06-02 04:54:54 +02:00
6fe1ff54c6 sidebar: Allow creation of toolboxes using Widget layout / .ui.
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa
2013-06-02 04:54:54 +02:00
4f14ed6d34 sidebar: Introduce PanelLayout class.
This allows sidebars to be defined using Widget layout / .ui files.

Change-Id: I7d5daf2579d6359ba48d4df4be344bb75ce16273
2013-06-02 04:54:53 +02:00
c3f55ac35a switch to size_t in sfx2::LinkManager
Change-Id: I7558ead872ab0e6894689f78fcfbbd1d8fb69877
2013-06-01 03:12:09 +02:00
660b67a413 fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*

Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac
Reviewed-on: https://gerrit.libreoffice.org/4044
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-31 18:08:02 +00:00
61dfc6fa94 Resolves: #i120030# optimize thumbnail creation/painting
(cherry picked from commit 255beb8f56a074ce85eaf1db3cdf168f9c09466e)

Conflicts:
	sfx2/inc/sfx2/objsh.hxx
	sw/source/core/layout/paintfrm.cxx

Change-Id: I23157f7a6983ba81b1c8ddcc409a4989915be2ed
2013-05-31 16:13:17 +01:00
b425c2964b make SvxColorValueSet not squish all colours into avail space
instead hook SvxColorValueSet::Resize() to layoutToGivenHeight
and let it add a scrollbar if the height would squish them

Change-Id: Ia94b01b247f734f3640b15f7161d28530e65d538
2013-05-31 15:40:38 +01:00
d0508f79c1 css::frame::XStatusbarController: add missing interface
Added ::com::sun::lang::XComponent. IDL documentation taken from
http://wiki.openoffice.org/wiki/Framework/Tutorial/Statusbar_Controller#Status_bar_controller_service
(cherry picked from commit f3dc398e002926792a0c6160691d46eb75cad236)

Conflicts:
	framework/inc/uielement/statusbarmanager.hxx
	framework/source/uielement/statusbarmanager.cxx

Change-Id: Id2d768250632b12b834602a33a4e9923cec9bd3f
2013-05-31 12:40:08 +02:00
324141f21b Convert Paragraph Alignment & Indent to Widget UI
Conver Paragraph Alignment and Indent & Spacing to widget UI.

Change-Id: Ib3b7d76a63bd677d5d94f7385bbf589f18eceeda
Reviewed-on: https://gerrit.libreoffice.org/4047
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-31 10:10:06 +00:00
cd582f922b Resolves: #i119631# Teardrop shape cannot be shown correctly in pptx
* subversion/main/filter/inc/filter/msfilter/escherex.hxx
* subversion/main/filter/source/msfilter/escherex.cxx
[]check whether one shape is default shape of ppt by shape type
* subversion/main/svx/inc/svx/msdffdef.hxx
* subversion/main/oox/source/drawingml/customshapegeometry.cxx
* subversion/main/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
[]add definition and declaration for tear drop
* subversion/main/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
[]the content of tear drop shape which incudes "path, adjust value, handle"

Patch by: Ma Bingbing <jiazema@gmail.com>
Suggested by: Wang Zhe <kingwisemmx@gmail.com>
Found by: Zong Dongjun <zongdongjun@gmail.com>
Review by: Wang Zhe <kingwisemmx@gmail.com>

(cherry picked from commit 26218ac2472838d63485c3c6b4dc2f1aa0bdd0f6)

Conflicts:
	filter/inc/filter/msfilter/escherex.hxx
	oox/source/drawingml/customshapegeometry.cxx
	svx/inc/svx/msdffdef.hxx

Change-Id: I8347832bc842cca8b944c28e807af7f45a7da5b0
2013-05-31 10:53:10 +01:00
7ce2a89f4f prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
2013-05-31 09:33:07 +01:00