summaryrefslogtreecommitdiff
path: root/sfx2/source/view
AgeCommit message (Collapse)Author
2012-06-15Give Macro recorder separate option, apart from Experimental featuresCor Nouws
Change-Id: I9dbf5d510ebaff8448a152d75a006a183303bd81
2012-06-11Remove non-functional Hide/ShowStatusTextThomas Arnhold
Change-Id: Ifad680ea6f2f3693fecc649a000e638052dcf080
2012-06-09Remove superfluous include commentsThomas Arnhold
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-03Targeted string rework (ii)Olivier Hallot
Further cleanup on top of 2f1a1c529694c1fec6d3b02930f8226c7b2bccd9 Change-Id: If348a0985ea92e4dafc450402053d43f77a0f58f
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Ia43a1ac7e55f3823255d739fb0930fa23ec5ab27
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I27a092628e48b39f7bad2ed895f80aeea0d9ee35
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I120b321166bb078b44d8b9894a1f906e9c6a611f
2012-06-01Allow for editing of read-only documentsStephan Bergmann
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-05-29targeted string re-workNorbert Thiebaud
Change-Id: If9a9889fa36bc76c9afed295568ed9a05de4587f
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-28Whatever an inimanager was, it has been dead for a decadeTor Lillqvist
Change-Id: I6efd7877df34af515e61b6b7fcd112fa041f5e61
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann
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-22Renamed writer_web_HTML to generic_HTML.Kohei Yoshida
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 Holesovsky
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-10Removed unused SID_FRAMETITLEStephan Bergmann
...which was only ever written to, never read. This in turn allowed SfxViewFrame::UpdateTitle to return void instead of String, and made SfxObjectShell::UpdateTitle become unused. (The title appears to be created via SfxBaseModel::getTitle instead these days?) Change-Id: I5e1115a707134058a1f3a0beaa180eb471c817e6
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-04-25refactor ImpSvtDataCaolán McNamara
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-05SfxViewShell::GetScrollingMode always returns SCROLLING_DEFAULTIvan Timofeev
2012-03-30removed duplicate includes in sfx2Takeshi Abe
2012-03-23.hrc files don't need executable bitsMichael Stahl
2012-03-16Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann
2012-03-05Sprinkle DISABLE_SCRIPTING ifdefsTor Lillqvist
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-18Fix typos in commentsElton Chung
2012-02-13WaE: unreferenced local variableTor Lillqvist
2012-02-10Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)Takeshi Abe
2012-02-05Remove unused codeElton Chung
2012-02-01Some cppcheck cleaningJulien Nabet
2012-01-30remove '#define UNOOUSTRING ::rtl::OUString'Ivan Timofeev
2012-01-28bUILocked is always falseIvan Timofeev
2012-01-26remember that map has been initializedIvan Timofeev
2012-01-24sfx2: fix indentation in viewsh.cxxIvan Timofeev
2012-01-20SV_DECL_PTRARR->std::vectorAugust Sodora
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz
2012-01-10Fix for fdo43460 Part XXXIII getLength() to isEmpty()Olivier Hallot
Part XXXIII Modules sfx2
2012-01-10simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara
2012-01-10Remove cruft in debug toolsMarcel Metz
2011-12-26catch exception by constant referenceTakeshi Abe
2011-12-22catch by const refCaolán McNamara
2011-12-08childs -> childrenMichael T. Whiteley
2011-12-08Less succes, more successStefan Knorr (astron)
2011-12-03Revert "fdo#41865: Make macro recording work without experimental features"August Sodora
This reverts commit f4b3bd91ca177101d90f522e81163dc6421e14c9.
2011-12-03fdo#41865: Make macro recording work without experimental featuresAugust Sodora
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke