summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2012-06-09Remove superfluous include commentsThomas Arnhold5-10/+0
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09Remove superfluous include commentsThomas Arnhold7-19/+0
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-06-09sigh... fix const abuse in WNT only code...Michael Stahl1-3/+2
Change-Id: Ie6a93e15f4e7342faf232f28df133ff808cbe073
2012-06-09fix WNT only SfxApplication::AddDdeTopicMichael Stahl1-5/+9
Change-Id: Ifa5f845817178f7ec3608670c65c71e8c0a717cd
2012-06-08Convert SV_DECL_PTRARR( SvLinkSources) to std::setNoel Grandin2-11/+6
Used a std::set because the code was enforcing uniqueness. Change-Id: Ie9243ed17b1165b6a371d0ff2f1a856186697ba3
2012-06-08Convert SV_DECL_PTRARR_DEL(SfxItemPtrArray) to std::mapNoel Grandin3-37/+41
- Convert it to a map because that is a more natural structure given how it's accessing the data - Cleanup an old typedef alias that doesn't seem to be used anymore. Change-Id: I46816d7270d165ddde381af0639169aaf009a16b
2012-06-08Convert SV_DECL_PTRARR_SORT_DEL(SfxFoundCacheArr_Impl) to std::vectorNoel Grandin1-10/+17
The SV..SORT part is unused in this code so I ignored it in the conversion. Change-Id: I5e3338f3d5256e123f7979660d93ea02b8b4fd78
2012-06-08Convert SV_DECL_PTRARR_DEL(SfxVerbSlotArr_Impl) to std::vectorNoel Grandin1-7/+13
Change-Id: I06bdcdf6e6b7f159783ce7ab381b7b21f7db4a98
2012-06-08Convert SV_DECL_PTRARR_DEL(SfxDockArr_Impl) to std::vectorNoel Grandin1-16/+23
Change-Id: I1856a276ee93f35c8f6e7f51c83d7d80c3efd86c
2012-06-08further convert ExpandedEntries to vector<OUString>Michael Stahl1-21/+12
Change-Id: Iea728a7bf3803f5ab17a57483b7dc24079fce5ed
2012-06-08Convert SV_DECL_PTRARR_DEL(ExpandedEntries) to std::vectorNoel Grandin1-5/+12
Change-Id: Ib10e0417674c5e4a4c5c88f962898e20dee5dd6f
2012-06-08Convert SV_DECL_PTRARR_DEL(StyleTreeArr_Impl) to std::vectorNoel Grandin1-18/+24
Change-Id: I22b42fea3f46b76769ff64d496e1bb6864451247
2012-06-08Convert SV_DECL_PTRARR(SfxMacroInfoArr_Impl) to std::vectorNoel Grandin1-2/+2
Change-Id: If82cf86e03e2539e95684a85929ecb24999bd6ba
2012-06-08Convert SV_DECL_PTRARR( SfxDdeDocTopics_Impl) to std::vectorNoel Grandin1-4/+4
Change-Id: I5d4c2ae56a7720cdf0701a294d5805fb9e475974
2012-06-08fix DeleteAndDestroy in previous commitMichael Stahl1-1/+4
Not deleteing seems to crash in ScRefreshTimer::Timeout in sc_unoapi. Change-Id: I765ab89f0b8b200aeccde9d46293e8f0e3f706d4
2012-06-08Convert SV_DECL_PTRARR_DEL( SvLinkSource_Array_Impl) to std::vectorNoel Grandin1-39/+44
Change-Id: I0a0f3e3da4d708bceab6faf0e01b9e7326444ba0
2012-06-08targetted revert of fdo#30917 - wrt. storing hierarchical view dataMichael Meeks1-13/+0
Change-Id: Ifffcad11e7691a8371be4e11143776f83c3608f5
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin16-72/+61
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin2-7/+9
Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-05fdo#50694: Honor the preferred filter returned by type detection.Kohei Yoshida1-10/+27
Because that filter is more reliable. Change-Id: Ifbab294bf4f344301410cd671a9245bffa03fa11
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky1-1/+1
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05Fix fdo#50703 clamp ODF1.2 compatibility-mode to use old encryption.Thorsten Behrens1-2/+2
As requested for better interop inside the ODF ecosystem, asking for compatible odf output gets you blowfish/sha1-based encryption unconditionally.
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin5-51/+38
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04Improve error reportingStephan Bergmann1-0/+1
Change-Id: Ib8017f950f414601676b54c36425a0592b4cc395
2012-06-04CMIS ucp: write documents back to CMIS serverCédric Bosdonnat1-2/+26
This change needs a git repo build of libcmis. Change-Id: I I740d18dbf3c36d9387b867e750fcbe8e114e5362
2012-06-04Bypass scripting in one more place when DISABLE_SCRIPTINGTor Lillqvist1-1/+2
Change-Id: I37ec7fa799e6a8e3162c4dfb2ec92aeccfc57df1
2012-06-03Targeted string rework (ii)Olivier Hallot5-32/+29
Further cleanup on top of 2f1a1c529694c1fec6d3b02930f8226c7b2bccd9 Change-Id: If348a0985ea92e4dafc450402053d43f77a0f58f
2012-06-02targeted string re-workNorbert Thiebaud5-31/+31
Change-Id: Ia43a1ac7e55f3823255d739fb0930fa23ec5ab27
2012-06-02targeted string re-workNorbert Thiebaud5-99/+99
Change-Id: If149857d1f5171ad451c00de55e68b1aa215358b
2012-06-02targeted string re-workNorbert Thiebaud11-66/+66
Change-Id: I27a092628e48b39f7bad2ed895f80aeea0d9ee35
2012-06-02targeted string re-workNorbert Thiebaud7-66/+66
Change-Id: Ica5753180f4c8be4547ba97bbd7221309d1e3157
2012-06-02targeted string re-workNorbert Thiebaud2-31/+31
Change-Id: Id37249ba16f543798324ee2cac566ec56d8e378e
2012-06-02targeted string re-workNorbert Thiebaud4-192/+191
Change-Id: Ib607fc30bf6eaa1c1043eb7e815295b728da3085
2012-06-02targeted string re-workNorbert Thiebaud8-174/+174
Change-Id: I20867f9ef04297f27523b63dc1e18a2e31da5d42
2012-06-02targeted string re-workNorbert Thiebaud10-109/+107
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
2012-06-02targeted string re-workNorbert Thiebaud2-211/+211
Change-Id: I6a417dbea4a0b00be3f8e4b6dbe1ef0f4bbcbeed
2012-06-02targeted string re-workNorbert Thiebaud7-65/+65
Change-Id: I103e7171a5a523c388af14ec453299990c99c8c1
2012-06-01Allow for editing of read-only documentsStephan Bergmann7-24/+50
When e.g. viewing mail attachments (that have been stored r/o to some download directory by the mail application), it would be nice if the user could easily temporarily modify them (say, play around with a spreadsheet, changing some numbers and triggering recalculation of formulas) by clicking the "Edit File" button and not being asked to create a copy for editing. This patch tries to make editability of a view independent of the r/o status of the medium: * SID_EDITDOC (the "Edit File" button) now only toggles the r/o status of the view. It no longer asks to create a copy for editing if the underlying medium is r/o. * When a modified document is toggled to r/o via SID_EDITDOC, LO still asks the user to save or discard the changes. However, if the underlying medium is physically r/o (see next), saving the document opens the "Save As" dialog, instead of just doing a "Save" operation (which would fail on the r/o file). * A new state of "IsOriginallyReadOnly" needed to be added to the medium, to keep track whether the medium was originally opened r/o (and is thus assumed to be physically r/o), as toggling SID_EDITDOC in the view also changes the open mode of the underlying medium. Instead of trying to fully understand and disentangle that horrible mess, I just added yet another state to the mess... * The title of the document window now contains "(read-only)" if and only if either the view is r/o or the medium is originally r/o (or both). Change-Id: I89d9c6adf0baab411e737a5f4e6f4e770e7a70be
2012-06-01nuke unused namespaceTakeshi Abe1-2/+0
Change-Id: Ic00cdfce4172af0a2f0aa1aa33ef5e386d407976
2012-05-31nuke unused typedefTakeshi Abe1-2/+0
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-29targeted string re-workNorbert Thiebaud1-2/+2
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks4-5/+7
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-28Whatever an inimanager was, it has been dead for a decadeTor Lillqvist3-14/+0
Change-Id: I6efd7877df34af515e61b6b7fcd112fa041f5e61
2012-05-25sfx2: improve READMEMichael Stahl1-1/+13
2012-05-24Delete SfxItemSet before the current shell gets destroyed.Kohei Yoshida1-4/+10
SfxItemSet takes hold of the SfxItemPool instance from the current shell, and accesses it when it gets destroyed. The problem arises when the current shell gets destroyed before the SfxItemSet instnace does, in which case an illegal memory access ensues. This fixes intermittent crashes when opening a document in Writer. Change-Id: Ib5e74b43051f868f22f6efdb311e6c2a75326d9a
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann10-25/+28
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-23Add mechanism to pass doc service name to the descriptor when opening a file.Kohei Yoshida3-1/+30
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-22Renamed writer_web_HTML to generic_HTML.Kohei Yoshida2-2/+2
This should reflect the fact that this type was already used as a generic HTML type. Change-Id: I0a209d51ed229f07aff001075c39bfc82d4c3088
2012-05-22border window: Design by Mirek M. - make the 'shells' more lightweight.Jan Holesovsky1-0/+1
Just a line at the top and the bottom, we do not want the entire 3D effect here, it makes it visually incompatible with the window decorations. Change-Id: I262932fb5def21d5bc4fb347be6d6a07807bb4d2
2012-05-17removed unused const rtl::OUStringTakeshi Abe2-2/+0
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb