summaryrefslogtreecommitdiff
path: root/include/sfx2
AgeCommit message (Collapse)Author
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-10-23clean up some include guardsThomas Arnhold
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22Remove unused SfxObjectShell::bIsTmpStephan Bergmann
Change-Id: I14b495067e25e9a80c08b08ff2034b7bfe1e6759
2013-10-21Remove unused forward declarationStephan Bergmann
Change-Id: I2b725ad476cbd9552a7e57a550945a1f227fc823
2013-10-16remove SID_INTERNET_ONLINEThomas Arnhold
We have no online/offline concept for the office anymore. Change-Id: Id7e71d9c4383b47d3fae6f8cb5dc18ec22a55934
2013-10-15callcatcher: update unused codeCaolán McNamara
Change-Id: Ia2452eb82139039e1e6dc98e61ffb32b4091b94f
2013-10-13Reduce copypasta: Introduce SAL_NEWLINE_STRING and use itTor Lillqvist
Contains the platform-dependent on-disk line separator ("\r\n" for Windows, "\n" otherwise, and yes, I assume an ASCII-based world). Use it instead of static constant char array fields, with ifdeffed initialisations, in various classes here and there. Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-09Improve ErrorCodeIOException messagesStephan Bergmann
...and clean up some includes. Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-09update unusedcode listCaolán McNamara
Change-Id: I201985753fc53f037807e7870c6786a442717d6e
2013-10-07startcenter: Hide template toggle button if no templatesKrisztian Pinter
Change-Id: I9c6f2058e67990156a4be928449c6ebe6614e486 Reviewed-on: https://gerrit.libreoffice.org/5913 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-04pObjektShell -> pObjectShellThomas Arnhold
Change-Id: I575efe3d407cd80aca9a2a6b32dfa23aa45e63d3
2013-10-02Resolves: #i123276# Properly forward Deactivate() call...Andre Fischer
and still don't broadcast context change. (cherry picked from commit 520cc667c80cea6bb48422825250b72ff36bb4ef) Conflicts: sd/source/ui/view/drviews1.cxx sfx2/inc/sfx2/shell.hxx sfx2/inc/sfx2/sidebar/ContextChangeBroadcaster.hxx sfx2/source/control/shell.cxx sfx2/source/sidebar/ContextChangeBroadcaster.cxx Change-Id: I753009041a999bc31a0528e37f0a499897f311c5
2013-10-02Replace deprecated std::auto_ptr with boost::scoped_ptrStephan Bergmann
Change-Id: Id76eb2af60d7b87228f479aeb4a40373c648ae11
2013-09-28fix change tracking options preview sizesCaolán McNamara
Change-Id: I39bf97cd84685132180694fc99bb3a298ec798ed
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-23Cmis Versions dialogCao Cuong Ngo
Change-Id: Ie863282062a6932a55543143e841917c54223ac9 Reviewed-on: https://gerrit.libreoffice.org/5925 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-09-21sfx2: fix sfx2::sidebar::Theme lifecycleMichael Stahl
It's a horrible idea to have global VCL Images, since that will inevitably crash on shutdown when the static dtor runs after DeInitVCL, which breaks ~every JunitTest now. 0x00002af6750d2d51 in rtl::Reference<sfx2::sidebar::Theme>::~Reference (this=0x2af6756ceb28 <sfx2::sidebar::Theme::mpInstance>, __in_chrg=<optimized out>) Try to fix that by moving the global sidebar::Theme instance to SfxApplication where it can hopefully be deleted before shutdown. Change-Id: Ia78f1e458699335b53a741b6463ce48af69584a7
2013-09-20cook up a scheme to allow windows to have per-module settingsCaolán McNamara
Change-Id: I5fa62c3c2af2ccbbc7e8a61e5537488515b2808c
2013-09-20Resolves: #i122470# Fixed programmatic triggered switching of sidebar decksAndre Fischer
(cherry picked from commit 7b26aba94e5544937f1e37e34915bcb276bc3c27) Conflicts: sd/sdi/sdraw.sdi sd/source/ui/framework/tools/FrameworkHelper.cxx sd/source/ui/inc/framework/FrameworkHelper.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviews6.cxx sfx2/Package_inc.mk sfx2/inc/sfx2/sidebar/Sidebar.hxx Change-Id: Ic6b518e734fe59a7b713e85e934487347b847c5a
2013-09-20Turn sidebar back to non-experimentalCaolán McNamara
This reverts commit 7ce2a89f4f8fa84232896766276cb3433ada239c. Change-Id: I53f572777e84f66fd4c3d18fb686dac09095804a revert d38cb53e3bcf3fd95a75e03b01c3b7a209d07b46 Change-Id: I5b243b69e50084316aaeab250d6b01079c12b718 Revert "sidebar: disable impress task pane if sidebar is enabled." This reverts commit ee1726bfdba483623d496a3bcc09089e8b55cd65. revert 54d820a7815af03a248c1aa424fae9bf9a4881f4 Change-Id: Ie7c83d88f5427a7e42fa50879280a0c4a7c2cdd1 Revert "Only register and use the Sidebar if it is globally enabled." This reverts commit 66a5cc468cef0c6db8b42b7f25367f04208e6f2e. Conflicts: sfx2/source/view/viewfrm.cxx Change-Id: I17fe702996c4adf7f387573d36ea993f8cc32c96 Revert "disable sidebar menu option if it is disabled." This reverts commit 05f0eb57618d090fa45011120a907a3b1157accb. Revert "finally get the taskpane rendering again" This reverts commit 228bb7ffe0d404ba1225f7b4d26ca71e098577d9. Conflicts: officecfg/registry/data/org/openoffice/Office/Impress.xcu sd/source/ui/framework/factories/TaskPanelFactory.cxx sd/source/ui/framework/tools/FrameworkHelper.cxx Change-Id: I248cc9a769695cde19e78774d42ce666dc685599 Revert "don't throw up the sidebar on start." This reverts commit 645db9a2bd9b1eec381de60c491e6b7f9ee7a7b4. Conflicts: officecfg/registry/data/org/openoffice/Office/Views.xcu Change-Id: I911859757e2e019836e8ed5213d2ba69ff82aec8 Revert "update to the right service name for new URLs." This reverts commit 55f49970f4085e3a1498961edabd5303bd6bea6c. Conflicts: sd/source/ui/framework/tools/FrameworkHelper.cxx Change-Id: I1ba2762a4c969a9125ff8354a9b6035813290021 Revert "tentatively restore more UNO / task-pane goo ..." This reverts commit 052ac10a6f9b28b9b06884dd3ed41879722be6c9. Conflicts: officecfg/registry/data/org/openoffice/Office/Impress.xcu Change-Id: I7e62f27329af033df811549436718648a6447dea Revert "more reverts, first cut at making sidebar optional." This reverts commit a65a423e22fc03d0b7850bbf20dfc30f6cfa34dd. Revert "add experimental option for sidebar to 'Advanced' pane." This reverts commit 54d820a7815af03a248c1aa424fae9bf9a4881f4. Conflicts: cui/source/options/optjava.cxx sd/source/ui/framework/module/ImpressModule.cxx Change-Id: I09a6c0f7834c8ef330d05a014505aaaf09ae096f Revert "Restore FrameworkHelper taskpane URLs." This reverts commit e9c2d5b26b1e1b52bdf87192a76314b7362fa80c. more foo Change-Id: I2eaa2fbd74dc7a2f7ba937d310472cee6b5a0b57 really go to town on it Change-Id: I885dc03cd0286bbfdf05c05da9f0bbea2b78bcf4
2013-09-20uno: new InteropGrabBag UNO prop in OfficeDocumentAndres Gomez
Added the new InteropGrabBag property to the OfficeDocument service and modified the JUnit UNO unit tests for it. Added specific implementation in the sfx2 module for the SfxBaseModel class. Added specific inherited implementations in the sc, sd, starmath and sw modules for the ScModelObj, SdXImpressDocument, SmModel, and SwXTextDocument classes. This new property is intended by now for its usage on preserving OOX's theming although the aim is to be able to re-create the theming in the future from saved properties. It could also be used for preserving other attributes for interoperability among document formats. Change-Id: Ia822856293c70ae22911afa794e3e38bcaa31f86 Reviewed-on: https://gerrit.libreoffice.org/6000 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-19Make scrolling in ThumbnailView smoother and not per-lineKrisztian Pinter
Change-Id: I3df50dc953c6a5123b62f129b6e303ff682c6d9b Reviewed-on: https://gerrit.libreoffice.org/5951 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-18Resolves: fdo#69444 cursor keys don't move between recent used docsCaolán McNamara
because each item is identified by an id, but that isn't set on the recent used so it stays stuck on the first one. change the ctor of the base element to require an id to be passed to it and adjust all the good code and then use the index+1 of the recently used elements as the id. Change-Id: I1e5978ddedbd4718923ef72d67598158d5ba8ee7
2013-09-09unify strip previews optimal size in one placeCaolán McNamara
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
2013-09-03Resolves: fdo#68726 make navigator child dialog float on topCaolán McNamara
i.e. set its parent to the thing it wants to be on top of As an aside I'm not entirely sure that this little dialog has the decorations set on it that it would like, I suspect it wants to be more like the tearable-off font color floatingwindow. But lets not muddy the waters in this commit. Change-Id: I9e0c35fbb66e50c04c7b28904d3937cf9ae417f4
2013-09-03startcenter: Add tooltips for thumbnails with long filenamesKrisztian Pinter
Change-Id: Id9bab881f74b40691cb3e7364af78758d769a8a6 Reviewed-on: https://gerrit.libreoffice.org/5756 Reviewed-by: Krisztian Pinter <pin.terminator@gmail.com> Tested-by: Krisztian Pinter <pin.terminator@gmail.com>
2013-09-02GSOC work, renaming for consistencyGergo Mocsi
Menu enrty was renamed to IDE Options under View. SID_BASICIDE_CODECOMPLETE was renamed to SID_BASICIDE_IDEOPTIONS. CodeCompleteDlg was rename to BasicIDEOptionDlg. Ui file was renamed to basicideoptionsdialog.ui. Checkbox for extended types is now independent from code complete one. Change-Id: Id862df0ee56cdf2aa81e19a34099fe679ad5d311
2013-09-02GSOC work menu entry + code fixGergo Mocsi
Fixed the definition of GLOB_KEY, NOT_FOUND from const to static const. Added a new menu entry for code completition under View->Enable Code Completition. Change-Id: If8ac25ee43a7ba780ccdee2e5e909777115a1f27
2013-09-02CMIS properties: make multiple valuesCao Cuong Ngo
Change-Id: I0d5ed8fbfd113940aadc117bcc7cf751be246071
2013-09-02CMIS properties: fix update issueCao Cuong Ngo
Change-Id: Ia04c588c7491cf9a4a5430b364b52ac89adf2f90
2013-09-02Convert CMIS properties dialog to .uiCao Cuong Ngo
Change-Id: I98caf59352bb5e57c7685cb24561ddb2966b6035
2013-09-02CMIS properties: Add type to the UNO APICao Cuong Ngo
Change-Id: Ie4f32bc840cdfab1d5f600991cd6ac8aabcb1f87
2013-09-02CMIS properties dialogCao Cuong Ngo
Use Sequence directly instead of creating intermediate properties Change-Id: I194342678d7f56f34cc24a56440827e795e6be95
2013-09-02CMIS properties dialogCao Cuong Ngo
Greyed out YesNo button when the property is readonly Change-Id: I093651c9a17e8e1e23a164a6f91d6971d3ecc67a
2013-09-02CMIS properties dialogCao Cuong Ngo
When it's a CMIS document, don't update custom properties, which also prevents cmis properties aren't updated. Change-Id: Ia26d9ae5debae9c5de347ed309a3f07cfda4a475
2013-09-02Cmis update propertiesCao Cuong Ngo
Change-Id: I13db07386f766019701ad9348988dcede718660c
2013-09-02CMIS properties dialog: update propertiesCao Cuong Ngo
Change-Id: Ia506713b61dc6c1343eac3640863c86a2fc3f18f
2013-09-02CMIS properties dialog: Fixed the "*" location bugCao Cuong Ngo
Tried to change the WB_PASSWORD but didn't work. Change-Id: Id872fe041fc16b5d705c779372e2084f686cfd07
2013-09-02Cmis PropertyCao Cuong Ngo
Add MultiValued, OpenChoice and Choices to CMIS Property Change-Id: Iade033c86878368b39a0264ad0a56d0286e6bffb
2013-09-02CMIS properties dialogCao Cuong Ngo
Rename CmisPropertyValues to CmisProperty Change-Id: I7360e6b55406c1abe381c8d915be41d972498167
2013-09-02CMIS propertiesCao Cuong Ngo
Create a CmisPropertyValue with additional DisplayName, Updatable and Required properties. Change-Id: Ia20d76a739ac5c51d7c89ef6f1a40a299697cb0e
2013-09-02CMIS properties dialogCao Cuong Ngo
Change property name and type to FixedText Change-Id: I568e213efb0cd0fb0167d8dab397f67b3fa1f69e
2013-09-02CMIS properties dialogCao Cuong Ngo
Fix properties type editing Change-Id: Ic36f0351ec738e7444508f8326c23e89150c9603
2013-09-02CMIS properties dialog: load CMIS properties into the dialogCao Cuong Ngo
Change-Id: I40561de3ce944f017a79995d1ef38584443fbf02
2013-09-02CMIS properties dialog initializeCao Cuong Ngo
Change-Id: I1bdc2a9e8d2ee916fa37f836baf750385c820da4
2013-08-30startcenter: Add toggle to view templates in Start CenterKrisztian Pinter
Change-Id: I17aa3bfbb7f4b0eca525dd15d6866c6951d5d20f Reviewed-on: https://gerrit.libreoffice.org/5543 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-08-29add support for in-place style previewNoel Power
selecting a style in the styles dialog ( without double clicking ) will apply the style to the currently selected cell(s) You can with the keys navigate to other styles and they in turn will also be applied. Preview will end when you click back onto the document. *FIXME* - the styles dialog isn't really suitable for previewing, a new dialog ( possibly in the toolbar ) might be nicer ( see Excel ) *FIXME* - when there is a multiple selection the highlight colour (applied as a transparent overlay) is most annoying ( and is mixed with any background colour applied if part of a style ) see ( ScGridWindow::UpdateSelectionOverlay() ) However my puny attempts to make the selection use a transparent colour made all the borders of the selected cells dissappear. I guess maybe a box/border around each selected cell ( or group of cells ) would also work but I didn't try that Change-Id: I0950e79085ffb75f60ee961835665df0c230172f
2013-08-29convert include/sfx2/app.hxx from String to OUStringNoel Grandin
Change-Id: I7f1c3070fe3b0bb28b45c53d57c4cd1ba10c85d7
2013-08-29convert include/sfx2/basedlgs.hxx from String to OUStringNoel Grandin
Change-Id: I9ad9bda02ac1c49441ecbdd8a9f5714a18d381d4