summaryrefslogtreecommitdiff
path: root/sfx2/inc
AgeCommit message (Collapse)AuthorFilesLines
2012-06-18callcatcher: drop unused macro-generated GetChildWindowId methodsCaolán McNamara2-4/+38
add _WITHID variants for the cases where we (apparently?) still need them. Change-Id: I3b8290869368487f04ecd93a5f3a717de7fd10b4
2012-06-15added zoom submenu to ViewTim Hardeck1-2/+12
Added zoom submenu to View with the same entries of the zoom status bar right mouse button menu. This feature was requested on the design-mailing list: http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html Additionally the zoom menu entries were sorted in a more logical way. Change-Id: I5f2df8aa33be9305841fd5505c95963bee8a0ed0
2012-06-15move zoomitem from svx to sfx2Tim Hardeck3-5/+101
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2. This patch does base on Caolán McNamara's patch he sent to the mailing list. Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold1-37/+8
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-15removed empty SfxApplication::SaveBasicManager() and its usageTakeshi Abe1-1/+0
See 6801a61711ebaa71781ec733da25bfbb364cb4ad and b57bf0f202884261352cae750e09b97f570d3204 Change-Id: Ia63a5426a6445bffd4579d4535382bf93a97a589
2012-06-13Tidy up *commands.h - Remove unused CMD_ definesThomas Arnhold1-272/+0
This is the first part of a nice cleanup ;) Change-Id: I2fa632dbb589053d8f95456233e10e97dff190fa
2012-06-12Convert SV_DECL_PTRARR(SvBaseLinks) to std::vectorNoel Grandin1-3/+1
Change-Id: I9197dc4fd7ed32f030de8121913265ec78c83585
2012-06-11un-inline isValidXmlId (MSVC doesn't like it anymore)Michael Stahl1-7/+2
Change-Id: I59872f6e7fbdfc73875a45912b93d01b4379aec7
2012-06-11Remove unused InterceptChildWindowKeyDown: further cleanupThomas Arnhold2-3/+0
Change-Id: I497b18aff8e571dd5f028325c16a7292f4f80692
2012-06-11Remove non-functional Hide/ShowStatusTextThomas Arnhold1-3/+0
Change-Id: Ifad680ea6f2f3693fecc649a000e638052dcf080
2012-06-11remove EraseLeadingChars and EraseTrailingCharsCaolán McNamara1-1/+2
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-08Convert SV_DECL_PTRARR( SvLinkSources) to std::setNoel Grandin1-5/+3
Used a std::set because the code was enforcing uniqueness. Change-Id: Ie9243ed17b1165b6a371d0ff2f1a856186697ba3
2012-06-08Convert SV_DECL_PTRARR_DEL(SfxItemPtrArray) to std::mapNoel Grandin1-5/+11
- 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(SfxMacroInfoArr_Impl) to std::vectorNoel Grandin1-2/+2
Change-Id: If82cf86e03e2539e95684a85929ecb24999bd6ba
2012-06-01Allow for editing of read-only documentsStephan Bergmann2-0/+6
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-28Whatever an inimanager was, it has been dead for a decadeTor Lillqvist2-6/+0
Change-Id: I6efd7877df34af515e61b6b7fcd112fa041f5e61
2012-05-24Removed unused SfxMedium::bDirectStephan Bergmann1-5/+13
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 Yoshida1-0/+1
This info will be used during type detection for more clever filter selection. Change-Id: I66a52ff6f425e97884afd1c85831c11381fb695d
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon2-0/+40
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
2012-05-11Looks like CMD_SID_FRAMETITLE can goStephan Bergmann1-1/+0
...now that SID_FRAMETITLE is gone, and it is unused, anyway. Change-Id: I8b6b2641b988763df85d88490dc46484083b7180
2012-05-10Removed unused SID_FRAMETITLEStephan Bergmann3-3/+1
...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-04Improved variable nameStephan Bergmann1-2/+2
Change-Id: Id3a505afa3d8a6e99beeccafe30713cf40fc0c76
2012-04-30make ResId::toString a non-static memberCaolán McNamara2-1/+3
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-23tweak paste-only context menu ( add paste only number )Noel Power2-1/+2
changed the text to really only paste text, also added pasteonly | number
2012-04-21Replace css macro with namespace for nicer namespacingThomas Arnhold1-7/+2
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-3/+1
2012-04-05SfxViewShell::GetScrollingMode always returns SCROLLING_DEFAULTIvan Timofeev1-11/+0
2012-04-02Remove unused HTMLMODE_FIRSTLINEHarri Pitkänen1-1/+0
HTMLMODE_FIRSTLINE was disabled in all HTML export modes. It seems to have been used to add first line indent for paragraphs in Netscape version 3 but all currently available export modes use CSS for that.
2012-03-30removed duplicate includes in sfx2Takeshi Abe7-7/+0
2012-03-29add for calc extra paste ctx menu with options to paste text or formula onlyNoel Power2-3/+6
2012-03-23.hrc files don't need executable bitsMichael Stahl5-0/+0
2012-03-23.h files don't need executable bitsMichael Stahl1-0/+0
2012-03-23we dont' need any SvCompatWeakBase use in SfxMedium AKAICSCaolán McNamara1-3/+0
2012-03-20remove extra string castsCaolán McNamara1-1/+1
2012-03-20split macros to elide unneeded methodsCaolán McNamara1-3/+20
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann6-0/+24
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-08these Links either shouldn't be links, or shouldn't existCaolán McNamara1-1/+1
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann7-22/+22
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-27Removed unused codeSzabolcs Dezsi1-2/+0
2012-02-27callcatcher: update unused listCaolán McNamara1-17/+0
2012-02-21unwrap ifdefs with unused membersCaolán McNamara1-1/+1
2012-02-18partial revert of unused code removal, and add LINUX guardsMichael Meeks1-0/+1
2012-02-17Removed unused code from svl and sfx2Szabolcs Dezsi5-5/+1
2012-02-05Remove unused codeElton Chung17-27/+0
2012-01-30remove '#define UNOOUSTRING ::rtl::OUString'Ivan Timofeev1-17/+16
2012-01-30remove '#define OUSTRING ::rtl::OUString'Ivan Timofeev3-15/+12
2012-01-28bUILocked is always falseIvan Timofeev1-1/+0
2012-01-27SvDispatch class doesn't exist anymoreCaolán McNamara1-1/+0
2012-01-23add the "Send Feedback..." help menu itemIvan Timofeev1-0/+1
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann7-16/+16
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.