diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 20:34:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 08:12:10 -0600 |
commit | c7c40687f6d1e0f155dde44d8803a2e957797c08 (patch) | |
tree | 20e6807f1ded95c85d3477f8951caa62f352e954 /sfx2 | |
parent | Remove visual noise from sax (diff) | |
download | core-c7c40687f6d1e0f155dde44d8803a2e957797c08.tar.gz core-c7c40687f6d1e0f155dde44d8803a2e957797c08.zip |
Remove visual noise from sfx2
Change-Id: I0f556a386ce64d154b695c2a35f808c94b9f0b7a
Reviewed-on: https://gerrit.libreoffice.org/8310
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
100 files changed, 769 insertions, 769 deletions
diff --git a/sfx2/inc/idpool.hxx b/sfx2/inc/idpool.hxx index eadcf39a4c60..e2679420721a 100644 --- a/sfx2/inc/idpool.hxx +++ b/sfx2/inc/idpool.hxx @@ -41,7 +41,7 @@ public: }; -//------------------------------------------------------------------------ + // returns sal_True if the id is locked diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx index 3adfb9f2bb17..a1bff758f80c 100644 --- a/sfx2/inc/srchdlg.hxx +++ b/sfx2/inc/srchdlg.hxx @@ -25,13 +25,13 @@ #include <vcl/fixed.hxx> #include <sfx2/basedlgs.hxx> -// ============================================================================ + namespace sfx2 { -// ============================================================================ + // SearchDialog -// ============================================================================ + class SearchDialog : public ModelessDialog { @@ -78,11 +78,11 @@ public: virtual void StateChanged( StateChangedType nStateChange ); }; -// ============================================================================ + } // namespace sfx2 -// ============================================================================ + #endif // INCLUDED_SFX2_INC_SRCHDLG_HXX diff --git a/sfx2/qa/complex/sfx2/JUnitBasedTest.java b/sfx2/qa/complex/sfx2/JUnitBasedTest.java index 8afa24e1924d..d4c3b1428b2b 100644 --- a/sfx2/qa/complex/sfx2/JUnitBasedTest.java +++ b/sfx2/qa/complex/sfx2/JUnitBasedTest.java @@ -9,13 +9,13 @@ import org.junit.BeforeClass; public class JUnitBasedTest { - // ----------------------------------------------------------------------------------------------------------------- + protected XComponentContext getContext() { return m_connection.getComponentContext(); } - // ----------------------------------------------------------------------------------------------------------------- + protected XMultiServiceFactory getORB() { final XMultiServiceFactory xMSF1 = UnoRuntime.queryInterface( @@ -23,7 +23,7 @@ public class JUnitBasedTest return xMSF1; } - // ----------------------------------------------------------------------------------------------------------------- + @BeforeClass public static void setUpConnection() throws Exception { @@ -32,7 +32,7 @@ public class JUnitBasedTest m_connection.setUp(); } - // ----------------------------------------------------------------------------------------------------------------- + @AfterClass public static void tearDownConnection() throws InterruptedException, com.sun.star.uno.Exception { diff --git a/sfx2/qa/complex/sfx2/UndoManager.java b/sfx2/qa/complex/sfx2/UndoManager.java index 901c6c4b90ab..52f062600f48 100644 --- a/sfx2/qa/complex/sfx2/UndoManager.java +++ b/sfx2/qa/complex/sfx2/UndoManager.java @@ -92,7 +92,7 @@ import org.openoffice.test.tools.SpreadsheetDocument; */ public class UndoManager { - // ----------------------------------------------------------------------------------------------------------------- + @Before public void beforeTest() throws com.sun.star.uno.Exception { @@ -108,7 +108,7 @@ public class UndoManager globalFactory.insert( m_callbackFactory ); } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkWriterUndo() throws Exception { @@ -116,7 +116,7 @@ public class UndoManager impl_checkUndo(); } - // ----------------------------------------------------------------------------------------------------------------- + //FIXME fails fdo#35663 @Test public void checkCalcUndo() throws Exception { @@ -124,7 +124,7 @@ public class UndoManager impl_checkUndo(); } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkDrawUndo() throws Exception { @@ -132,7 +132,7 @@ public class UndoManager impl_checkUndo(); } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkImpressUndo() throws Exception { @@ -140,7 +140,7 @@ public class UndoManager impl_checkUndo(); } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkChartUndo() throws Exception { @@ -148,7 +148,7 @@ public class UndoManager impl_checkUndo(); } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkBrokenScripts() throws com.sun.star.uno.Exception, InterruptedException { @@ -161,7 +161,7 @@ public class UndoManager impl_setupBrokenBasicScript(); final String scriptURI = "vnd.sun.star.script:default.callbacks.brokenScript?language=Basic&location=document"; - // ............................................................................................................. + // scenario 1: Pressing a button which is bound to execute the script // (This is one of the many cases where SfxObjectShell::CallXScript is invoked) @@ -191,7 +191,7 @@ public class UndoManager // auto-closed the context after the macro finished. assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoContextDepth() ); - // ............................................................................................................. + // scenario 2: dispatching the script URL. Technically, this is equivalent to configuring the // script into a menu or toolbar, and selecting the respective menu/toolbar item m_callbackCalled = false; @@ -200,7 +200,7 @@ public class UndoManager // same as above: The script didn't close the context, but the OOo framework should have assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoContextDepth() ); - // ............................................................................................................. + // scenario 3: assigning the script to some document event, and triggering this event final XEventsSupplier eventSupplier = UnoRuntime.queryInterface( XEventsSupplier.class, m_currentDocument.getDocument() ); final XNameReplace events = UnoRuntime.queryInterface( XNameReplace.class, eventSupplier.getEvents() ); @@ -217,7 +217,7 @@ public class UndoManager // same as above: The script didn't close the context, but the OOo framework should have assertEquals( "undo context was not auto-closed as expected", 0, m_undoListener.getCurrentUndoContextDepth() ); - // ............................................................................................................. + // scenario 4: let the script enter an Undo context, but not close it, as usual. // Additionally, let the script close the document - the OOo framework code which cares for // auto-closing of Undo contexts should survive this, ideally ... @@ -229,7 +229,7 @@ public class UndoManager m_currentDocument = null; } - // ----------------------------------------------------------------------------------------------------------------- + @Test public void checkSerialization() throws com.sun.star.uno.Exception, InterruptedException { @@ -282,7 +282,7 @@ public class UndoManager assertEquals( "not all actions have been undone", actionCount, actionsUndone[0].intValue() ); } - // ----------------------------------------------------------------------------------------------------------------- + @After public void afterTest() { @@ -295,7 +295,7 @@ public class UndoManager m_callbackFactory.dispose(); } - // ----------------------------------------------------------------------------------------------------------------- + /** * @return returns the undo manager belonging to a given document */ @@ -307,7 +307,7 @@ public class UndoManager return undoManager; } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_waitFor( final Object i_condition, final int i_milliSeconds ) throws InterruptedException { synchronized( i_condition ) @@ -316,7 +316,7 @@ public class UndoManager } } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_setupBrokenBasicScript() { try @@ -350,7 +350,7 @@ public class UndoManager } } - // ----------------------------------------------------------------------------------------------------------------- + private XPropertySet impl_setupButton() throws com.sun.star.uno.Exception { // let the document create a shape @@ -383,7 +383,7 @@ public class UndoManager return UnoRuntime.queryInterface( XPropertySet.class, controlModel ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_assignScript( final XPropertySet i_controlModel, final String i_interfaceName, final String i_interfaceMethod, final String i_scriptURI ) { @@ -419,7 +419,7 @@ public class UndoManager } } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_clickButton( final XPropertySet i_buttonModel ) throws NoSuchElementException, IndexOutOfBoundsException { final XControlAccess controlAccess = UnoRuntime.queryInterface( XControlAccess.class, @@ -438,7 +438,7 @@ public class UndoManager fail("did not find the accessible action named 'press'"); } - // ----------------------------------------------------------------------------------------------------------------- + private static class UndoListener implements XUndoManagerListener { public void undoActionAdded( UndoManagerEvent i_event ) @@ -606,7 +606,7 @@ public class UndoManager private final Object m_allContextsClosedCondition = new Object(); }; - // ----------------------------------------------------------------------------------------------------------------- + private void impl_checkUndo() throws Exception { System.out.println( "testing: " + m_currentTestCase.getDocumentDescription() ); @@ -640,7 +640,7 @@ public class UndoManager assertTrue( "document is closed, but the UndoManagerListener has not been notified of the disposal", m_undoListener.isDisposed() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testSingleModification( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { m_currentTestCase.doSingleModification(); @@ -669,7 +669,7 @@ public class UndoManager assertEquals( "UI-Undo does not notify the listener", 2, m_undoListener.getUndoActionCount() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testMultipleModifications( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { m_undoListener.reset(); @@ -697,7 +697,7 @@ public class UndoManager m_currentTestCase.verifyInitialDocumentState(); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testCustomUndoActions( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.clear(); @@ -756,7 +756,7 @@ public class UndoManager assertTrue( action1.disposed() && action2.disposed() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testLocking( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -798,10 +798,10 @@ public class UndoManager assertTrue( "unlocking the manager when it is not locked should throw", caughtExpected ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testContextHandling( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { - // ............................................................................................................. + // part I: non-empty contexts i_undoManager.reset(); m_undoListener.reset(); @@ -851,7 +851,7 @@ public class UndoManager assertArrayEquals( new String[0], i_undoManager.getAllRedoActionTitles() ); assertTrue( m_undoListener.wasRedoStackCleared() ); - // ............................................................................................................. + // part II: empty contexts i_undoManager.reset(); m_undoListener.reset(); @@ -866,7 +866,7 @@ public class UndoManager i_undoManager.isUndoPossible() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testNestedContexts( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -894,7 +894,7 @@ public class UndoManager assertTrue( "nested actions not properly undone", action1.undoCalled() && action2.undoCalled() && action3.undoCalled() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testErrorHandling( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -1008,7 +1008,7 @@ public class UndoManager } } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testStackHandling( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -1034,7 +1034,7 @@ public class UndoManager assertFalse( "adding a new action should have cleared the Redo stack", i_undoManager.isRedoPossible() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testClearance( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -1096,7 +1096,7 @@ public class UndoManager assertEquals( "seems that |reset| did not really close the open contexts", 1, m_undoListener.getCurrentUndoContextDepth() ); } - // ----------------------------------------------------------------------------------------------------------------- + private void impl_testHiddenContexts( final XUndoManager i_undoManager ) throws com.sun.star.uno.Exception { i_undoManager.reset(); @@ -1179,13 +1179,13 @@ public class UndoManager assertTrue( action3.undoCalled() ); } - // ----------------------------------------------------------------------------------------------------------------- + private XComponentContext getContext() { return m_connection.getComponentContext(); } - // ----------------------------------------------------------------------------------------------------------------- + private XMultiServiceFactory getORB() { final XMultiServiceFactory xMSF1 = UnoRuntime.queryInterface( @@ -1193,7 +1193,7 @@ public class UndoManager return xMSF1; } - // ----------------------------------------------------------------------------------------------------------------- + @BeforeClass public static void setUpConnection() throws Exception { @@ -1203,7 +1203,7 @@ public class UndoManager m_connection.setUp(); } - // ----------------------------------------------------------------------------------------------------------------- + @AfterClass public static void tearDownConnection() throws InterruptedException, com.sun.star.uno.Exception { @@ -1214,7 +1214,7 @@ public class UndoManager System.out.println( "--------------------------------------------------------------------------------" ); } - // ----------------------------------------------------------------------------------------------------------------- + private static class CustomUndoAction implements XUndoAction, XComponent { CustomUndoAction() @@ -1299,7 +1299,7 @@ public class UndoManager private final short m_failWhich; } - // ----------------------------------------------------------------------------------------------------------------- + private static class CountingUndoAction implements XUndoAction { CountingUndoAction( final int i_expectedOrder, final Object i_lock, final Integer[] i_actionsUndoneCounter ) @@ -1332,19 +1332,19 @@ public class UndoManager private Integer[] m_actionsUndoneCounter; } - // ----------------------------------------------------------------------------------------------------------------- + private static String getCallbackUndoContextTitle() { return "Some Unfinished Undo Context"; } - // ----------------------------------------------------------------------------------------------------------------- + private static String getCallbackComponentServiceName() { return "org.openoffice.complex.sfx2.Callback"; } - // ----------------------------------------------------------------------------------------------------------------- + /** * a factory for a callback component which, at OOo runtime, is inserted into OOo's "component repository" */ @@ -1401,7 +1401,7 @@ public class UndoManager private final ArrayList<XEventListener> m_eventListeners = new ArrayList<XEventListener>(); }; - // ----------------------------------------------------------------------------------------------------------------- + private class CallbackComponent implements XJob, XTypeProvider { CallbackComponent() diff --git a/sfx2/sdi/appslots.sdi b/sfx2/sdi/appslots.sdi index 817ea1f5aefc..385f795f58eb 100644 --- a/sfx2/sdi/appslots.sdi +++ b/sfx2/sdi/appslots.sdi @@ -220,7 +220,7 @@ interface Application ] } - //========================================================================= + shell SfxApplication { @@ -261,7 +261,7 @@ shell SfxApplication ExecMethod = OfaExec_Impl; ] - //---------------------------------------------------------------------- + SID_OFFICE_CHECK_PLZ [ diff --git a/sfx2/sdi/docslots.sdi b/sfx2/sdi/docslots.sdi index 243a68798432..c2c3a153f46a 100644 --- a/sfx2/sdi/docslots.sdi +++ b/sfx2/sdi/docslots.sdi @@ -53,7 +53,7 @@ interface Documents ] } - //========================================================================= + interface Document [ Automation = FALSE ; @@ -199,7 +199,7 @@ interface OfficeDocument : Document ] } - //========================================================================= + shell SfxObjectShell { diff --git a/sfx2/sdi/frmslots.sdi b/sfx2/sdi/frmslots.sdi index 69ba42d79133..362ced41e89b 100644 --- a/sfx2/sdi/frmslots.sdi +++ b/sfx2/sdi/frmslots.sdi @@ -410,7 +410,7 @@ interface TopWindow : BrowseWindow ] } - //========================================================================= + shell SfxViewFrame { diff --git a/sfx2/sdi/sfx.sdi b/sfx2/sdi/sfx.sdi index 624e99066564..bba571ced5d6 100644 --- a/sfx2/sdi/sfx.sdi +++ b/sfx2/sdi/sfx.sdi @@ -16,7 +16,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -//-------------------------------------------------------------------------- + SfxBoolItem _SwitchViewShell0 SID_VIEWSHELL0 [ @@ -43,7 +43,7 @@ SfxBoolItem _SwitchViewShell0 SID_VIEWSHELL0 GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem _SwitchViewShell1 SID_VIEWSHELL1 [ @@ -70,7 +70,7 @@ SfxBoolItem _SwitchViewShell1 SID_VIEWSHELL1 GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem _SwitchViewShell2 SID_VIEWSHELL2 [ @@ -97,7 +97,7 @@ SfxBoolItem _SwitchViewShell2 SID_VIEWSHELL2 GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem _SwitchViewShell3 SID_VIEWSHELL3 [ @@ -124,7 +124,7 @@ SfxBoolItem _SwitchViewShell3 SID_VIEWSHELL3 GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem _SwitchViewShell4 SID_VIEWSHELL4 [ @@ -151,7 +151,7 @@ SfxBoolItem _SwitchViewShell4 SID_VIEWSHELL4 GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem About SID_ABOUT () [ @@ -176,7 +176,7 @@ SfxVoidItem About SID_ABOUT GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxObjectItem Activate SID_ACTIVATE () [ @@ -201,7 +201,7 @@ SfxObjectItem Activate SID_ACTIVATE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem ActiveHelp SID_HELPBALLOONS [ @@ -228,7 +228,7 @@ SfxBoolItem ActiveHelp SID_HELPBALLOONS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxUInt16Item ActualStyleFamily SID_STYLE_FAMILY [ @@ -255,7 +255,7 @@ SfxUInt16Item ActualStyleFamily SID_STYLE_FAMILY GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxObjectItem NewDoc SID_NEWDOC (SfxStringItem Region SID_TEMPLATE_REGIONNAME,SfxStringItem Name SID_TEMPLATE_NAME) [ @@ -283,7 +283,7 @@ SfxObjectItem NewDoc SID_NEWDOC GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem AddBookmark SID_CREATELINK (SfxStringItem URL SID_BOOKMARK_URL,SfxStringItem Title SID_BOOKMARK_TITLE) [ @@ -308,7 +308,7 @@ SfxVoidItem AddBookmark SID_CREATELINK GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxObjectItem AddDirect SID_NEWDOCDIRECT () [ @@ -336,7 +336,7 @@ SfxObjectItem AddDirect SID_NEWDOCDIRECT GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem AddressBookSource SID_TEMPLATE_ADDRESSBOKSOURCE () [ @@ -361,7 +361,7 @@ SfxVoidItem AddressBookSource SID_TEMPLATE_ADDRESSBOKSOURCE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxVoidItem AddWatch SID_BASICIDE_ADDWATCH () [ @@ -386,7 +386,7 @@ SfxVoidItem AddWatch SID_BASICIDE_ADDWATCH GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem Author SID_DOCINFO_AUTHOR [ @@ -413,7 +413,7 @@ SfxStringItem Author SID_DOCINFO_AUTHOR GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem AutoHide SID_AUTOHIDE [ @@ -440,7 +440,7 @@ SfxBoolItem AutoHide SID_AUTOHIDE GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem AutoPilotMenu SID_AUTOPILOTMENU () [ @@ -468,7 +468,7 @@ SfxVoidItem AutoPilotMenu SID_AUTOPILOTMENU GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem Backspace SID_BACKSPACE () [ @@ -493,7 +493,7 @@ SfxVoidItem Backspace SID_BACKSPACE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicBreak SID_BASICBREAK () [ @@ -518,7 +518,7 @@ SfxVoidItem BasicBreak SID_BASICBREAK GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicIDEAppear SID_BASICIDE_APPEAR (SfxStringItem Document SID_BASICIDE_ARG_DOCUMENT,SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME, SfxStringItem Name SID_BASICIDE_ARG_NAME,SfxStringItem Type SID_BASICIDE_ARG_TYPE, @@ -546,7 +546,7 @@ SfxVoidItem BasicIDEAppear SID_BASICIDE_APPEAR GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicStepInto SID_BASICSTEPINTO () [ @@ -571,7 +571,7 @@ SfxVoidItem BasicStepInto SID_BASICSTEPINTO GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicStepOut SID_BASICSTEPOUT () [ @@ -596,7 +596,7 @@ SfxVoidItem BasicStepOut SID_BASICSTEPOUT GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicStepOver SID_BASICSTEPOVER () [ @@ -621,7 +621,7 @@ SfxVoidItem BasicStepOver SID_BASICSTEPOVER GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicStop SID_BASICSTOP () [ @@ -646,7 +646,7 @@ SfxVoidItem BasicStop SID_BASICSTOP GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem Beamer SID_BROWSER [ @@ -673,7 +673,7 @@ SfxBoolItem Beamer SID_BROWSER GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem BreakPointsChanged SID_BASICIDE_BRKPNTSCHANGED () [ @@ -698,7 +698,7 @@ SfxVoidItem BreakPointsChanged SID_BASICIDE_BRKPNTSCHANGED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BrowseBackward SID_BROWSE_BACKWARD (SfxUInt16Item nSteps SID_BROWSE_BACKWARD) [ @@ -726,7 +726,7 @@ SfxVoidItem BrowseBackward SID_BROWSE_BACKWARD GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem BrowseForward SID_BROWSE_FORWARD (SfxUInt16Item nSteps SID_BROWSE_FORWARD) [ @@ -754,7 +754,7 @@ SfxVoidItem BrowseForward SID_BROWSE_FORWARD GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxBoolItem BrowseView SID_BROWSER_MODE [ @@ -781,7 +781,7 @@ SfxBoolItem BrowseView SID_BROWSER_MODE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxUInt32Item BuildVersion SID_BUILD_VERSION [ @@ -808,7 +808,7 @@ SfxUInt32Item BuildVersion SID_BUILD_VERSION GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SfxStringItem Caption SID_CAPTION [ @@ -835,7 +835,7 @@ SfxStringItem Caption SID_CAPTION GroupId = ; ] -//-------------------------------------------------------------------------- + SfxTemplateItem CharStyle SID_STYLE_FAMILY1 [ @@ -862,7 +862,7 @@ SfxTemplateItem CharStyle SID_STYLE_FAMILY1 GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxStringItem ChooseMacro SID_BASICIDE_CHOOSEMACRO () [ @@ -887,7 +887,7 @@ SfxStringItem ChooseMacro SID_BASICIDE_CHOOSEMACRO GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem ClearHistory SID_CLEARHISTORY () [ @@ -912,7 +912,7 @@ SfxVoidItem ClearHistory SID_CLEARHISTORY GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxBoolItem CloseWins SID_CLOSEWINS () [ @@ -937,7 +937,7 @@ SfxBoolItem CloseWins SID_CLOSEWINS GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem CloseDocs SID_CLOSEDOCS () [ @@ -962,7 +962,7 @@ SfxVoidItem CloseDocs SID_CLOSEDOCS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem CloseDoc SID_CLOSEDOC (SfxBoolItem saveChanges SID_CLOSEDOC_SAVE,SfxStringItem fileName SID_CLOSEDOC_FILENAME) [ @@ -990,7 +990,7 @@ SfxBoolItem CloseDoc SID_CLOSEDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem CloseWin SID_CLOSEWIN () [ @@ -1015,7 +1015,7 @@ SfxVoidItem CloseWin SID_CLOSEWIN GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem Closing SID_CLOSING [ @@ -1042,7 +1042,7 @@ SfxBoolItem Closing SID_CLOSING GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SfxStringItem Comments SID_DOCINFO_COMMENTS [ @@ -1069,7 +1069,7 @@ SfxStringItem Comments SID_DOCINFO_COMMENTS GroupId = ; ] -//-------------------------------------------------------------------------- + SfxInt32Item CompareDocuments SID_DOCUMENT_COMPARE (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem Password SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION) [ @@ -1094,7 +1094,7 @@ SfxInt32Item CompareDocuments SID_DOCUMENT_COMPARE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem CompileBasic SID_BASICCOMPILE () [ @@ -1119,7 +1119,7 @@ SfxVoidItem CompileBasic SID_BASICCOMPILE GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem ConfigureDialog SID_CONFIG (SfxStringItem ResourceURL SID_CONFIG) [ @@ -1144,7 +1144,7 @@ SfxVoidItem ConfigureDialog SID_CONFIG GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxStringItem Context SID_CONTEXT [ @@ -1171,7 +1171,7 @@ SfxStringItem Context SID_CONTEXT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem Copy SID_COPY () [ @@ -1196,7 +1196,7 @@ SfxVoidItem Copy SID_COPY GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem Crash SID_CRASH (SfxBoolItem Direct SID_CRASH) [ @@ -1221,7 +1221,7 @@ SfxVoidItem Crash SID_CRASH GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem CreateMacro SID_BASICIDE_CREATEMACRO (SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO) [ @@ -1246,7 +1246,7 @@ SfxVoidItem CreateMacro SID_BASICIDE_CREATEMACRO GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem CurrentURL SID_CURRENT_URL [ @@ -1273,7 +1273,7 @@ SfxStringItem CurrentURL SID_CURRENT_URL GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem CursorEndOfScreen SID_CURSORENDOFSCREEN () [ @@ -1298,7 +1298,7 @@ SfxVoidItem CursorEndOfScreen SID_CURSORENDOFSCREEN GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SfxVoidItem CursorTopOfScreen SID_CURSORTOPOFSCREEN () [ @@ -1323,7 +1323,7 @@ SfxVoidItem CursorTopOfScreen SID_CURSORTOPOFSCREEN GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SfxStringItem CustomerNumber SID_OFFICE_CUSTOMERNUMBER [ @@ -1350,7 +1350,7 @@ SfxStringItem CustomerNumber SID_OFFICE_CUSTOMERNUMBER GroupId = GID_SPECIAL; ] -//-------------------------------------------------------------------------- + SfxVoidItem Cut SID_CUT () [ @@ -1375,7 +1375,7 @@ SfxVoidItem Cut SID_CUT GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxStringItem DefaultFilePath SID_DEFAULTFILEPATH [ @@ -1402,7 +1402,7 @@ SfxStringItem DefaultFilePath SID_DEFAULTFILEPATH GroupId = ; ] -//-------------------------------------------------------------------------- + SfxStringItem DefaultFileName SID_DEFAULTFILENAME [ @@ -1429,7 +1429,7 @@ SfxStringItem DefaultFileName SID_DEFAULTFILENAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem Delete SID_DELETE () [ @@ -1454,7 +1454,7 @@ SfxVoidItem Delete SID_DELETE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem DeleteCurrent SID_BASICIDE_DELETECURRENT () [ @@ -1479,7 +1479,7 @@ SfxVoidItem DeleteCurrent SID_BASICIDE_DELETECURRENT GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxUInt16Item DeleteStyle SID_STYLE_DELETE (SfxStringItem Param SID_STYLE_DELETE,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -1504,7 +1504,7 @@ SfxUInt16Item DeleteStyle SID_STYLE_DELETE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxBoolItem DesignerDialog SID_STYLE_DESIGNER [ @@ -1532,7 +1532,7 @@ SfxBoolItem DesignerDialog SID_STYLE_DESIGNER ] -//-------------------------------------------------------------------------- + SfxVoidItem DragHierarchy SID_STYLE_DRAGHIERARCHIE () [ @@ -1557,7 +1557,7 @@ SfxVoidItem DragHierarchy SID_STYLE_DRAGHIERARCHIE GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem EditDoc SID_EDITDOC (SfxBoolItem Editable SID_EDITDOC) [ @@ -1582,7 +1582,7 @@ SfxBoolItem EditDoc SID_EDITDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem EditMacro SID_BASICIDE_EDITMACRO (SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO) [ @@ -1607,7 +1607,7 @@ SfxVoidItem EditMacro SID_BASICIDE_EDITMACRO GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxUInt16Item EditStyle SID_STYLE_EDIT (SfxStringItem Param SID_STYLE_EDIT,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -1632,7 +1632,7 @@ SfxUInt16Item EditStyle SID_STYLE_EDIT GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxUInt16Item HideStyle SID_STYLE_HIDE (SfxStringItem Param SID_STYLE_HIDE,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -1657,7 +1657,7 @@ SfxUInt16Item HideStyle SID_STYLE_HIDE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxUInt16Item ShowStyle SID_STYLE_SHOW (SfxStringItem Param SID_STYLE_SHOW,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -1682,7 +1682,7 @@ SfxUInt16Item ShowStyle SID_STYLE_SHOW GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxVoidItem ExecuteSearch FID_SEARCH_NOW (SvxSearchItem SearchItem SID_SEARCH_ITEM, SfxBoolItem Quiet SID_SEARCH_QUIET ) [ @@ -1708,7 +1708,7 @@ SfxVoidItem ExecuteSearch FID_SEARCH_NOW ] -//-------------------------------------------------------------------------- + SfxBoolItem ExtendedHelp SID_EXTENDEDHELP [ @@ -1735,7 +1735,7 @@ SfxBoolItem ExtendedHelp SID_EXTENDEDHELP GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxStringItem FileName SID_FILE_NAME [ @@ -1762,7 +1762,7 @@ SfxStringItem FileName SID_FILE_NAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem FocusUrlBox SID_FOCUSURLBOX () [ @@ -1790,7 +1790,7 @@ SfxVoidItem FocusUrlBox SID_FOCUSURLBOX GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem FormatMenu SID_FORMATMENU () [ @@ -1815,7 +1815,7 @@ SfxVoidItem FormatMenu SID_FORMATMENU GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxTemplateItem FrameStyle SID_STYLE_FAMILY3 [ @@ -1842,7 +1842,7 @@ SfxTemplateItem FrameStyle SID_STYLE_FAMILY3 GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxStringItem FullName SID_PROGFILENAME [ @@ -1869,7 +1869,7 @@ SfxStringItem FullName SID_PROGFILENAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxStringItem FullName SID_DOCFULLNAME [ @@ -1896,7 +1896,7 @@ SfxStringItem FullName SID_DOCFULLNAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem FullScreen SID_WIN_FULLSCREEN [ @@ -1923,7 +1923,7 @@ SfxBoolItem FullScreen SID_WIN_FULLSCREEN GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomPageWidth SID_ZOOM_PAGE_WIDTH [ @@ -1951,7 +1951,7 @@ SfxVoidItem ZoomPageWidth SID_ZOOM_PAGE_WIDTH ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomOptimal SID_ZOOM_OPTIMAL [ @@ -1979,7 +1979,7 @@ SfxVoidItem ZoomOptimal SID_ZOOM_OPTIMAL ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomPage SID_ZOOM_ENTIRE_PAGE [ @@ -2007,7 +2007,7 @@ SfxVoidItem ZoomPage SID_ZOOM_ENTIRE_PAGE ] -//-------------------------------------------------------------------------- + SfxVoidItem Zoom200Percent SID_ZOOM_200_PERCENT [ @@ -2035,7 +2035,7 @@ SfxVoidItem Zoom200Percent SID_ZOOM_200_PERCENT ] -//-------------------------------------------------------------------------- + SfxVoidItem Zoom150Percent SID_ZOOM_150_PERCENT [ @@ -2063,7 +2063,7 @@ SfxVoidItem Zoom150Percent SID_ZOOM_150_PERCENT ] -//-------------------------------------------------------------------------- + SfxVoidItem Zoom100Percent SID_ZOOM_100_PERCENT [ @@ -2091,7 +2091,7 @@ SfxVoidItem Zoom100Percent SID_ZOOM_100_PERCENT ] -//-------------------------------------------------------------------------- + SfxVoidItem Zoom75Percent SID_ZOOM_75_PERCENT [ @@ -2118,7 +2118,7 @@ SfxVoidItem Zoom75Percent SID_ZOOM_75_PERCENT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem Zoom50Percent SID_ZOOM_50_PERCENT [ @@ -2145,7 +2145,7 @@ SfxVoidItem Zoom50Percent SID_ZOOM_50_PERCENT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxObjectItem GetFrameWindow SID_FILLFRAME (SfxStringItem WindowName SID_FILLFRAME) [ @@ -2170,7 +2170,7 @@ SfxObjectItem GetFrameWindow SID_FILLFRAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoDown SID_CURSORDOWN (SfxInt16Item By SID_CURSORDOWN) [ @@ -2195,7 +2195,7 @@ SfxVoidItem GoDown SID_CURSORDOWN GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN (SfxInt16Item By SID_CURSORPAGEDOWN,SfxBoolItem Sel FN_PARAM_2) [ @@ -2220,7 +2220,7 @@ SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoDownBlockSel SID_CURSORPAGEDOWN_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2245,7 +2245,7 @@ SfxVoidItem GoDownBlockSel SID_CURSORPAGEDOWN_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoDownSel SID_CURSORDOWN_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2270,7 +2270,7 @@ SfxVoidItem GoDownSel SID_CURSORDOWN_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoLeft SID_CURSORLEFT (SfxInt16Item By SID_CURSORLEFT,SfxBoolItem Sel FN_PARAM_2) [ @@ -2295,7 +2295,7 @@ SfxVoidItem GoLeft SID_CURSORLEFT GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoLeftBlock SID_CURSORPAGELEFT (SfxInt16Item By FN_PARAM_1,SfxBoolItem Sel FN_PARAM_2) [ @@ -2320,7 +2320,7 @@ SfxVoidItem GoLeftBlock SID_CURSORPAGELEFT GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoLeftBlockSel SID_CURSORPAGELEFT_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2345,7 +2345,7 @@ SfxVoidItem GoLeftBlockSel SID_CURSORPAGELEFT_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoLeftSel SID_CURSORLEFT_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2370,7 +2370,7 @@ SfxVoidItem GoLeftSel SID_CURSORLEFT_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoRight SID_CURSORRIGHT (SfxInt16Item By SID_CURSORRIGHT,SfxBoolItem Sel FN_PARAM_2) [ @@ -2395,7 +2395,7 @@ SfxVoidItem GoRight SID_CURSORRIGHT GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoRightSel SID_CURSORRIGHT_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2420,7 +2420,7 @@ SfxVoidItem GoRightSel SID_CURSORRIGHT_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE (SfxBoolItem Sel FN_PARAM_2) [ @@ -2445,7 +2445,7 @@ SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToEndOfDataSel SID_CURSORENDOFFILE_SEL () [ @@ -2470,7 +2470,7 @@ SfxVoidItem GoToEndOfDataSel SID_CURSORENDOFFILE_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToEndOfRow SID_CURSOREND (SfxBoolItem Sel FN_PARAM_2) [ @@ -2495,7 +2495,7 @@ SfxVoidItem GoToEndOfRow SID_CURSOREND GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToEndOfRowSel SID_CURSOREND_SEL () [ @@ -2520,7 +2520,7 @@ SfxVoidItem GoToEndOfRowSel SID_CURSOREND_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToStart SID_CURSORTOPOFFILE (SfxBoolItem Sel FN_PARAM_2) [ @@ -2545,7 +2545,7 @@ SfxVoidItem GoToStart SID_CURSORTOPOFFILE GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToStartOfRow SID_CURSORHOME () [ @@ -2570,7 +2570,7 @@ SfxVoidItem GoToStartOfRow SID_CURSORHOME GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToStartOfRowSel SID_CURSORHOME_SEL () [ @@ -2595,7 +2595,7 @@ SfxVoidItem GoToStartOfRowSel SID_CURSORHOME_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoToStartSel SID_CURSORTOPOFFILE_SEL () [ @@ -2620,7 +2620,7 @@ SfxVoidItem GoToStartSel SID_CURSORTOPOFFILE_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoUp SID_CURSORUP (SfxInt16Item By SID_CURSORUP,SfxBoolItem Sel FN_PARAM_2) [ @@ -2645,7 +2645,7 @@ SfxVoidItem GoUp SID_CURSORUP GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoUpBlock SID_CURSORPAGEUP (SfxInt16Item By SID_CURSORPAGEUP,SfxBoolItem Sel FN_PARAM_2) [ @@ -2670,7 +2670,7 @@ SfxVoidItem GoUpBlock SID_CURSORPAGEUP GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoUpBlockSel SID_CURSORPAGEUP_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2695,7 +2695,7 @@ SfxVoidItem GoUpBlockSel SID_CURSORPAGEUP_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem GoUpSel SID_CURSORUP_SEL (SfxInt16Item By FN_PARAM_1) [ @@ -2720,7 +2720,7 @@ SfxVoidItem GoUpSel SID_CURSORUP_SEL GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpAnnotate SID_HELP_ANNOTATE () [ @@ -2745,7 +2745,7 @@ SfxVoidItem HelpAnnotate SID_HELP_ANNOTATE GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpBookmark SID_HELP_BOOKMARK () [ @@ -2770,7 +2770,7 @@ SfxVoidItem HelpBookmark SID_HELP_BOOKMARK GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxStringItem HelpChooseFile SID_HELP_HELPFILEBOX [ @@ -2800,7 +2800,7 @@ SfxStringItem HelpChooseFile SID_HELP_HELPFILEBOX GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpDownload SID_HELP_DOWNLOAD () [ @@ -2825,7 +2825,7 @@ SfxVoidItem HelpDownload SID_HELP_DOWNLOAD GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpIndex SID_HELPINDEX () [ @@ -2850,7 +2850,7 @@ SfxVoidItem HelpIndex SID_HELPINDEX GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpMenu SID_HELPMENU () [ @@ -2875,7 +2875,7 @@ SfxVoidItem HelpMenu SID_HELPMENU GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpOnHelp SID_HELPONHELP () [ @@ -2900,7 +2900,7 @@ SfxVoidItem HelpOnHelp SID_HELPONHELP GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpSearch SID_HELP_SEARCH () [ @@ -2925,7 +2925,7 @@ SfxVoidItem HelpSearch SID_HELP_SEARCH GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxBoolItem HelpTip SID_HELPTIPS [ @@ -2952,7 +2952,7 @@ SfxBoolItem HelpTip SID_HELPTIPS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpZoomIn SID_HELP_ZOOMIN () [ @@ -2977,7 +2977,7 @@ SfxVoidItem HelpZoomIn SID_HELP_ZOOMIN GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpZoomOut SID_HELP_ZOOMOUT () [ @@ -3002,7 +3002,7 @@ SfxVoidItem HelpZoomOut SID_HELP_ZOOMOUT GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem HideCurPage SID_BASICIDE_HIDECURPAGE () [ @@ -3027,7 +3027,7 @@ SfxVoidItem HideCurPage SID_BASICIDE_HIDECURPAGE GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem HyperlinkDialog SID_HYPERLINK_DIALOG [ @@ -3054,7 +3054,7 @@ SfxBoolItem HyperlinkDialog SID_HYPERLINK_DIALOG GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxBoolItem InsertDoc SID_INSERTDOC (SfxStringItem Name SID_INSERTDOC,SfxStringItem Filter FN_PARAM_1) [ @@ -3079,7 +3079,7 @@ SfxBoolItem InsertDoc SID_INSERTDOC GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxVoidItem InsertObjectFloatingFrame SID_INSERT_FLOATINGFRAME ( SfxStringItem Name FN_PARAM_1, @@ -3110,7 +3110,7 @@ SfxVoidItem InsertObjectFloatingFrame SID_INSERT_FLOATINGFRAME GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxBoolItem IsLoading SID_DOC_LOADING [ @@ -3137,7 +3137,7 @@ SfxBoolItem IsLoading SID_DOC_LOADING GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem IsLoadingImages SID_IMG_LOADING [ @@ -3164,7 +3164,7 @@ SfxBoolItem IsLoadingImages SID_IMG_LOADING GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem IsPrinting SID_PRINTOUT [ SfxVoidItem PrintOut(SfxInt16Item from SID_PRINT_FIRST_PAGE,SfxInt16Item to SID_PRINT_LAST_PAGE,SfxInt16Item copies SID_PRINT_COPIES,SfxBoolItem silent SID_SILENT); @@ -3192,7 +3192,7 @@ SfxBoolItem IsPrinting SID_PRINTOUT GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem JumpToMark SID_JUMPTOMARK (SfxStringItem Bookmark SID_JUMPTOMARK) [ @@ -3217,7 +3217,7 @@ SfxVoidItem JumpToMark SID_JUMPTOMARK GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxStringItem Keywords SID_DOCINFO_KEYWORDS [ @@ -3244,7 +3244,7 @@ SfxStringItem Keywords SID_DOCINFO_KEYWORDS GroupId = ; ] -//-------------------------------------------------------------------------- + SfxStringItem LibLoaded SID_BASICIDE_LIBLOADED (SfxUsrAnyItem Document SID_BASICIDE_ARG_DOCUMENT_MODEL,SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME) [ @@ -3272,7 +3272,7 @@ SfxStringItem LibLoaded SID_BASICIDE_LIBLOADED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem LibRemoved SID_BASICIDE_LIBREMOVED (SfxUsrAnyItem Document SID_BASICIDE_ARG_DOCUMENT_MODEL,SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME) [ @@ -3300,7 +3300,7 @@ SfxStringItem LibRemoved SID_BASICIDE_LIBREMOVED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem LibSelect SID_BASICIDE_LIBSELECTED (SfxUsrAnyItem Document SID_BASICIDE_ARG_DOCUMENT_MODEL,SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME) [ @@ -3328,7 +3328,7 @@ SfxStringItem LibSelect SID_BASICIDE_LIBSELECTED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem LibSelector SID_BASICIDE_LIBSELECTOR [ @@ -3355,7 +3355,7 @@ SfxStringItem LibSelector SID_BASICIDE_LIBSELECTOR GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadAccel SID_CONFIGACCEL (SfxStringItem FileName SID_CFGFILE) [ @@ -3380,7 +3380,7 @@ SfxVoidItem LoadAccel SID_CONFIGACCEL GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadBasic SID_BASICLOAD () [ @@ -3405,7 +3405,7 @@ SfxVoidItem LoadBasic SID_BASICLOAD GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadConfiguration SID_LOADCONFIG (SfxStringItem FileName SID_CFGFILE) [ @@ -3430,7 +3430,7 @@ SfxVoidItem LoadConfiguration SID_LOADCONFIG GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadEvents SID_CONFIGEVENT (SfxStringItem FileName SID_CFGFILE) [ @@ -3455,7 +3455,7 @@ SfxVoidItem LoadEvents SID_CONFIGEVENT GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadMenu SID_CONFIGMENU (SfxStringItem FileName SID_CFGFILE) [ @@ -3480,7 +3480,7 @@ SfxVoidItem LoadMenu SID_CONFIGMENU GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadStatusBar SID_CONFIGSTATUSBAR (SfxStringItem FileName SID_CFGFILE) [ @@ -3505,7 +3505,7 @@ SfxVoidItem LoadStatusBar SID_CONFIGSTATUSBAR GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem LoadToolBox SID_TOOLBOXOPTIONS () [ @@ -3530,7 +3530,7 @@ SfxVoidItem LoadToolBox SID_TOOLBOXOPTIONS GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem Logout SID_LOGOUT () [ @@ -3558,7 +3558,7 @@ SfxVoidItem Logout SID_LOGOUT GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem ScriptOrganizer SID_SCRIPTORGANIZER (SfxScriptOrganizerItem ScriptOrganizer SID_SCRIPTORGANIZER) [ @@ -3586,7 +3586,7 @@ SfxVoidItem ScriptOrganizer SID_SCRIPTORGANIZER GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem MacroOrganizer SID_MACROORGANIZER (SfxUInt16Item TabId SID_MACROORGANIZER) [ @@ -3614,7 +3614,7 @@ SfxVoidItem MacroOrganizer SID_MACROORGANIZER GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem ReccomendReadonly SID_RECOMMENDREADONLY [ @@ -3666,7 +3666,7 @@ SfxBoolItem ShowLines SID_SHOWLINES GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem RunMacro SID_RUNMACRO () [ @@ -3715,7 +3715,7 @@ SfxVoidItem GotoLine SID_GOTOLINE GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem MacroDialog SID_BASICCHOOSER () [ @@ -3740,7 +3740,7 @@ SfxVoidItem MacroDialog SID_BASICCHOOSER GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxUInt16Item MailReceipt SID_MAIL_NOTIFY [ @@ -3767,7 +3767,7 @@ SfxUInt16Item MailReceipt SID_MAIL_NOTIFY GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem MatchGroup SID_BASICIDE_MATCHGROUP () [ @@ -3792,7 +3792,7 @@ SfxVoidItem MatchGroup SID_BASICIDE_MATCHGROUP GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem MenuBarVisible SID_TOGGLE_MENUBAR [ @@ -3819,7 +3819,7 @@ SfxBoolItem MenuBarVisible SID_TOGGLE_MENUBAR GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxInt32Item MergeDocuments SID_DOCUMENT_MERGE (SfxStringItem URL SID_FILE_NAME,SfxInt16Item Version SID_VERSION) [ @@ -3844,7 +3844,7 @@ SfxInt32Item MergeDocuments SID_DOCUMENT_MERGE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxUInt16Item MetricUnit SID_ATTR_METRIC [ @@ -3871,7 +3871,7 @@ SfxUInt16Item MetricUnit SID_ATTR_METRIC GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem ApplyCharUnit SID_ATTR_APPLYCHARUNIT [ @@ -3898,7 +3898,7 @@ SfxBoolItem ApplyCharUnit SID_ATTR_APPLYCHARUNIT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem Modified SID_MODIFIED [ @@ -3925,7 +3925,7 @@ SfxBoolItem Modified SID_MODIFIED GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem ModifiedStatus SID_DOC_MODIFIED [ @@ -3952,7 +3952,7 @@ SfxBoolItem ModifiedStatus SID_DOC_MODIFIED GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ModuleDialog SID_BASICIDE_MODULEDLG () [ @@ -3977,7 +3977,7 @@ SfxVoidItem ModuleDialog SID_BASICIDE_MODULEDLG GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem NameChangedOnTab SID_BASICIDE_NAMECHANGEDONTAB (SfxUInt16Item TabId SID_BASICIDE_ARG_TABID,SfxStringItem NewName SID_BASICIDE_ARG_MODULENAME) [ @@ -4002,7 +4002,7 @@ SfxVoidItem NameChangedOnTab SID_BASICIDE_NAMECHANGEDONTAB GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem Navigator SID_NAVIGATOR [ @@ -4029,7 +4029,7 @@ SfxBoolItem Navigator SID_NAVIGATOR GroupId = GID_NAVIGATOR; ] -//-------------------------------------------------------------------------- + SfxBoolItem TaskPane SID_TASKPANE [ /* flags: */ @@ -4055,7 +4055,7 @@ SfxBoolItem TaskPane SID_TASKPANE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem Sidebar SID_SIDEBAR [ /* flags: */ @@ -4081,7 +4081,7 @@ SfxBoolItem Sidebar SID_SIDEBAR GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem RestoreEditingView SID_RESTORE_EDITING_VIEW [ @@ -4108,7 +4108,7 @@ SfxVoidItem RestoreEditingView SID_RESTORE_EDITING_VIEW GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem NewDialog SID_BASICIDE_NEWDIALOG () [ @@ -4133,7 +4133,7 @@ SfxVoidItem NewDialog SID_BASICIDE_NEWDIALOG GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem NewModule SID_BASICIDE_NEWMODULE () [ @@ -4158,7 +4158,7 @@ SfxVoidItem NewModule SID_BASICIDE_NEWMODULE GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxObjectItem NewObject SID_CREATE_BASICOBJECT (SfxStringItem ClassName SID_CREATE_BASICOBJECT) [ @@ -4183,7 +4183,7 @@ SfxObjectItem NewObject SID_CREATE_BASICOBJECT GroupId = ; ] -//-------------------------------------------------------------------------- + SfxUInt16Item NewStyle SID_STYLE_NEW (SfxStringItem Param SID_STYLE_NEW,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -4208,7 +4208,7 @@ SfxUInt16Item NewStyle SID_STYLE_NEW GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxVoidItem NewWindow SID_NEWWINDOW () [ @@ -4233,7 +4233,7 @@ SfxVoidItem NewWindow SID_NEWWINDOW GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ObjectCatalog SID_BASICIDE_OBJCAT () [ @@ -4258,7 +4258,7 @@ SfxVoidItem ObjectCatalog SID_BASICIDE_OBJCAT GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxStringItem ObjectMenue SID_OBJECT (SfxUInt16Item VerbID SID_OBJECT) [ @@ -4285,7 +4285,7 @@ SfxStringItem ObjectMenue SID_OBJECT GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxObjectItem Open SID_OPENDOC (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem OpenFlags SID_OPTIONS,SfxStringItem Password SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION,SfxStringItem Referer SID_REFERER,SfxStringItem SuggestedSaveAsDir SID_DEFAULTFILEPATH,SfxStringItem SuggestedSaveAsName SID_DEFAULTFILENAME) [ @@ -4337,7 +4337,7 @@ SfxObjectItem WebHtml SID_WEBHTML GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxObjectItem OpenHyperlink SID_OPENHYPERLINK (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem OpenFlags SID_OPTIONS,SfxStringItem Password SID_PASSWORD,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxInt16Item Version SID_VERSION,SfxStringItem Referer SID_REFERER) [ @@ -4362,7 +4362,7 @@ SfxObjectItem OpenHyperlink SID_OPENHYPERLINK GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxStringItem DocInfoTitle SID_DOCINFO_TITLE [ @@ -4389,7 +4389,7 @@ SfxStringItem DocInfoTitle SID_DOCINFO_TITLE GroupId = ; ] -//-------------------------------------------------------------------------- + SfxObjectItem OpenTemplate SID_OPENTEMPLATE (SfxStringItem Region SID_TEMPLATE_REGIONNAME,SfxStringItem Name SID_TEMPLATE_NAME) [ @@ -4486,7 +4486,7 @@ SfxVoidItem CheckIn SID_CHECKIN GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxStringItem OpenUrl SID_OPENURL [ @@ -4516,7 +4516,7 @@ SfxStringItem OpenUrl SID_OPENURL GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem Options SID_OPTIONS () [ @@ -4565,7 +4565,7 @@ SfxVoidItem TemplateManager SID_TEMPLATE_MANAGER GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxTemplateItem PageStyle SID_STYLE_FAMILY4 [ @@ -4592,7 +4592,7 @@ SfxTemplateItem PageStyle SID_STYLE_FAMILY4 GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxTemplateItem ParaStyle SID_STYLE_FAMILY2 [ @@ -4619,7 +4619,7 @@ SfxTemplateItem ParaStyle SID_STYLE_FAMILY2 GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem PartWindow SID_PARTWIN [ @@ -4646,7 +4646,7 @@ SfxBoolItem PartWindow SID_PARTWIN GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem Paste SID_PASTE () [ @@ -4671,7 +4671,7 @@ SfxVoidItem Paste SID_PASTE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem ClipboardFormatItems SID_CLIPBOARD_FORMAT_ITEMS (SfxUInt32Item SelectedFormat SID_CLIPBOARD_FORMAT_ITEMS) [ @@ -4699,7 +4699,7 @@ SfxVoidItem ClipboardFormatItems SID_CLIPBOARD_FORMAT_ITEMS GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxInt16Item PasteSpecial SID_PASTE_SPECIAL (SfxUInt32Item Format SID_PASTE_SPECIAL) [ @@ -4820,7 +4820,7 @@ SfxVoidItem PasteOnlyValue SID_PASTE_ONLY_VALUE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxStringItem DocPath SID_DOCPATH [ @@ -4847,7 +4847,7 @@ SfxStringItem DocPath SID_DOCPATH GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem PickList SID_PICKLIST () [ @@ -4872,7 +4872,7 @@ SfxVoidItem PickList SID_PICKLIST GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem PlugInsActive SID_PLUGINS_ACTIVE [ @@ -4899,7 +4899,7 @@ SfxBoolItem PlugInsActive SID_PLUGINS_ACTIVE GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxBoolItem Print SID_PRINTDOC (SfxStringItem PrinterName SID_PRINTER_NAME,SfxStringItem FileName SID_FILE_NAME,SfxInt16Item From SID_PRINT_FIRST_PAGE,SfxInt16Item To SID_PRINT_LAST_PAGE,SfxInt16Item Copies SID_PRINT_COPIES,SfxStringItem RangeText SID_PRINT_PAGES,SfxBoolItem Selection SID_SELECTION,SfxBoolItem Asynchron SID_ASYNCHRON,SfxBoolItem Collate SID_PRINT_COLLATE,SfxBoolItem Silent SID_SILENT) [ @@ -4924,7 +4924,7 @@ SfxBoolItem Print SID_PRINTDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem PrintDefault SID_PRINTDOCDIRECT () [ @@ -4949,7 +4949,7 @@ SfxBoolItem PrintDefault SID_PRINTDOCDIRECT GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxStringItem Printer SID_PRINTER_NAME [ @@ -4976,7 +4976,7 @@ SfxStringItem Printer SID_PRINTER_NAME GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem PrinterSetup SID_SETUPPRINTER () [ @@ -5001,7 +5001,7 @@ SfxVoidItem PrinterSetup SID_SETUPPRINTER GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem PrintPreview SID_PRINTPREVIEW [ @@ -5028,7 +5028,7 @@ SfxBoolItem PrintPreview SID_PRINTPREVIEW GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem SetDocumentProperties SID_DOCINFO (SfxDocumentInfoItem Properties SID_DOCINFO) [ @@ -5053,7 +5053,7 @@ SfxVoidItem SetDocumentProperties SID_DOCINFO GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem Quit SID_QUITAPP () [ @@ -5081,7 +5081,7 @@ SfxVoidItem Quit SID_QUITAPP GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem ReadOnly SID_DOC_READONLY [ @@ -5108,7 +5108,7 @@ SfxBoolItem ReadOnly SID_DOC_READONLY GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem MacroRecorder SID_RECORDMACRO [ @@ -5135,7 +5135,7 @@ SfxBoolItem MacroRecorder SID_RECORDMACRO GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem StopRecording SID_STOP_RECORDING (SfxBoolItem DontRecord FN_PARAM_1) [ @@ -5160,7 +5160,7 @@ SfxVoidItem StopRecording SID_STOP_RECORDING GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem MacroRecordingFloat SID_RECORDING_FLOATWINDOW [ @@ -5187,7 +5187,7 @@ SfxBoolItem MacroRecordingFloat SID_RECORDING_FLOATWINDOW GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem Redo SID_REDO ( SfxUInt16Item Redo SID_REDO ) [ @@ -5215,7 +5215,7 @@ SfxVoidItem Redo SID_REDO GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem ReleaseObject SID_DELETE_BASICOBJECT (SfxObjectItem Object SID_DELETE_BASICOBJECT) [ @@ -5240,7 +5240,7 @@ SfxVoidItem ReleaseObject SID_DELETE_BASICOBJECT GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem Reload SID_RELOAD () [ @@ -5268,7 +5268,7 @@ SfxBoolItem Reload SID_RELOAD GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem RemoveWatch SID_BASICIDE_REMOVEWATCH () [ @@ -5293,7 +5293,7 @@ SfxVoidItem RemoveWatch SID_BASICIDE_REMOVEWATCH GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem RenameCurrent SID_BASICIDE_RENAMECURRENT () [ @@ -5318,7 +5318,7 @@ SfxVoidItem RenameCurrent SID_BASICIDE_RENAMECURRENT GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem Repaint SID_REPAINT () [ @@ -5343,7 +5343,7 @@ SfxVoidItem Repaint SID_REPAINT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxStringItem RepeatAction SID_REPEAT [ SfxVoidItem Repeat(); @@ -5371,7 +5371,7 @@ SfxStringItem RepeatAction SID_REPEAT GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxBoolItem RubyDialog SID_RUBY_DIALOG [ @@ -5398,7 +5398,7 @@ SfxBoolItem RubyDialog SID_RUBY_DIALOG GroupId = GID_FORMAT; ] -//-------------------------------------------------------------------------- + SfxVoidItem RunBasic SID_BASICRUN () [ @@ -5423,7 +5423,7 @@ SfxVoidItem RunBasic SID_BASICRUN GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem Save SID_SAVEDOC (SfxStringItem VersionComment SID_DOCINFO_COMMENTS,SfxStringItem Author SID_DOCINFO_AUTHOR) [ @@ -5451,7 +5451,7 @@ SfxBoolItem Save SID_SAVEDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem SaveAll SID_SAVEDOCS () [ @@ -5476,7 +5476,7 @@ SfxBoolItem SaveAll SID_SAVEDOCS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem SaveAs SID_SAVEASDOC (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxStringItem Password SID_PASSWORD,SfxBoolItem PasswordInteraction SID_PASSWORDINTERACTION,SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxStringItem VersionComment SID_DOCINFO_COMMENTS,SfxStringItem VersionAuthor SID_DOCINFO_AUTHOR,SfxBoolItem Overwrite SID_OVERWRITE,SfxBoolItem Unpacked SID_UNPACK,SfxBoolItem SaveTo SID_SAVETO) [ @@ -5504,7 +5504,7 @@ SfxBoolItem SaveAs SID_SAVEASDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem SaveAsTemplate SID_DOCTEMPLATE (SfxStringItem TemplateRegion SID_TEMPLATE_REGIONNAME,SfxStringItem TemplateName SID_TEMPLATE_NAME) [ @@ -5529,7 +5529,7 @@ SfxBoolItem SaveAsTemplate SID_DOCTEMPLATE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxBoolItem SaveACopy SID_SAVEACOPY (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxBoolItem Overwrite SID_OVERWRITE, SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxBoolItem SaveACopy SID_SAVEACOPYITEM) @@ -5554,7 +5554,7 @@ SfxBoolItem SaveACopy SID_SAVEACOPY ToolBoxConfig = TRUE, GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem SaveBasicAs SID_BASICSAVEAS () [ @@ -5579,7 +5579,7 @@ SfxVoidItem SaveBasicAs SID_BASICSAVEAS GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem ExportDialog SID_EXPORT_DIALOG () [ @@ -5604,7 +5604,7 @@ SfxVoidItem ExportDialog SID_EXPORT_DIALOG GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem ImportDialog SID_IMPORT_DIALOG () [ @@ -5629,7 +5629,7 @@ SfxVoidItem ImportDialog SID_IMPORT_DIALOG GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem SaveConfiguration SID_SAVECONFIG (SfxStringItem FileName SID_CFGFILE) [ @@ -5654,7 +5654,7 @@ SfxVoidItem SaveConfiguration SID_SAVECONFIG GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxBoolItem Saved SID_DOC_SAVED [ @@ -5681,7 +5681,7 @@ SfxBoolItem Saved SID_DOC_SAVED GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem SbxDeleted SID_BASICIDE_SBXDELETED (SbxItem Sbx SID_BASICIDE_ARG_SBX) [ @@ -5706,7 +5706,7 @@ SfxVoidItem SbxDeleted SID_BASICIDE_SBXDELETED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem SbxInserted SID_BASICIDE_SBXINSERTED (SbxItem Sbx SID_BASICIDE_ARG_SBX) [ @@ -5731,7 +5731,7 @@ SfxVoidItem SbxInserted SID_BASICIDE_SBXINSERTED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem SbxRenamed SID_BASICIDE_SBXRENAMED () [ @@ -5756,7 +5756,7 @@ SfxVoidItem SbxRenamed SID_BASICIDE_SBXRENAMED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxBoolItem ScrollBodyPageDown SID_MAIL_SCROLLBODY_PAGEDOWN () [ @@ -5781,7 +5781,7 @@ SfxBoolItem ScrollBodyPageDown SID_MAIL_SCROLLBODY_PAGEDOWN GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxBoolItem SearchDialog SID_SEARCH_DLG [ /* flags: */ @@ -5806,7 +5806,7 @@ SfxBoolItem SearchDialog SID_SEARCH_DLG GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxUInt16Item SearchOptions SID_SEARCH_OPTIONS [ @@ -5833,7 +5833,7 @@ SfxUInt16Item SearchOptions SID_SEARCH_OPTIONS GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SvxSearchItem SearchProperties SID_SEARCH_ITEM [ @@ -5860,7 +5860,7 @@ SvxSearchItem SearchProperties SID_SEARCH_ITEM GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem SelectAll SID_SELECTALL () [ @@ -5885,7 +5885,7 @@ SfxVoidItem SelectAll SID_SELECTALL GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxVoidItem SendFax FN_FAX () [ @@ -5910,7 +5910,7 @@ SfxVoidItem SendFax FN_FAX GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem SendMail SID_MAIL_SENDDOC (SfxStringItem Recipient SID_MAIL_RECIPIENT,SfxStringItem Subject SID_MAIL_SUBJECT,SfxStringItem MailText SID_MAIL_TEXT,SfxUInt16Item Priority SID_MAIL_PRIORITY,SfxBoolItem AttachedDoc SID_MAIL_ATTACH,SfxStringItem AttachFiles SID_MAIL_ATTACH_FILE) [ @@ -6074,7 +6074,7 @@ SfxBoolItem SendMailDocAsOOo SID_MAIL_SENDDOCASOOO GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem SetOptions SID_SETOPTIONS () [ @@ -6099,7 +6099,7 @@ SfxVoidItem SetOptions SID_SETOPTIONS GroupId = ; ] -//-------------------------------------------------------------------------- + SfxBoolItem ShowBrowser SID_SHOW_BROWSER [ @@ -6126,7 +6126,7 @@ SfxBoolItem ShowBrowser SID_SHOW_BROWSER GroupId = GID_CONTROLS; ] -//-------------------------------------------------------------------------- + SfxBoolItem ShowPopups SID_SHOWPOPUPS [ @@ -6153,7 +6153,7 @@ SfxBoolItem ShowPopups SID_SHOWPOPUPS GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem ShowSbx SID_BASICIDE_SHOWSBX (SbxItem Sbx SID_BASICIDE_ARG_SBX) [ @@ -6178,7 +6178,7 @@ SfxVoidItem ShowSbx SID_BASICIDE_SHOWSBX GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem SourceView SID_SOURCEVIEW [ @@ -6205,7 +6205,7 @@ SfxBoolItem SourceView SID_SOURCEVIEW GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxBoolItem StatusBarVisible SID_TOGGLESTATUSBAR [ @@ -6232,7 +6232,7 @@ SfxBoolItem StatusBarVisible SID_TOGGLESTATUSBAR GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxStringItem StatusGetDate SID_BASICIDE_STAT_DATE [ @@ -6259,7 +6259,7 @@ SfxStringItem StatusGetDate SID_BASICIDE_STAT_DATE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxStringItem StatusGetPosition SID_BASICIDE_STAT_POS [ @@ -6286,7 +6286,7 @@ SfxStringItem StatusGetPosition SID_BASICIDE_STAT_POS GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxStringItem StatusGetTitle SID_BASICIDE_STAT_TITLE [ @@ -6313,7 +6313,7 @@ SfxStringItem StatusGetTitle SID_BASICIDE_STAT_TITLE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem StoreAllModuleSources SID_BASICIDE_STOREALLMODULESOURCES () [ @@ -6338,7 +6338,7 @@ SfxVoidItem StoreAllModuleSources SID_BASICIDE_STOREALLMODULESOURCES GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem StoreModuleSource SID_BASICIDE_STOREMODULESOURCE (SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO) [ @@ -6410,7 +6410,7 @@ SfxVoidItem StylePreview SID_STYLE_PREVIEW GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxTemplateItem StyleApplyState SID_STYLE_APPLY [ SfxUInt16Item StyleApply(SfxStringItem Template SID_STYLE_APPLY,SfxUInt16Item Family SID_STYLE_FAMILY,SfxStringItem FamilyName SID_STYLE_FAMILYNAME,SfxStringItem Style SID_APPLY_STYLE); @@ -6438,7 +6438,7 @@ SfxTemplateItem StyleApplyState SID_STYLE_APPLY GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem StyleNewByExample SID_STYLE_NEW_BY_EXAMPLE (SfxStringItem Param SID_STYLE_NEW_BY_EXAMPLE,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -6463,7 +6463,7 @@ SfxVoidItem StyleNewByExample SID_STYLE_NEW_BY_EXAMPLE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxVoidItem StyleUpdateByExample SID_STYLE_UPDATE_BY_EXAMPLE (SfxStringItem Param SID_STYLE_UPDATE_BY_EXAMPLE,SfxUInt16Item Family SID_STYLE_FAMILY) [ @@ -6488,7 +6488,7 @@ SfxVoidItem StyleUpdateByExample SID_STYLE_UPDATE_BY_EXAMPLE GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN [ @@ -6515,7 +6515,7 @@ SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN GroupId = GID_FORMAT; ] -//-------------------------------------------------------------------------- + SfxUInt16Item SwitchViewShell SID_VIEWSHELL [ @@ -6542,7 +6542,7 @@ SfxUInt16Item SwitchViewShell SID_VIEWSHELL GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem TaskBarVisible SID_TASKBAR [ @@ -6569,7 +6569,7 @@ SfxBoolItem TaskBarVisible SID_TASKBAR GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxTemplateItem ListStyle SID_STYLE_FAMILY5 [ @@ -6596,7 +6596,7 @@ SfxTemplateItem ListStyle SID_STYLE_FAMILY5 GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem TipsDialog SID_TIPWINDOW [ @@ -6623,7 +6623,7 @@ SfxBoolItem TipsDialog SID_TIPWINDOW GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxStringItem Title SID_DOCTITLE [ @@ -6650,7 +6650,7 @@ SfxStringItem Title SID_DOCTITLE GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem Title SID_TITLE () [ @@ -6675,7 +6675,7 @@ SfxVoidItem Title SID_TITLE GroupId = GID_FORMAT; ] -//-------------------------------------------------------------------------- + SfxVoidItem ToggleBreakPoint SID_BASICIDE_TOGGLEBRKPNT () [ @@ -6700,7 +6700,7 @@ SfxVoidItem ToggleBreakPoint SID_BASICIDE_TOGGLEBRKPNT GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem BasicIDEShowWindow SID_BASICIDE_SHOWWINDOW (SfxStringItem Document SID_BASICIDE_ARG_DOCUMENT,SfxStringItem LibName SID_BASICIDE_ARG_LIBNAME, SfxStringItem Name SID_BASICIDE_ARG_NAME,SfxStringItem Type SID_BASICIDE_ARG_TYPE, @@ -6728,7 +6728,7 @@ SfxVoidItem BasicIDEShowWindow SID_BASICIDE_SHOWWINDOW GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem Undo SID_UNDO ( SfxUInt16Item Undo SID_UNDO ) [ @@ -6756,7 +6756,7 @@ SfxVoidItem Undo SID_UNDO GroupId = GID_EDIT; ] -//------------------------------------------------ + SfxVoidItem FormatPaintbrush SID_FORMATPAINTBRUSH ( SfxBoolItem PersistentCopy SID_FORMATPAINTBRUSH ) [ /* flags: */ @@ -6783,7 +6783,7 @@ SfxVoidItem FormatPaintbrush SID_FORMATPAINTBRUSH ( SfxBoolItem PersistentCopy S GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + SfxUInt16Item UndoCount SID_ATTR_UNDO_COUNT [ @@ -6810,7 +6810,7 @@ SfxUInt16Item UndoCount SID_ATTR_UNDO_COUNT GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem UpdateAllModuleSources SID_BASICIDE_UPDATEALLMODULESOURCES () [ @@ -6835,7 +6835,7 @@ SfxVoidItem UpdateAllModuleSources SID_BASICIDE_UPDATEALLMODULESOURCES GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem UpdateModuleSource SID_BASICIDE_UPDATEMODULESOURCE (SfxMacroInfoItem aMacroInfo SID_BASICIDE_ARG_MACROINFO) [ @@ -6860,7 +6860,7 @@ SfxVoidItem UpdateModuleSource SID_BASICIDE_UPDATEMODULESOURCE GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem ManageBreakPoints SID_BASICIDE_MANAGEBRKPNTS () [ @@ -6885,7 +6885,7 @@ SfxVoidItem ManageBreakPoints SID_BASICIDE_MANAGEBRKPNTS GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxVoidItem ToggleBreakPointEnabled SID_BASICIDE_TOGGLEBRKPNTENABLED () [ @@ -6910,7 +6910,7 @@ SfxVoidItem ToggleBreakPointEnabled SID_BASICIDE_TOGGLEBRKPNTENABLED GroupId = GID_MACRO; ] -//-------------------------------------------------------------------------- + SfxUInt32Item UpdateVersion SID_UPDATE_VERSION [ @@ -6937,7 +6937,7 @@ SfxUInt32Item UpdateVersion SID_UPDATE_VERSION GroupId = GID_INTERN; ] -//-------------------------------------------------------------------------- + SfxVoidItem VersionDialog SID_VERSION () [ @@ -6985,7 +6985,7 @@ SfxUInt16Item Signature SID_SIGNATURE GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxUInt16Item MacroSignature SID_MACRO_SIGNATURE [ /* flags: */ @@ -7009,7 +7009,7 @@ SfxUInt16Item MacroSignature SID_MACRO_SIGNATURE GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxVoidItem VersionVisible SID_VERSION_VISIBLE (SfxBoolItem Show SID_VERSION_VISIBLE) [ @@ -7037,7 +7037,7 @@ SfxVoidItem VersionVisible SID_VERSION_VISIBLE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem ViewDataSourceBrowser SID_VIEW_DATA_SOURCE_BROWSER [ @@ -7064,7 +7064,7 @@ SfxBoolItem ViewDataSourceBrowser SID_VIEW_DATA_SOURCE_BROWSER GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem WinVisible SID_WIN_VISIBLE [ @@ -7091,7 +7091,7 @@ SfxBoolItem WinVisible SID_WIN_VISIBLE GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem WindowList SID_MDIWINDOWLIST () [ @@ -7116,7 +7116,7 @@ SfxVoidItem WindowList SID_MDIWINDOWLIST GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomMinus SID_ZOOM_IN () [ @@ -7141,7 +7141,7 @@ SfxVoidItem ZoomMinus SID_ZOOM_IN GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem Zooming SID_ZOOM (SfxUInt32Item ZoomScale ID_VAL_ZOOM) [ @@ -7166,7 +7166,7 @@ SfxVoidItem Zooming SID_ZOOM GroupId = ; ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomNext SID_ZOOM_NEXT () [ @@ -7191,7 +7191,7 @@ SfxVoidItem ZoomNext SID_ZOOM_NEXT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomPlus SID_ZOOM_OUT () [ @@ -7216,7 +7216,7 @@ SfxVoidItem ZoomPlus SID_ZOOM_OUT GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem ZoomPrevious SID_ZOOM_PREV () [ @@ -7241,7 +7241,7 @@ SfxVoidItem ZoomPrevious SID_ZOOM_PREV GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + TbxImageItem ZoomToolBox SID_ZOOM_TOOLBOX [ @@ -7268,7 +7268,7 @@ TbxImageItem ZoomToolBox SID_ZOOM_TOOLBOX GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem ExportTo SID_EXPORTDOC (SfxStringItem URL SID_FILE_NAME,SfxStringItem FilterName SID_FILTER_NAME,SfxBoolItem Overwrite SID_OVERWRITE, SfxStringItem FilterOptions SID_FILE_FILTEROPTIONS,SfxBoolItem SaveACopy SID_SAVEACOPYITEM) [ @@ -7293,7 +7293,7 @@ SfxBoolItem ExportTo SID_EXPORTDOC GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxBoolItem ExportToPDF SID_EXPORTDOCASPDF (SfxStringItem URL SID_FILE_NAME, SfxStringItem FilterName SID_FILTER_NAME) [ @@ -7342,7 +7342,7 @@ SfxBoolItem ExportDirectToPDF SID_DIRECTEXPORTDOCASPDF GroupId = GID_DOCUMENT; ] -//-------------------------------------------------------------------------- + SfxImageItem ImageOrientation SID_IMAGE_ORIENTATION [ @@ -7369,7 +7369,7 @@ SfxImageItem ImageOrientation SID_IMAGE_ORIENTATION GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxBoolItem SaveVersionOnClose SID_SAVE_VERSION_ON_CLOSE [ @@ -7396,7 +7396,7 @@ SfxBoolItem SaveVersionOnClose SID_SAVE_VERSION_ON_CLOSE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem Addons SID_ADDONS [ /* flags: */ @@ -7447,7 +7447,7 @@ SfxBoolItem ShowImeStatusWindow SID_SHOW_IME_STATUS_WINDOW GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem UpdateConfiguration SID_UPDATE_CONFIG (SfxStringItem StreamName SID_UPDATE_CONFIG ) [ @@ -7472,7 +7472,7 @@ SfxVoidItem UpdateConfiguration SID_UPDATE_CONFIG GroupId = GID_EXPLORER; ] -//-------------------------------------------------------------------------- + SfxVoidItem SendFeedback SID_SEND_FEEDBACK () [ @@ -7497,7 +7497,7 @@ SfxVoidItem SendFeedback SID_SEND_FEEDBACK GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem ShowLicense SID_SHOW_LICENSE () [ @@ -7522,7 +7522,7 @@ SfxVoidItem ShowLicense SID_SHOW_LICENSE GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem ShowCredits SID_SHOW_CREDITS () [ @@ -7547,7 +7547,7 @@ SfxVoidItem ShowCredits SID_SHOW_CREDITS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem HelpTutorials SID_HELP_TUTORIALS () [ @@ -7572,7 +7572,7 @@ SfxVoidItem HelpTutorials SID_HELP_TUTORIALS GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem AddonHelp SID_ADDONHELP [ /* flags: */ @@ -7598,7 +7598,7 @@ SfxVoidItem AddonHelp SID_ADDONHELP GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxStringItem FormatMenuState SID_FORMATMENUSTATE [ /* flags: */ @@ -7622,7 +7622,7 @@ SfxStringItem FormatMenuState SID_FORMATMENUSTATE GroupId = GID_VIEW; ] -//-------------------------------------------------------------------------- + SfxVoidItem InternetDialog SID_INET_DLG () [ @@ -7647,7 +7647,7 @@ SfxVoidItem InternetDialog SID_INET_DLG GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxBoolItem CheckPLZ SID_OFFICE_CHECK_PLZ (SfxStringItem PLZ SID_OFFICE_CHECK_PLZ) [ @@ -7672,7 +7672,7 @@ SfxBoolItem CheckPLZ SID_OFFICE_CHECK_PLZ GroupId = GID_SPECIAL; ] -//-------------------------------------------------------------------------- + SfxVoidItem AutoPilotAddressDataSource SID_ADDRESS_DATA_SOURCE () [ @@ -7697,7 +7697,7 @@ SfxVoidItem AutoPilotAddressDataSource SID_ADDRESS_DATA_SOURCE GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem InsertBusinessCard FN_BUSINESS_CARD ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ @@ -7722,7 +7722,7 @@ SfxVoidItem InsertBusinessCard FN_BUSINESS_CARD GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxVoidItem InsertLabels FN_LABEL ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ @@ -7747,7 +7747,7 @@ SfxVoidItem InsertLabels FN_LABEL GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxVoidItem NewXForms FN_XFORMS_INIT ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ @@ -7772,7 +7772,7 @@ SfxVoidItem NewXForms FN_XFORMS_INIT GroupId = GID_INSERT; ] -//-------------------------------------------------------------------------- + SfxVoidItem AutoPilotPresentations SID_SD_AUTOPILOT ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ @@ -7797,7 +7797,7 @@ SfxVoidItem AutoPilotPresentations SID_SD_AUTOPILOT GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem NewPresentation SID_NEWSD ( SfxUnoFrameItem Frame SID_FILLFRAME, SfxBoolItem Hidden SID_HIDDEN ) [ @@ -7822,7 +7822,7 @@ SfxVoidItem NewPresentation SID_NEWSD GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem BibliographyComponent SID_COMP_BIBLIOGRAPHY () [ @@ -7847,7 +7847,7 @@ SfxVoidItem BibliographyComponent SID_COMP_BIBLIOGRAPHY GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem CheckPLZ SID_OFFICE_CHECK_PLZ (SfxStringItem PLZ SID_OFFICE_CHECK_PLZ) [ @@ -7872,7 +7872,7 @@ SfxBoolItem CheckPLZ SID_OFFICE_CHECK_PLZ GroupId = GID_SPECIAL; ] -//-------------------------------------------------------------------------- + SfxBoolItem Minimized SID_MINIMIZED [ @@ -7968,7 +7968,7 @@ SfxBoolItem TerminateInplaceActivation SID_TERMINATE_INPLACEACTIVATION ToolBoxConfig = FALSE, ] -//-------------------------------------------------------------------------- + SfxVoidItem RecentFileList SID_RECENTFILELIST [ /* flags: */ @@ -7992,7 +7992,7 @@ SfxVoidItem RecentFileList SID_RECENTFILELIST GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxVoidItem AvailableToolbars SID_AVAILABLE_TOOLBARS (SfxStringItem Toolbar SID_AVAILABLE_TOOLBARS) [ @@ -8088,7 +8088,7 @@ SfxVoidItem MoreDictionaries SID_MORE_DICTIONARIES ToolBoxConfig = TRUE, GroupId = GID_OPTIONS; ] -//-------------------------------------------------------------------------- + SfxVoidItem ActivateStyleApply SID_ACTIVATE_STYLE_APPLY () [ @@ -8113,7 +8113,7 @@ SfxVoidItem ActivateStyleApply SID_ACTIVATE_STYLE_APPLY GroupId = GID_TEMPLATE; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow0 SID_DOCKWIN_0 [ @@ -8140,7 +8140,7 @@ SfxBoolItem DockingWindow0 SID_DOCKWIN_0 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow1 SID_DOCKWIN_1 [ @@ -8167,7 +8167,7 @@ SfxBoolItem DockingWindow1 SID_DOCKWIN_1 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow2 SID_DOCKWIN_2 [ @@ -8194,7 +8194,7 @@ SfxBoolItem DockingWindow2 SID_DOCKWIN_2 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow3 SID_DOCKWIN_3 [ @@ -8221,7 +8221,7 @@ SfxBoolItem DockingWindow3 SID_DOCKWIN_3 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow4 SID_DOCKWIN_4 [ @@ -8248,7 +8248,7 @@ SfxBoolItem DockingWindow4 SID_DOCKWIN_4 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow5 SID_DOCKWIN_5 [ @@ -8275,7 +8275,7 @@ SfxBoolItem DockingWindow5 SID_DOCKWIN_5 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow6 SID_DOCKWIN_6 [ @@ -8302,7 +8302,7 @@ SfxBoolItem DockingWindow6 SID_DOCKWIN_6 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow7 SID_DOCKWIN_7 [ @@ -8329,7 +8329,7 @@ SfxBoolItem DockingWindow7 SID_DOCKWIN_7 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow8 SID_DOCKWIN_8 [ @@ -8356,7 +8356,7 @@ SfxBoolItem DockingWindow8 SID_DOCKWIN_8 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxBoolItem DockingWindow9 SID_DOCKWIN_9 [ @@ -8383,7 +8383,7 @@ SfxBoolItem DockingWindow9 SID_DOCKWIN_9 GroupId = GID_APPLICATION; ] -//-------------------------------------------------------------------------- + SfxInt16Item PasteUnformatted SID_PASTE_UNFORMATTED () [ @@ -8408,7 +8408,7 @@ SfxInt16Item PasteUnformatted SID_PASTE_UNFORMATTED GroupId = GID_EDIT; ] -//-------------------------------------------------------------------------- + // call thesaurus dialog from context menu SfxInt16Item ThesaurusFromContext SID_THES (SfxStringItem WordReplace SID_THES) @@ -8434,7 +8434,7 @@ SfxInt16Item ThesaurusFromContext SID_THES GroupId = GID_TEXT; ] -//-------------------------------------------------------------------------- + SvxZoomItem Zoom SID_ATTR_ZOOM [ diff --git a/sfx2/sdi/viwslots.sdi b/sfx2/sdi/viwslots.sdi index 941374564f69..c8fdde1c6a42 100644 --- a/sfx2/sdi/viwslots.sdi +++ b/sfx2/sdi/viwslots.sdi @@ -21,7 +21,7 @@ interface View Automation = FALSE ; ] { - //--------------------------------------------------------------------- + SID_MAIL_SENDDOC // ole(no) api(todo) [ ExecMethod = ExecMisc_Impl ; @@ -57,7 +57,7 @@ interface View ExecMethod = ExecMisc_Impl ; StateMethod = GetState_Impl ; ] - //--------------------------------------------------------------------- + SID_PRINTDOC // ole(no) api(play/rec) [ ExecMethod = ExecPrint_Impl ; @@ -93,7 +93,7 @@ interface View ] } - //========================================================================= + shell SfxViewShell { diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 7a500e8c0263..85560fc5d602 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -243,7 +243,7 @@ SfxApplication::~SfxApplication() pApp = 0; } -//==================================================================== + const OUString& SfxApplication::GetLastDir_Impl() const diff --git a/sfx2/source/appl/app.src b/sfx2/source/appl/app.src index 7559adb1a159..448e68d297ba 100644 --- a/sfx2/source/appl/app.src +++ b/sfx2/source/appl/app.src @@ -324,7 +324,7 @@ String RID_STR_HLPFILENOTEXIST Text [ en-US ] = "The help file for this topic is not installed." ; }; - //---------------------------------------------------------------------------- + String RID_ENVTOOLBOX { diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 57a3733477b0..510a4796ed97 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -86,7 +86,7 @@ using namespace ::com::sun::star::script; using ::basic::BasicManagerRepository; -//========================================================================= + sal_uInt16 SfxApplication::SaveBasicAndDialogContainer() const { if ( pAppData_Impl->pBasicManager->isValid() ) diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx index 7d295cdef8cc..aeee95233dff 100644 --- a/sfx2/source/appl/appbaslib.cxx +++ b/sfx2/source/appl/appbaslib.cxx @@ -36,7 +36,7 @@ using namespace ::com::sun::star::embed; using ::osl::MutexGuard; using ::osl::Mutex; -//============================================================================ + SfxBasicManagerHolder::SfxBasicManagerHolder() :mpBasicManager( NULL ) { @@ -153,7 +153,7 @@ SfxBasicManagerHolder::LegacyPsswdBinaryLimitExceeded( Sequence< OUString >& sMo return sal_True; } -//============================================================================ + // Service for application library container extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL @@ -165,7 +165,7 @@ com_sun_star_comp_sfx2_ApplicationDialogLibraryContainer_get_implementation( return SFX_APP()->GetDialogContainer(); } -//============================================================================ + // Service for application library container extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL diff --git a/sfx2/source/appl/appchild.cxx b/sfx2/source/appl/appchild.cxx index 4714bb9026f9..1ab79aa492f0 100644 --- a/sfx2/source/appl/appchild.cxx +++ b/sfx2/source/appl/appchild.cxx @@ -34,7 +34,7 @@ #include <sfx2/module.hxx> #include <sfx2/sfxsids.hrc> -//========================================================================= + void SfxApplication::RegisterChildWindow_Impl( SfxModule *pMod, SfxChildWinFactory *pFact ) diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index 502759c4c8ad..b4b949fd9618 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -44,7 +44,7 @@ #include <comphelper/string.hxx> #include <com/sun/star/ucb/IllegalIdentifierException.hpp> -//======================================================================== + OUString SfxDdeServiceName_Impl( const OUString& sIn ) { diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 18a9aae3cb7b..48b55e60cb8a 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -146,14 +146,14 @@ Sequence< OUString > SAL_CALL SfxTerminateListener_Impl::getSupportedServiceName return lNames; } -//==================================================================== + typedef bool ( *PFunc_getSpecialCharsForEdit)( Window* i_pParent, const Font& i_rFont, OUString& o_rOutString ); -//==================================================================== + // Lazy binding of the GetSpecialCharsForEdit function as it resides in // a library above us. -//==================================================================== + #ifndef DISABLE_DYNLOADING @@ -195,7 +195,7 @@ OUString GetSpecialCharsForEdit(Window* pParent, const Font& rFont) return aRet; } -//==================================================================== + bool SfxApplication::Initialize_Impl() { diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx index 7be5e02cea86..e1ee67783280 100644 --- a/sfx2/source/appl/appmain.cxx +++ b/sfx2/source/appl/appmain.cxx @@ -49,7 +49,7 @@ DBG_NAME(SfxAppMainWizMenu) DBG_NAME(SfxAppMainOLEReg) DBG_NAME(SfxAppMainCHAOSReg) -//=================================================================== + TYPEINIT2(SfxApplication,SfxShell,SfxBroadcaster); diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 536105edba7d..50215417c39c 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -85,12 +85,12 @@ using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; -//=================================================================== + #define SfxApplication #include "sfxslots.hxx" -//==================================================================== + #define SFX_ITEMTYPE_STATBAR 4 diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 12100ab243f0..acc08d8a0f8e 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -113,7 +113,7 @@ using namespace ::com::sun::star::container; using namespace ::cppu; using namespace ::sfx2; -//========================================================================= + class SfxOpenDocStatusListener_Impl : public WeakImplHelper1< XDispatchResultListener > { @@ -138,7 +138,7 @@ void SAL_CALL SfxOpenDocStatusListener_Impl::disposing( const EventObject& ) thr { } -//==================================================================== + void SetTemplate_Impl( const OUString &rFileName, const OUString &rLongName, @@ -149,7 +149,7 @@ void SetTemplate_Impl( const OUString &rFileName, pDoc->ResetFromTemplate( rLongName, rFileName ); } -//==================================================================== + class SfxDocPasswordVerifier : public ::comphelper::IDocPasswordVerifier { public: @@ -205,7 +205,7 @@ private: return eResult; } -//==================================================================== + diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 482c0c34f14f..696e39d32b5d 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -56,7 +56,7 @@ using ::basic::BasicManagerRepository; -//=================================================================== + sal_Bool SfxApplication::QueryExit_Impl() { sal_Bool bQuit = sal_True; diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx index ce07f9a5749b..7c1cde67c0fd 100644 --- a/sfx2/source/appl/appreg.cxx +++ b/sfx2/source/appl/appreg.cxx @@ -40,7 +40,7 @@ #include <sfx2/objface.hxx> #include <sfx2/mnuitem.hxx> -//=================================================================== + void SfxApplication::Registrations_Impl() { diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index 58d62d908500..59a4a354698a 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -1676,7 +1676,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL return rProperties; } -//========================================================================= + RequestFilterOptions::RequestFilterOptions( uno::Reference< frame::XModel > rModel, uno::Sequence< beans::PropertyValue > rProperties ) @@ -1711,7 +1711,7 @@ uno::Sequence< uno::Reference< task::XInteractionContinuation > > return m_lContinuations; } -//========================================================================= + class RequestPackageReparation_Impl : public ::cppu::WeakImplHelper1< task::XInteractionRequest > { uno::Any m_aRequest; @@ -1781,7 +1781,7 @@ com::sun::star::uno::Reference < task::XInteractionRequest > RequestPackageRepar return com::sun::star::uno::Reference < task::XInteractionRequest >(pImp); } -//========================================================================= + class NotifyBrokenPackage_Impl : public ::cppu::WeakImplHelper1< task::XInteractionRequest > { uno::Any m_aRequest; diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx index 3d2c26b2a354..b4f01aa40891 100644 --- a/sfx2/source/appl/childwin.cxx +++ b/sfx2/source/appl/childwin.cxx @@ -144,7 +144,7 @@ sal_Bool GetSplitSizeFromString( const OUString& rStr, Size& rSize ) return sal_False; } -//========================================================================= + SfxChildWindow::SfxChildWindow(Window *pParentWindow, sal_uInt16 nId) : pParent(pParentWindow) , nType(nId) diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index 1848e74c4bf7..5a96e8777590 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -99,20 +99,20 @@ ImageList* SfxModule_Impl::GetImageList( ResMgr* pResMgr, bool bBig ) TYPEINIT1(SfxModule, SfxShell); -//========================================================================= + SFX_IMPL_INTERFACE(SfxModule,SfxShell,SfxResId(0)) { } -//==================================================================== + ResMgr* SfxModule::GetResMgr() { return pResMgr; } -//==================================================================== + SfxModule::SfxModule( ResMgr* pMgrP, sal_Bool bDummyP, SfxObjectFactory* pFactoryP, ... ) @@ -149,7 +149,7 @@ void SfxModule::Construct_Impl() } } -//==================================================================== + SfxModule::~SfxModule() { diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 86deefaa3967..664302cbcdbc 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -168,10 +168,10 @@ using namespace ::comphelper; Reference< util::XURLTransformer > xTrans( util::URLTransformer::create( ::comphelper::getProcessComponentContext() ) ); \ xTrans->parseStrict( aURL ) -//......................................................................... + namespace sfx2 { -//......................................................................... + void HandleTaskPaneList( Window* pWindow, sal_Bool bAddToList ) { @@ -240,10 +240,10 @@ namespace sfx2 return sSearchStr; } -//......................................................................... + // namespace sfx2 } -//......................................................................... + // struct IndexEntry_Impl ------------------------------------------------ diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index b595b666cedb..fac78faacc5f 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -146,10 +146,10 @@ DBG_NAME(SfxWorkWindow) //SV_IMPL_OBJARR( SfxObjectBarArr_Impl, SfxObjectBar_Impl ); -//==================================================================== + // Sort the Children according their alignment // The order corresponds to the enum SfxChildAlignment (->CHILDWIN.HXX). -// + // Help to make changes to the alignment compatible! @@ -541,7 +541,7 @@ void SfxWorkWindow::Sort_Impl() } -//==================================================================== + // constructor for workwin of a Frame SfxFrameWorkWin_Impl::SfxFrameWorkWin_Impl( Window *pWin, SfxFrame *pFrm, SfxFrame* pMaster ) @@ -579,7 +579,7 @@ SfxFrameWorkWin_Impl::SfxFrameWorkWin_Impl( Window *pWin, SfxFrame *pFrm, SfxFra nUpdateMode = SFX_VISIBILITY_STANDARD; } -//==================================================================== + // Constructor of the base class SfxWorkWindow::SfxWorkWindow( Window *pWin, SfxBindings& rB, SfxWorkWindow* pParentWorkwin ) : @@ -625,7 +625,7 @@ SfxWorkWindow::SfxWorkWindow( Window *pWin, SfxBindings& rB, SfxWorkWindow* pPar pLayoutManagerListener->setFrame( xFrame ); } -//==================================================================== + // Destructor SfxWorkWindow::~SfxWorkWindow() @@ -755,7 +755,7 @@ void SfxWorkWindow::DeleteControllers_Impl() nChildren = 0; } -//==================================================================== + // Virtual method for placing the child window. void SfxWorkWindow::ArrangeChildren_Impl( sal_Bool /*bForce*/) diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx index fc336bc9d2a8..45f6894d0738 100644 --- a/sfx2/source/bastyp/bitset.cxx +++ b/sfx2/source/bastyp/bitset.cxx @@ -25,7 +25,7 @@ #include <limits.h> #include <algorithm> -//==================================================================== + // add nOffset to each bit-value in the set BitSet BitSet::operator<<( sal_uInt16 nOffset ) const diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx index 442c33d80829..acadc3f0e82c 100644 --- a/sfx2/source/bastyp/fltlst.cxx +++ b/sfx2/source/bastyp/fltlst.cxx @@ -31,9 +31,9 @@ #include <vcl/svapp.hxx> #include <osl/mutex.hxx> -//***************************************************************************************************************** + // namespaces -//***************************************************************************************************************** + using namespace ::com::sun::star; @@ -67,7 +67,7 @@ class SfxRefreshListener : public ::cppu::WeakImplHelper1<com::sun::star::util:: } }; -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short ctor @descr These initialize an instance of a SfxFilterListener class. Created object listen automaticly on right FilterFactory-Service for all changes and synchronize right SfxFilterContainer with diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 4cac16ace272..816d2bc76daa 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -70,11 +70,11 @@ struct SfxProgress_Impl }; -//======================================================================== + #include "sfxslots.hxx" -//======================================================================== + extern sal_uInt32 Get10ThSec(); diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index ad368c99cf74..c422cfaa996b 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -137,7 +137,7 @@ void SfxEventNamesItem::AddEvent( const OUString& rName, const OUString& rUIName } -//========================================================================== + uno::Any CreateEventData_Impl( const SvxMacro *pMacro ) diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 1b3d176a683f..67dcb3fa2047 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -81,7 +81,7 @@ DBG_NAME(SfxBindingsNextJob_Impl) DBG_NAME(SfxBindingsUpdate_Impl) DBG_NAME(SfxBindingsInvalidateAll) -//==================================================================== + static sal_uInt16 nTimeOut = 300; @@ -91,11 +91,11 @@ static sal_uInt16 nTimeOut = 300; typedef boost::unordered_map< sal_uInt16, bool > InvalidateSlotMap; -//==================================================================== + typedef std::vector<SfxStateCache*> SfxStateCacheArr_Impl; -//==================================================================== + class SfxAsyncExec_Impl { @@ -207,7 +207,7 @@ public: } }; -//========================================================================== + SfxBindings::SfxBindings() : pImp(new SfxBindings_Impl), @@ -238,7 +238,7 @@ SfxBindings::SfxBindings() pImp->aTimer.SetTimeoutHdl( LINK(this, SfxBindings, NextJob_Impl) ); } -//==================================================================== + SfxBindings::~SfxBindings() diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx index 4851580fc24e..2f3cf6f80670 100644 --- a/sfx2/source/control/ctrlitem.cxx +++ b/sfx2/source/control/ctrlitem.cxx @@ -26,7 +26,7 @@ #include "statcach.hxx" #include <sfx2/viewfrm.hxx> -//==================================================================== + DBG_NAME(SfxControllerItem); @@ -70,7 +70,7 @@ sal_Bool SfxControllerItem::IsBound() const return pNext != this; } -//==================================================================== + // registeres with the id at the bindings void SfxControllerItem::Bind( sal_uInt16 nNewId, SfxBindings *pBindinx ) @@ -110,7 +110,7 @@ void SfxControllerItem::BindInternal_Impl( sal_uInt16 nNewId, SfxBindings *pBind } -//==================================================================== + void SfxControllerItem::UnBind() @@ -135,7 +135,7 @@ void SfxControllerItem::UnBind() pNext = this; } -//==================================================================== + void SfxControllerItem::ReBind() diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 7c956e083f18..f9642fb819ef 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -114,7 +114,7 @@ struct SfxDispatcher_Impl { //When the dispatched is locked, SfxRequests accumulate in aReqArr for //later dispatch when unlocked via Post - // + //The pointers are typically deleted in Post, only if we never get around //to posting them do we delete the unposted requests. SfxRequestPtrArray aReqArr; @@ -218,7 +218,7 @@ sal_Bool SfxDispatcher::IsOnTop(const SfxShell& rShell) return CheckVirtualStack(rShell, sal_False); } -//==================================================================== + sal_Bool SfxDispatcher::IsLocked( sal_uInt16 ) const /* [Description] @@ -356,7 +356,7 @@ int SfxDispatcher::Call_Impl( SfxShell& rShell, const SfxSlot &rSlot, SfxRequest return sal_False; } -//==================================================================== + void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent ) { pImp.reset(new SfxDispatcher_Impl); @@ -422,7 +422,7 @@ SfxDispatcher::SfxDispatcher( SfxViewFrame *pViewFrame ) pImp->pFrame = pViewFrame; } -//==================================================================== + SfxDispatcher::~SfxDispatcher() /* [Description] @@ -465,7 +465,7 @@ SfxDispatcher::~SfxDispatcher() } } -//==================================================================== + void SfxDispatcher::Pop ( SfxShell& rShell, /* the stack to take the SfxShell instance. */ diff --git a/sfx2/source/control/msg.cxx b/sfx2/source/control/msg.cxx index a053010fcb10..4fc4cbf18e93 100644 --- a/sfx2/source/control/msg.cxx +++ b/sfx2/source/control/msg.cxx @@ -21,7 +21,7 @@ #include <svl/eitem.hxx> #include <sfx2/msg.hxx> -//==================================================================== + SfxSlotKind SfxSlot::GetKind() const { diff --git a/sfx2/source/control/msgpool.cxx b/sfx2/source/control/msgpool.cxx index f99e8978fa8c..41ddaa2bcd7e 100644 --- a/sfx2/source/control/msgpool.cxx +++ b/sfx2/source/control/msgpool.cxx @@ -46,7 +46,7 @@ SfxSlotPool::SfxSlotPool( SfxSlotPool *pParent, ResMgr* pResManager ) _pResMgr = SfxApplication::GetOrCreate()->GetOffResManager_Impl(); } -//==================================================================== + SfxSlotPool::~SfxSlotPool() { @@ -57,7 +57,7 @@ SfxSlotPool::~SfxSlotPool() delete _pGroups; } -//==================================================================== + // registers the availability of the Interface of functions void SfxSlotPool::RegisterInterface( SfxInterface& rInterface ) @@ -98,7 +98,7 @@ void SfxSlotPool::RegisterInterface( SfxInterface& rInterface ) } } -//==================================================================== + TypeId SfxSlotPool::GetSlotType( sal_uInt16 nId ) const { @@ -106,7 +106,7 @@ TypeId SfxSlotPool::GetSlotType( sal_uInt16 nId ) const return pSlot ? pSlot->GetType()->Type() : 0; } -//==================================================================== + // unregisters the availability of the Interface of functions void SfxSlotPool::ReleaseInterface( SfxInterface& rInterface ) diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx index dd42fcf68db8..2be61cec80f2 100644 --- a/sfx2/source/control/objface.cxx +++ b/sfx2/source/control/objface.cxx @@ -37,7 +37,7 @@ DBG_NAME(SfxInterface) -//==================================================================== + extern "C" #ifdef WNT @@ -52,7 +52,7 @@ SfxCompareSlots_Impl( const void* pSmaller, const void* pBigger ) ( (int) ((SfxSlot*)pBigger)->GetSlotId() ); } -//========================================================================= + struct SfxObjectUI_Impl { @@ -111,9 +111,9 @@ struct SfxInterface_Impl static SfxObjectUI_Impl* CreateObjectBarUI_Impl( sal_uInt16 nPos, const ResId& rResId, sal_uInt32 nFeature, const OUString *pStr ); -//==================================================================== -//==================================================================== + + // constuctor, registeres a new unit SfxInterface::SfxInterface( const char *pClassName, diff --git a/sfx2/source/control/querystatus.cxx b/sfx2/source/control/querystatus.cxx index 47a456f71673..7b1dc9b3da99 100644 --- a/sfx2/source/control/querystatus.cxx +++ b/sfx2/source/control/querystatus.cxx @@ -202,7 +202,7 @@ SfxItemState SfxQueryStatus_Impl::QueryState( SfxPoolItem*& rpPoolItem ) return m_eState; } -//************************************************************************* + SfxQueryStatus::SfxQueryStatus( const Reference< XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& rCommand ) { diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx index 3d364d23dc8e..f60ded1c27c4 100644 --- a/sfx2/source/control/request.cxx +++ b/sfx2/source/control/request.cxx @@ -41,7 +41,7 @@ #include <sfx2/objface.hxx> #include <rtl/strbuf.hxx> -//=================================================================== + using namespace ::com::sun::star; @@ -93,7 +93,7 @@ struct SfxRequest_Impl: public SfxListener }; -//==================================================================== + void SfxRequest_Impl::Notify( SfxBroadcaster&, const SfxHint &rHint ) { @@ -102,7 +102,7 @@ void SfxRequest_Impl::Notify( SfxBroadcaster&, const SfxHint &rHint ) pAnti->Cancel(); } -//==================================================================== + void SfxRequest_Impl::SetPool( SfxItemPool *pNewPool ) { @@ -116,7 +116,7 @@ void SfxRequest_Impl::SetPool( SfxItemPool *pNewPool ) } } -//==================================================================== + SfxRequest::~SfxRequest() diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 44d73a8a157b..77ea0648025a 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -58,15 +58,15 @@ public: } }; -//==================================================================== + DBG_NAME(SfxShell) -//==================================================================== + TYPEINIT0(SfxShell); -//==================================================================== + class SfxVerbSlotArr_Impl : public std::vector<SfxSlot*> { public: @@ -79,9 +79,9 @@ public: using namespace com::sun::star; -//========================================================================= + // SfxShell_Impl -//========================================================================= + struct SfxShell_Impl: public SfxBroadcaster { OUString aObjectName; // Name of Sbx-Objects @@ -105,9 +105,9 @@ struct SfxShell_Impl: public SfxBroadcaster ~SfxShell_Impl() { delete pExecuter; delete pUpdater;} }; -//========================================================================= + // SfxShell -//========================================================================= + void SfxShell::EmptyExecStub(SfxShell *, SfxRequest &) { diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index bd78e889c158..43589bb5e7d6 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -53,7 +53,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::util; -//==================================================================== + DBG_NAME(SfxStateCache) DBG_NAME(SfxStateCacheSetState) diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 5a6c242c49cf..f988fc7b7b1d 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -90,12 +90,12 @@ BackingWindow::BackingWindow( Window* i_pParent ) : //Containers are invisible to cursor traversal //So on pressing "right" when in Help the //extension button is considered as a candidate - // + //But the containers are not invisible to the PushButton ctor which checks //if the preceeding window of its parent is a button and if it then //defaults to grouping with it and if it is not a button defaults to //setting itself as the start of a new group. - // + //So here take the second button and set it as explicitly not the start //of a group, i.e. allow it to be grouped with the preceeding //PushButton so when seen as a candidate by cursor travelling diff --git a/sfx2/source/dialog/dialog.src b/sfx2/source/dialog/dialog.src index 08371c480d46..fb5c2c9b9e0e 100644 --- a/sfx2/source/dialog/dialog.src +++ b/sfx2/source/dialog/dialog.src @@ -95,7 +95,7 @@ Menu MN_CONTEXT_TEMPLDLG }; }; - //------------------------------------------------------------------------ + String SID_NAVIGATOR { Text [ en-US ] = "Navigator"; diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 74dc1fc8b4e5..29be1aedef9f 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -39,10 +39,10 @@ #include <map> #include <algorithm> -//........................................................................ + namespace sfx2 { -//........................................................................ + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ui::dialogs; @@ -50,7 +50,7 @@ namespace sfx2 using namespace ::com::sun::star::beans; using namespace ::utl; - //==================================================================== + /** Some general words about what's going on here .... @@ -118,7 +118,7 @@ namespace sfx2 */ - //==================================================================== + typedef StringPair FilterDescriptor; // a single filter or a filter class (display name and filter mask) typedef ::std::list< FilterDescriptor > FilterGroup; // a list of single filter entries @@ -144,9 +144,9 @@ namespace sfx2 typedef ::std::vector< OUString > StringArray; -// ======================================================================= + // = reading of configuration data -// ======================================================================= + void lcl_ReadFilterClass( const OConfigurationNode& _rClassesNode, const OUString& _rLogicalClassName, @@ -229,7 +229,7 @@ namespace sfx2 _rGlobalClasses.clear(); _rGlobalClassNames.clear(); - //================================================================ + // get the list describing the order of all global classes Sequence< OUString > aGlobalClasses; _rFilterClassification.getNodeValue( "GlobalFilters/Order" ) >>= aGlobalClasses; @@ -255,7 +255,7 @@ namespace sfx2 // while aClassReferrer maps from the logical name of the class to the position within _rGlobalClasses where // it's dummy entry resides - //================================================================ + // go for all the single class entries OConfigurationNode aFilterClassesNode = _rFilterClassification.openNode( "GlobalFilters/Classes" ); @@ -313,7 +313,7 @@ namespace sfx2 void lcl_ReadClassification( FilterClassList& _rGlobalClasses, StringArray& _rGlobalClassNames, FilterClassList& _rLocalClasses ) { - //================================================================ + // open our config node OConfigurationTreeRoot aFilterClassification = OConfigurationTreeRoot::createWithComponentContext( ::comphelper::getProcessComponentContext(), @@ -322,19 +322,19 @@ namespace sfx2 OConfigurationTreeRoot::CM_READONLY ); - //================================================================ + // go for the global classes lcl_ReadGlobalFilters( aFilterClassification, _rGlobalClasses, _rGlobalClassNames ); - //================================================================ + // fo for the local classes lcl_ReadLocalFilters( aFilterClassification, _rLocalClasses ); } -// ======================================================================= + // = grouping and classifying -// ======================================================================= + // a struct which adds helps remembering a reference to a class entry @@ -403,14 +403,14 @@ namespace sfx2 static const sal_Unicode s_cWildcardSeparator( ';' ); - //==================================================================== + const OUString& getSeparatorString() { static OUString s_sSeparatorString( &s_cWildcardSeparator, 1 ); return s_sSeparatorString; } - //==================================================================== + struct CheckAppendSingleWildcard : public ::std::unary_function< OUString, void > { OUString& _rToBeExtended; @@ -446,7 +446,7 @@ namespace sfx2 } }; - //==================================================================== + // a helper struct which adds a fixed (Sfx-)filter to a filter group entry given by iterator struct AppendWildcardToDescriptor : public ::std::unary_function< FilterGroupEntryReferrer::value_type, void > { @@ -468,7 +468,7 @@ namespace sfx2 } }; - //==================================================================== + AppendWildcardToDescriptor::AppendWildcardToDescriptor( const OUString& _rWildCard ) { DBG_ASSERT( !_rWildCard.isEmpty(), @@ -572,13 +572,13 @@ namespace sfx2 { _rAllFilters.clear(); - // =============================================================== + // read the classification of filters FilterClassList aGlobalClasses, aLocalClasses; StringArray aGlobalClassNames; lcl_ReadClassification( aGlobalClasses, aGlobalClassNames, aLocalClasses ); - // =============================================================== + // for the global filter classes FilterGroupEntryReferrer aGlobalClassesRef; lcl_InitGlobalClasses( _rAllFilters, aGlobalClasses, aGlobalClassesRef ); @@ -589,7 +589,7 @@ namespace sfx2 while ( nGlobalClasses-- ) _rAllFilters.push_back( FilterGroup() ); - // =============================================================== + // for the local classes: // if n filters belong to a local class, they do not appear in their respective group explicitly, instead // and entry for the class is added to the group and the extensions of the filters are collected under @@ -605,7 +605,7 @@ namespace sfx2 // (where they finally belong to) MapGroupEntry2GroupEntry aLocalFinalPositions; - // =============================================================== + // now add the filters // the group which we currently work with GroupedFilterList::iterator aCurrentGroup = _rAllFilters.end(); // no current group @@ -623,7 +623,7 @@ namespace sfx2 DBG_ASSERT( !sFilterWildcard.isEmpty(), "sfx2::lcl_GroupAndClassify: invalid wildcard of this filter!" ); - // =========================================================== + // check for a change in the group OUString aServiceName = pFilter->GetServiceName(); if ( aServiceName != aCurrentServiceName ) @@ -663,7 +663,7 @@ namespace sfx2 if (aCurrentGroup == _rAllFilters.end()) aCurrentGroup = _rAllFilters.begin(); - // =========================================================== + // check if the filter is part of a global group ::std::pair< FilterGroupEntryReferrer::iterator, FilterGroupEntryReferrer::iterator > aBelongsTo = aGlobalClassesRef.equal_range( sFilterName ); @@ -675,7 +675,7 @@ namespace sfx2 aExtendWildcard ); - // =========================================================== + // add the filter to it's group // for this, check if the filter is part of a local filter @@ -759,9 +759,9 @@ namespace sfx2 } }; -// ======================================================================= + // = handling for the "all files" entry -// ======================================================================= + sal_Bool lcl_hasAllFilesFilter( TSortedFilterList& _rFilterMatcher, OUString& /* [out] */ _rAllFilterName ) @@ -769,7 +769,7 @@ namespace sfx2 sal_Bool bHasAll = sal_False; _rAllFilterName = SfxResId( STR_SFX_FILTERNAME_ALL ).toString(); - // =============================================================== + // check if there's already a filter <ALL> for ( const SfxFilter* pFilter = _rFilterMatcher.First(); pFilter && !bHasAll; pFilter = _rFilterMatcher.Next() ) { @@ -782,7 +782,7 @@ namespace sfx2 void lcl_EnsureAllFilesEntry( TSortedFilterList& _rFilterMatcher, GroupedFilterList& _rFilters ) { - // =============================================================== + OUString sAllFilterName; if ( !lcl_hasAllFilesFilter( _rFilterMatcher, sAllFilterName ) ) { @@ -796,9 +796,9 @@ namespace sfx2 } } -// ======================================================================= + // = filling an XFilterManager -// ======================================================================= + struct AppendFilterGroup : public ::std::unary_function< FilterGroup, void > @@ -1139,16 +1139,16 @@ namespace sfx2 if ( !_rxFilterManager.is() ) return; - // =============================================================== + // group and classify the filters GroupedFilterList aAllFilters; lcl_GroupAndClassify( _rFilterMatcher, aAllFilters ); - // =============================================================== + // ensure that we have the one "all files" entry lcl_EnsureAllFilesEntry( _rFilterMatcher, aAllFilters ); - // =============================================================== + // the first non-empty string - which we assume is the first overall entry if ( !aAllFilters.empty() ) { @@ -1160,7 +1160,7 @@ namespace sfx2 aGroup.appendGroup( rFirstGroup, false ); } - // =============================================================== + // append the filters to the manager if ( !aAllFilters.empty() ) { @@ -1198,9 +1198,9 @@ namespace sfx2 return sRet; } -//........................................................................ + } // namespace sfx2 -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/dialog/filtergrouping.hxx b/sfx2/source/dialog/filtergrouping.hxx index 603e15de5e3d..65daf82b56ae 100644 --- a/sfx2/source/dialog/filtergrouping.hxx +++ b/sfx2/source/dialog/filtergrouping.hxx @@ -24,10 +24,10 @@ #include <com/sun/star/container/XEnumeration.hpp> #include "filedlgimpl.hxx" -//........................................................................ + namespace sfx2 { -//........................................................................ + class TSortedFilterList { @@ -46,7 +46,7 @@ namespace sfx2 const SfxFilter* impl_getFilter(sal_Int32 nIndex); }; - //-------------------------------------------------------------------- + /** adds the given filters to the filter manager. <p>To be used when saving generic files.</p> */ @@ -65,7 +65,7 @@ namespace sfx2 FileDialogHelper_Impl& _rFileDlgImpl ); - //-------------------------------------------------------------------- + /** adds the given filters to the filter manager. <p>To be used when opening generic files.</p> */ @@ -76,7 +76,7 @@ namespace sfx2 FileDialogHelper_Impl& _rFileDlgImpl ); - //-------------------------------------------------------------------- + /** adds the given extension to the display text. <p>To be used when opening or save generic files.</p> */ @@ -87,9 +87,9 @@ namespace sfx2 FileDialogHelper_Impl& _rFileDlgImpl ); -//........................................................................ + } // namespace sfx2 -//........................................................................ + #endif // INCLUDED_SFX2_SOURCE_DIALOG_FILTERGROUPING_HXX diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx index 1948ef4b650b..8fe25fef6680 100644 --- a/sfx2/source/dialog/itemconnect.cxx +++ b/sfx2/source/dialog/itemconnect.cxx @@ -23,13 +23,13 @@ #include <list> #include <svl/itempool.hxx> -// ============================================================================ + namespace sfx { -// ============================================================================ + // Helpers -// ============================================================================ + namespace { @@ -70,17 +70,17 @@ void ItemWrapperHelper::RemoveDefaultItem( SfxItemSet& rDestSet, const SfxItemSe rDestSet.ClearItem( nWhich ); } -// ============================================================================ + // Base control wrapper classes -// ============================================================================ + ControlWrapperBase::~ControlWrapperBase() { } -// ============================================================================ + // Single control wrappers -// ============================================================================ + DummyWindowWrapper::DummyWindowWrapper( Window& rWindow ) : SingleControlWrapperType( rWindow ) @@ -162,9 +162,9 @@ void ColorListBoxWrapper::SetControlValue( Color aColor ) GetControl().SelectEntry( aColor ); } -// ============================================================================ + // Multi control wrappers -// ============================================================================ + typedef std::vector< ControlWrapperBase* > ControlWrpVec; typedef ControlWrpVec::iterator ControlWrpVecI; @@ -209,9 +209,9 @@ void MultiControlWrapperHelper::SetControlDontKnow( bool bSet ) (*aIt)->SetControlDontKnow( bSet ); } -// ============================================================================ + // Base connection classes -// ============================================================================ + ItemConnectionBase::ItemConnectionBase( ItemConnFlags nFlags ) : mnFlags( nFlags ) @@ -254,9 +254,9 @@ TriState ItemConnectionBase::GetShowState( bool bKnown ) const return lclConvertToTriState( bKnown, (mnFlags & ITEMCONN_SHOW_KNOWN) != 0, (mnFlags & ITEMCONN_HIDE_UNKNOWN) != 0 ); } -// ============================================================================ + // Standard connections -// ============================================================================ + DummyItemConnection::DummyItemConnection( sal_uInt16 nSlot, Window& rWindow, ItemConnFlags nFlags ) : ItemConnectionBase( nFlags ), @@ -280,9 +280,9 @@ bool DummyItemConnection::FillItemSet( SfxItemSet& /*rDestSet*/, const SfxItemSe return false; // item set not changed } -// ============================================================================ + // Array of connections -// ============================================================================ + class ItemConnectionArrayImpl { @@ -358,7 +358,7 @@ bool ItemConnectionArray::FillItemSet( SfxItemSet& rDestSet, const SfxItemSet& r return mxImpl->FillItemSet( rDestSet, rOldSet ); } -// ============================================================================ + } // namespace sfx diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx index 63b156247d2c..591a9598f6fc 100644 --- a/sfx2/source/dialog/partwnd.cxx +++ b/sfx2/source/dialog/partwnd.cxx @@ -43,9 +43,9 @@ #include <sfx2/frame.hxx> #include <sfx2/sfxuno.hxx> -//**************************************************************************** + // SfxPartChildWnd_Impl -//**************************************************************************** + SFX_IMPL_DOCKINGWINDOW( SfxPartChildWnd_Impl, SID_BROWSER ); @@ -93,9 +93,9 @@ sal_Bool SfxPartChildWnd_Impl::QueryClose() return ( (SfxPartDockWnd_Impl*)pWindow )->QueryClose(); } -//**************************************************************************** + // SfxPartDockWnd_Impl -//**************************************************************************** + SfxPartDockWnd_Impl::SfxPartDockWnd_Impl ( @@ -138,13 +138,13 @@ SfxPartDockWnd_Impl::SfxPartDockWnd_Impl } } -//**************************************************************************** + SfxPartDockWnd_Impl::~SfxPartDockWnd_Impl() { } -//**************************************************************************** + void SfxPartDockWnd_Impl::Resize() @@ -157,7 +157,7 @@ void SfxPartDockWnd_Impl::Resize() SfxDockingWindow::Resize(); } -//**************************************************************************** + sal_Bool SfxPartDockWnd_Impl::QueryClose() { @@ -177,7 +177,7 @@ sal_Bool SfxPartDockWnd_Impl::QueryClose() return bClose; } -//**************************************************************************** + bool SfxPartDockWnd_Impl::Notify( NotifyEvent& rEvt ) { diff --git a/sfx2/source/dialog/recfloat.src b/sfx2/source/dialog/recfloat.src index 5acb91e66ad9..51c9c79f9a70 100644 --- a/sfx2/source/dialog/recfloat.src +++ b/sfx2/source/dialog/recfloat.src @@ -20,7 +20,7 @@ #include "helpid.hrc" #include "dialog.hrc" - // ----------------------------------------------------------------------- + #define STD_MASKCOLOR Color { Red = 0xC000; Green = 0xC000; Blue = 0xC000; } FloatingWindow SID_RECORDING_FLOATWINDOW diff --git a/sfx2/source/dialog/srchdlg.cxx b/sfx2/source/dialog/srchdlg.cxx index 324de6c3b269..3dada2fd5621 100644 --- a/sfx2/source/dialog/srchdlg.cxx +++ b/sfx2/source/dialog/srchdlg.cxx @@ -29,15 +29,15 @@ using namespace ::com::sun::star::uno; -// ============================================================================ + namespace sfx2 { #define MAX_SAVE_COUNT (sal_uInt16)10 -// ============================================================================ + // SearchDialog -// ============================================================================ + SearchDialog::SearchDialog(Window* pWindow, const OUString& rConfigName) : ModelessDialog(pWindow, "SearchDialog", "sfx/ui/searchdialog.ui") @@ -165,10 +165,10 @@ void SearchDialog::Move() m_sWinState = GetWindowState( WINDOWSTATE_MASK_POS | WINDOWSTATE_MASK_STATE ); } -// ============================================================================ + } // namespace sfx2 -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx index 63ddd9598f33..f8687b149077 100644 --- a/sfx2/source/dialog/taskpane.cxx +++ b/sfx2/source/dialog/taskpane.cxx @@ -54,10 +54,10 @@ #include <tools/urlobj.hxx> #include <boost/noncopyable.hpp> -//...................................................................................................................... + namespace sfx2 { -//...................................................................................................................... + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XComponentContext; @@ -89,9 +89,9 @@ namespace sfx2 namespace PosSize = ::com::sun::star::awt::PosSize; - //================================================================================================================== + //= helpers - //================================================================================================================== + namespace { @@ -196,9 +196,9 @@ namespace sfx2 } } - //================================================================================================================== + //= TaskPaneDockingWindow - //================================================================================================================== + TaskPaneDockingWindow::TaskPaneDockingWindow( SfxBindings* i_pBindings, TaskPaneWrapper& i_rWrapper, Window* i_pParent, WinBits i_nBits ) :TitledDockingWindow( i_pBindings, &i_rWrapper, i_pParent, i_nBits ) @@ -228,9 +228,9 @@ namespace sfx2 m_aTaskPane.SetPosSizePixel( Point(), GetContentWindow().GetOutputSizePixel() ); } - //================================================================================================================== + //= TaskPaneWrapper - //================================================================================================================== + SFX_IMPL_DOCKINGWINDOW( TaskPaneWrapper, SID_TASKPANE ); @@ -259,9 +259,9 @@ namespace sfx2 pDockingWindow->ActivateToolPanel( i_rPanelURL ); } - //================================================================================================================== + //= CustomPanelUIElement - //================================================================================================================== + class CustomPanelUIElement { public: @@ -291,9 +291,9 @@ namespace sfx2 Reference< XWindow > m_xPanelWindow; }; - //================================================================================================================== + //= CustomToolPanel - //================================================================================================================== + class CustomToolPanel : public ::svt::ToolPanelBase { public: @@ -497,9 +497,9 @@ namespace sfx2 return xPanelAccessible; } - //================================================================================================================== + //= ModuleTaskPane_Impl - //================================================================================================================== + class ModuleTaskPane_Impl : public ::boost::noncopyable { public: @@ -719,9 +719,9 @@ namespace sfx2 m_aPanelDeck.SetLayouter( new ::svt::TabDeckLayouter( m_aPanelDeck, m_aPanelDeck, i_eTabAlignment, i_eTabContent ) ); } - //================================================================================================================== + //= ModuleTaskPane - //================================================================================================================== + ModuleTaskPane::ModuleTaskPane( Window& i_rParentWindow, const Reference< XFrame >& i_rDocumentFrame ) :Window( &i_rParentWindow, WB_DIALOGCONTROL ) @@ -784,9 +784,9 @@ namespace sfx2 m_pImpl->SetTabsLayout( i_eTabAlignment, i_eTabContent ); } - // ===================================================================================================================== + // = PanelSelectorLayout - // ===================================================================================================================== + enum PanelSelectorLayout { LAYOUT_DRAWERS, @@ -796,9 +796,9 @@ namespace sfx2 LAYOUT_TABS_BOTTOM }; - //================================================================================================================== + //= helper - //================================================================================================================== + namespace { PanelSelectorLayout lcl_getTabLayoutFromAlignment( const SfxChildAlignment i_eAlignment ) @@ -817,9 +817,9 @@ namespace sfx2 } } - // ===================================================================================================================== + // = PanelDescriptor - // ===================================================================================================================== + /** is a helper class for TaskPaneController_Impl, holding the details about a single panel which is not contained in the IToolPanel implementation itself. */ @@ -841,9 +841,9 @@ namespace sfx2 } }; - //================================================================================================================== + //= TaskPaneController_Impl - //================================================================================================================== + class TaskPaneController_Impl :public ::boost::noncopyable ,public ::svt::IToolPanelDeckListener { @@ -1252,9 +1252,9 @@ namespace sfx2 } SAL_WNODEPRECATED_DECLARATIONS_POP - //================================================================================================================== + //= TaskPaneController - //================================================================================================================== + TaskPaneController::TaskPaneController( ModuleTaskPane& i_rTaskPane, TitledDockingWindow& i_rDockingWindow ) :m_pImpl( new TaskPaneController_Impl( i_rTaskPane, i_rDockingWindow ) ) @@ -1272,8 +1272,8 @@ namespace sfx2 m_pImpl->ActivateToolPanel( i_rPanelURL ); } -//...................................................................................................................... + } // namespace sfx2 -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index e4bcbb541a05..61c847daa2e5 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -69,7 +69,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::uno; -//========================================================================= + // Window is now created dynamically. So here margins, etc. #define SFX_TEMPLDLG_HFRAME 3 @@ -85,7 +85,7 @@ static sal_uInt16 nLastItemId = USHRT_MAX; // filter box has maximum 14 entries visible #define MAX_FILTER_ENTRIES 14 -//========================================================================= + TYPEINIT0(SfxCommonTemplateDialog_Impl); TYPEINIT1(SfxTemplateDialog_Impl,SfxCommonTemplateDialog_Impl); diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx index 1499ca0a28eb..e51167ab0eb4 100644 --- a/sfx2/source/dialog/titledockwin.cxx +++ b/sfx2/source/dialog/titledockwin.cxx @@ -27,14 +27,14 @@ #include <svl/eitem.hxx> #include <vcl/settings.hxx> -//...................................................................................................................... + namespace sfx2 { -//...................................................................................................................... - //================================================================================================================== + + //= TitledDockingWindow - //================================================================================================================== + TitledDockingWindow::TitledDockingWindow( SfxBindings* i_pBindings, SfxChildWindow* i_pChildWindow, Window* i_pParent, WinBits i_nStyle ) @@ -337,8 +337,8 @@ namespace sfx2 } } -//...................................................................................................................... + } // namespace sfx2 -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/dialog/tplpitem.cxx b/sfx2/source/dialog/tplpitem.cxx index 58b7ce855a55..19836f2a124a 100644 --- a/sfx2/source/dialog/tplpitem.cxx +++ b/sfx2/source/dialog/tplpitem.cxx @@ -25,7 +25,7 @@ TYPEINIT1_AUTOFACTORY(SfxTemplateItem, SfxFlagItem); -//========================================================================= + SfxTemplateItem::SfxTemplateItem() : SfxFlagItem() diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 2cf506594ddf..67ac903e573b 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -126,7 +126,7 @@ static bool isStylesFile (OUString const & i_rPath) } -//============================================================================= + // XML ID handling --------------------------------------------------- /** handles registration of XMetadatable. @@ -346,7 +346,7 @@ private: }; -//============================================================================= + // XmlIdRegistry ::sfx2::IXmlIdRegistry * createXmlIdRegistry(const bool i_DocIsClipboard) @@ -425,7 +425,7 @@ template< typename T > return id; } -//============================================================================= + // Document XML ID Registry (_Impl) /// element list @@ -623,7 +623,7 @@ XmlIdRegistryDocument::XmlIdRegistry_Impl::TryInsertMetadatable( } } -//============================================================================= + // Document XML ID Registry @@ -906,7 +906,7 @@ XmlIdRegistryDocument::JoinMetadatables( } -//============================================================================= + // Clipboard XML ID Registry (_Impl) struct RMapEntry @@ -1080,7 +1080,7 @@ XmlIdRegistryClipboard::XmlIdRegistry_Impl::TryInsertMetadatable( } } -//============================================================================= + // Clipboard XML ID Registry @@ -1292,7 +1292,7 @@ XmlIdRegistryClipboard::SourceLink(Metadatable const& i_rObject) } -//============================================================================= + // Metadatable mixin @@ -1574,7 +1574,7 @@ Metadatable::JoinMetadatable(Metadatable const & i_rOther, } -//============================================================================= + // XMetadatable mixin // ::com::sun::star::rdf::XNode: @@ -1666,7 +1666,7 @@ throw (uno::RuntimeException) } // namespace sfx2 -//============================================================================= + #if OSL_DEBUG_LEVEL > 1 diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index 856177d7acfc..12c5d9f1b0a7 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -458,8 +458,8 @@ const char* s_stdMeta[] = { "dc:date", // dateTime "meta:print-date", // dateTime "meta:template", // XLink - "meta:auto-reload", // ... - "meta:hyperlink-behaviour", // ... + "meta:auto-reload", + "meta:hyperlink-behaviour", "dc:language", // language "meta:editing-cycles", // nonNegativeInteger "meta:editing-duration", // duration diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src index 515138e3316d..2d09e7483422 100644 --- a/sfx2/source/doc/doc.src +++ b/sfx2/source/doc/doc.src @@ -20,7 +20,7 @@ #include "doc.hrc" #define __RSC - // ----------------------------------------------------------------------- + QueryBox MSG_CONFIRM_FILTER { Buttons = WB_YES_NO ; diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index 0a04920f25c1..6839cbfd9fc2 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -55,15 +55,15 @@ using namespace ::com::sun::star; -//======================================================================== + typedef std::vector<SfxViewFactory*> SfxViewFactoryArr_Impl; -//======================================================================== + DBG_NAME(SfxObjectFactory) -//======================================================================== + struct SfxObjectFactory_Impl { @@ -86,7 +86,7 @@ struct SfxObjectFactory_Impl {} }; -//======================================================================== + SfxFilterContainer* SfxObjectFactory::GetFilterContainer( sal_Bool /*bForceLoad*/ ) const { diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 141cd90559ac..45c6e3cc0cd7 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -164,7 +164,7 @@ bool IsLockingUsed() #endif } // anonymous namespace -//========================================================== + @@ -857,7 +857,7 @@ void SfxMedium::SetEncryptionDataToStorage_Impl() // actually, the checks for sftp: here are just wishful thinking; I // don't this there is any support for actually editing documents // behind sftp: URLs anyway. -// + // Sure, there could perhaps be a 3rd-party extension that brings UCB // the potential to handle files behind sftp:. But there could also be // an extension that handles some arbitrary foobar: scheme *and* it diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx index f3c56bd05118..c540545a305b 100644 --- a/sfx2/source/doc/docinf.cxx +++ b/sfx2/source/doc/docinf.cxx @@ -32,7 +32,7 @@ #include <vcl/gdimtf.hxx> #include <vcl/dibtools.hxx> #include "oleprops.hxx" -// ============================================================================ + // stream names #define STREAM_SUMMARYINFO "\005SummaryInformation" diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx index e7e8a701ffbc..5752b6cb1d0a 100644 --- a/sfx2/source/doc/docmacromode.cxx +++ b/sfx2/source/doc/docmacromode.cxx @@ -38,10 +38,10 @@ #include <tools/diagnose_ex.h> #include <tools/urlobj.hxx> -//........................................................................ + namespace sfx2 { -//........................................................................ + using ::com::sun::star::uno::Reference; using ::com::sun::star::task::XInteractionHandler; @@ -67,9 +67,9 @@ namespace sfx2 namespace MacroExecMode = ::com::sun::star::document::MacroExecMode; - //==================================================================== + //= DocumentMacroMode_Data - //==================================================================== + struct DocumentMacroMode_Data { IMacroDocumentAccess& m_rDocumentAccess; @@ -84,12 +84,12 @@ namespace sfx2 } }; - //==================================================================== + //= helper - //==================================================================== + namespace { - //................................................................ + void lcl_showGeneralSfxErrorOnce( const Reference< XInteractionHandler >& rxHandler, const sal_Int32 nSfxErrorCode, sal_Bool& rbAlreadyShown ) { if ( rbAlreadyShown ) @@ -102,13 +102,13 @@ namespace sfx2 rbAlreadyShown = sal_True; } - //................................................................ + void lcl_showMacrosDisabledError( const Reference< XInteractionHandler >& rxHandler, sal_Bool& rbAlreadyShown ) { lcl_showGeneralSfxErrorOnce( rxHandler, ERRCODE_SFX_MACROS_SUPPORT_DISABLED, rbAlreadyShown ); } - //................................................................ + void lcl_showDocumentMacrosDisabledError( const Reference< XInteractionHandler >& rxHandler, sal_Bool& rbAlreadyShown ) { #ifdef MACOSX @@ -118,7 +118,7 @@ namespace sfx2 #endif } - //................................................................ + sal_Bool lcl_showMacroWarning( const Reference< XInteractionHandler >& rxHandler, const OUString& rDocumentLocation ) { @@ -128,9 +128,9 @@ namespace sfx2 } } - //==================================================================== + //= DocumentMacroMode - //==================================================================== + DocumentMacroMode::DocumentMacroMode( IMacroDocumentAccess& rDocumentAccess ) :m_pData( new DocumentMacroMode_Data( rDocumentAccess ) ) @@ -434,8 +434,8 @@ namespace sfx2 return bAllow; } -//........................................................................ + } // namespace sfx2 -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/docstoragemodifylistener.cxx b/sfx2/source/doc/docstoragemodifylistener.cxx index 5bb66ba48ea4..a76a5e2923d7 100644 --- a/sfx2/source/doc/docstoragemodifylistener.cxx +++ b/sfx2/source/doc/docstoragemodifylistener.cxx @@ -20,10 +20,10 @@ #include <sfx2/docstoragemodifylistener.hxx> #include <comphelper/solarmutex.hxx> -//........................................................................ + namespace sfx2 { -//........................................................................ + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -36,9 +36,9 @@ namespace sfx2 using ::com::sun::star::uno::makeAny; using ::com::sun::star::lang::EventObject; - //==================================================================== + //= - //==================================================================== + DocumentStorageModifyListener::DocumentStorageModifyListener( IModifiableDocument& _rDocument, comphelper::SolarMutex& _rMutex ) :m_pDocument( &_rDocument ) @@ -75,8 +75,8 @@ namespace sfx2 // in case the document is re-based to another storage. } -//........................................................................ + } // namespace sfx2 -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index c8fb07e37b11..35cb048a568e 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -97,14 +97,14 @@ using namespace ::ucbhelper; using ::std::vector; using ::std::advance; -//======================================================================== + #define TITLE "Title" #define TARGET_URL "TargetURL" #define COMMAND_TRANSFER "transfer" -//======================================================================== + class RegionData_Impl; @@ -279,7 +279,7 @@ static sal_Bool getTextProperty_Impl( Content& rContent, const OUString& rPropName, OUString& rPropValue ); -//======================================================================== + OUString SfxDocumentTemplates::GetFullRegionName ( diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index cea14a6007e1..0a051139bb95 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -84,7 +84,7 @@ #include <vector> -//============================================================================= + #define SERVICENAME_TYPEDETECTION "com.sun.star.document.TypeDetection" @@ -111,7 +111,7 @@ #define C_DELIM ';' -//============================================================================= + using namespace ::com::sun::star; using namespace ::com::sun::star::beans; @@ -146,7 +146,7 @@ class WaitWindow_Impl : public WorkWindow #define X_OFFSET 15 #define Y_OFFSET 15 -//============================================================================= + struct NamePair_Impl { @@ -314,7 +314,7 @@ public: void finished() { mpUpdater = NULL; } }; -//============================================================================= + class Updater_Impl : public ::osl::Thread { @@ -329,7 +329,7 @@ public: virtual void SAL_CALL onTerminated(); }; -//============================================================================= + class DocTemplates_EntryData_Impl { @@ -366,7 +366,7 @@ public: void setType( const OUString& rType ) { maType = rType; } }; -//============================================================================= + class GroupData_Impl { diff --git a/sfx2/source/doc/doctemplateslocal.cxx b/sfx2/source/doc/doctemplateslocal.cxx index e250d9f0bca6..8faa07de09bb 100644 --- a/sfx2/source/doc/doctemplateslocal.cxx +++ b/sfx2/source/doc/doctemplateslocal.cxx @@ -87,7 +87,7 @@ void SAL_CALL DocTemplLocaleHelper::WriteGroupLocalizationSequence( const uno::R xWriterHandler->endDocument(); } -// ================================================================================== + uno::Sequence< beans::StringPair > SAL_CALL DocTemplLocaleHelper::ReadLocalizationSequence_Impl( const uno::Reference< io::XInputStream >& xInStream, const OUString& aStringID, const uno::Reference< uno::XComponentContext > xContext ) diff --git a/sfx2/source/doc/docundomanager.cxx b/sfx2/source/doc/docundomanager.cxx index 5401b8d7b047..b8e85653ee5d 100644 --- a/sfx2/source/doc/docundomanager.cxx +++ b/sfx2/source/doc/docundomanager.cxx @@ -36,10 +36,10 @@ #include <boost/noncopyable.hpp> #include <stack> -//...................................................................................................................... + namespace sfx2 { -//...................................................................................................................... + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -71,9 +71,9 @@ namespace sfx2 using ::svl::IUndoManager; - //================================================================================================================== + //= DocumentUndoManager_Impl - //================================================================================================================== + struct DocumentUndoManager_Impl : public ::framework::IUndoManagerImplementation { DocumentUndoManager& rAntiImpl; @@ -160,9 +160,9 @@ namespace sfx2 } } - //================================================================================================================== + //= SolarMutexFacade - //================================================================================================================== + /** a facade for the SolarMutex, implementing ::framework::IMutex (as opposed to ::vos::IMutex) */ class SolarMutexFacade : public ::framework::IMutex @@ -185,9 +185,9 @@ namespace sfx2 } }; - //================================================================================================================== + //= UndoManagerGuard - //================================================================================================================== + class UndoManagerGuard :public ::framework::IMutexGuard ,public ::boost::noncopyable { @@ -224,9 +224,9 @@ namespace sfx2 SolarMutexFacade m_solarMutexFacade; }; - //================================================================================================================== + //= DocumentUndoManager - //================================================================================================================== + DocumentUndoManager::DocumentUndoManager( SfxBaseModel& i_document ) :SfxModelSubComponent( i_document ) @@ -445,8 +445,8 @@ namespace sfx2 throw NoSupportException( OUString(), m_pImpl->getThis() ); } -//...................................................................................................................... + } // namespace sfx2 -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index be619af4a12d..72918b4174d1 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -181,9 +181,9 @@ static sal_Int32 getDontFlags( sal_Int8 nStoreMode ) | ( ( ( nStoreMode & EXPORT_REQUESTED ) && !( nStoreMode & WIDEEXPORT_REQUESTED ) ) ? SFX_FILTER_IMPORT : 0 ) ); } -//========================================================================= + // class DocumentSettingsGuard -//========================================================================= + class DocumentSettingsGuard { @@ -244,9 +244,9 @@ public: }; } // anonymous namespace -//========================================================================= + // class ModelData_Impl -//========================================================================= + class ModelData_Impl { SfxStoringHelper* m_pOwner; @@ -1298,9 +1298,9 @@ OUString ModelData_Impl::GetRecommendedName( const OUString& aSuggestedName, con } -//========================================================================= + // class SfxStoringHelper -//========================================================================= + SfxStoringHelper::SfxStoringHelper() { diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 4fb3137c660b..1d12e6e4fe78 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -39,11 +39,11 @@ #include <sfx2/printer.hxx> #include <vcl/waitobj.hxx> -//======================================================================== + #define MORE_BTN(x) pMoreBt->x -//======================================================================== + void SfxPreviewBase_Impl::SetObjectShell( SfxObjectShell* pObj ) { diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 2f1d53cbd12c..6bff9869616d 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -78,7 +78,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -//==================================================================== + static bool operator> (const util::DateTime& i_rLeft, const util::DateTime& i_rRight) @@ -172,7 +172,7 @@ SfxObjectShell::CreatePreviewMetaFile_Impl( sal_Bool bFullContent ) const return pFile; } -//==================================================================== + void SfxObjectShell::UpdateDocInfoForSave() { diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx index 39400c3ba380..15798ae5b362 100644 --- a/sfx2/source/doc/objitem.cxx +++ b/sfx2/source/doc/objitem.cxx @@ -22,12 +22,12 @@ #include <sfx2/objitem.hxx> #include <com/sun/star/lang/XUnoTunnel.hpp> -//==================================================================== + TYPEINIT1_AUTOFACTORY(SfxObjectShellItem,SfxPoolItem) TYPEINIT1_AUTOFACTORY(SfxObjectItem,SfxPoolItem) -//========================================================================= + bool SfxObjectShellItem::operator==( const SfxPoolItem &rItem ) const { @@ -98,7 +98,7 @@ bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uIn return true; } -//========================================================================= + SfxObjectItem::SfxObjectItem( sal_uInt16 nWhichId, SfxShell *pSh ) : SfxPoolItem( nWhichId ), diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index 09d40c9be26e..a463bf5a8946 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -157,7 +157,7 @@ public: void SetAttribute( const SvKeyValue& rKV ); }; -//========================================================================= + sal_uInt16 const aTitleMap_Impl[3][2] = { @@ -167,7 +167,7 @@ sal_uInt16 const aTitleMap_Impl[3][2] = /* SFX_TITLE_HISTORY */ { 32, SFX_TITLE_FULLNAME } }; -//========================================================================= + void SfxObjectShell::AbortImport() { diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index 365ee234abb3..50c46815f874 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -110,7 +110,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::document; using namespace ::com::sun::star::task; -//==================================================================== + class SfxSaveAsContext_Impl { @@ -127,12 +127,12 @@ public: { _rNewNameVar = ""; } }; -//==================================================================== + #define SfxObjectShell #include "sfxslots.hxx" -//========================================================================= + @@ -140,7 +140,7 @@ SFX_IMPL_INTERFACE(SfxObjectShell,SfxShell,SfxResId(0)) { } -//========================================================================= + class SfxClosePreventer_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::util::XCloseListener > { @@ -187,7 +187,7 @@ void SAL_CALL SfxClosePreventer_Impl::notifyClosing( const lang::EventObject& ) void SAL_CALL SfxClosePreventer_Impl::disposing( const lang::EventObject& ) throw ( uno::RuntimeException ) {} -//========================================================================= + class SfxInstanceCloseGuard_Impl { SfxClosePreventer_Impl* m_pPreventer; @@ -256,7 +256,7 @@ SfxInstanceCloseGuard_Impl::~SfxInstanceCloseGuard_Impl() } } -//========================================================================= + void SfxObjectShell::PrintExec_Impl(SfxRequest &rReq) { @@ -598,7 +598,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) } // TODO/LATER: do the following GUI related actions in standalown method - // ======================================================================================================== + // Introduce a status indicator for GUI operation SFX_REQUEST_ARG( rReq, pStatusIndicatorItem, SfxUnoAnyItem, SID_PROGRESS_STATUSBAR_CONTROL, false ); if ( !pStatusIndicatorItem ) @@ -660,7 +660,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) // but it is not clear here whether the saving will be done or saveAs operation GetMedium()->GetItemSet()->Put( *pInteractionHandlerItem ); } - // ======================================================================================================== + sal_Bool bPreselectPassword = sal_False; SFX_ITEMSET_ARG( GetMedium()->GetItemSet(), pOldEncryptionDataItem, SfxUnoAnyItem, SID_ENCRYPTIONDATA, false ); diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index fb80c47c976c..cb6e5241698a 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -142,7 +142,7 @@ using namespace ::com::sun::star::document; using namespace ::rtl; using namespace ::cppu; -//========================================================================= + void impl_addToModelCollection(const css::uno::Reference< css::frame::XModel >& xModel) { if (!xModel.is()) @@ -161,7 +161,7 @@ void impl_addToModelCollection(const css::uno::Reference< css::frame::XModel >& } } -//========================================================================= + sal_Bool SfxObjectShell::Save() { diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 15cb8dd03ee3..e9a3a76e54af 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -108,7 +108,7 @@ using namespace ::com::sun::star::document; using ::basic::BasicManagerRepository; #include <uno/mapping.hxx> -//==================================================================== + DBG_NAME(SfxObjectShell) @@ -149,7 +149,7 @@ OString lclGetVBAGlobalConstName( const Reference< XInterface >& rxComponent ) } // namespace -//========================================================================= + class SfxModelListener_Impl : public ::cppu::WeakImplHelper1< ::com::sun::star::util::XCloseListener > { diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index c6e800c7e402..2f90e0da95a1 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -26,10 +26,10 @@ #include <rtl/tencinfo.h> #include <rtl/strbuf.hxx> -// ============================================================================ -// ============================================================================ + + #define STREAM_BUFFER_SIZE 2048 @@ -66,7 +66,7 @@ bool operator==(const util::Date &i_rLeft, const util::Date &i_rRight) && i_rLeft.Day == i_rRight.Day; } -// ============================================================================ + /** Property representing a signed 32-bit integer value. */ class SfxOleInt32Property : public SfxOlePropertyBase @@ -85,7 +85,7 @@ private: sal_Int32 mnValue; }; -// ============================================================================ + /** Property representing a floating-point value. */ class SfxOleDoubleProperty : public SfxOlePropertyBase @@ -104,7 +104,7 @@ private: double mfValue; }; -// ============================================================================ + /** Property representing a boolean value. */ class SfxOleBoolProperty : public SfxOlePropertyBase @@ -123,7 +123,7 @@ private: bool mbValue; }; -// ============================================================================ + /** Base class for properties that contain a single string value. */ class SfxOleStringPropertyBase : public SfxOlePropertyBase, public SfxOleStringHelper @@ -146,7 +146,7 @@ private: OUString maValue; }; -// ============================================================================ + /** Property representing a bytestring value. */ class SfxOleString8Property : public SfxOleStringPropertyBase @@ -163,7 +163,7 @@ private: virtual void ImplSave( SvStream& rStrm ); }; -// ============================================================================ + /** Property representing a Unicode string value. */ class SfxOleString16Property : public SfxOleStringPropertyBase @@ -176,7 +176,7 @@ private: virtual void ImplSave( SvStream& rStrm ); }; -// ============================================================================ + /** Property representing a filetime value as defined by the Windows API. */ class SfxOleFileTimeProperty : public SfxOlePropertyBase @@ -218,7 +218,7 @@ private: util::Date maDate; }; -// ============================================================================ + /** Property representing a thumbnail picture. @@ -240,7 +240,7 @@ private: uno::Sequence<sal_uInt8> mData; }; -// ============================================================================ + /** Property representing a BLOB (which presumably stands for binary large object). @@ -262,7 +262,7 @@ private: uno::Sequence<sal_uInt8> mData; }; -// ============================================================================ + sal_uInt16 SfxOleTextEncoding::GetCodePage() const { @@ -1297,7 +1297,7 @@ const SvGlobalName& SfxOlePropertySet::GetSectionGuid( SfxOleSectionType eSectio return saEmptyGuid; } -// ============================================================================ + //} // namespace diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx index 76d161955406..8e09a5be2164 100644 --- a/sfx2/source/doc/oleprops.hxx +++ b/sfx2/source/doc/oleprops.hxx @@ -31,11 +31,11 @@ #include <com/sun/star/util/Date.hpp> -// ============================================================================ + //namespace { -// ============================================================================ + // property type IDs const sal_Int32 PROPTYPE_INT16 = 2; const sal_Int32 PROPTYPE_INT32 = 3; @@ -93,7 +93,7 @@ const sal_Int32 CLIPFMT_WIN = -1; // predefined clipboard data format IDs const sal_Int32 CLIPDATAFMT_DIB = 8; -// ============================================================================ + /** Helper for classes that need text encoding settings. @@ -130,7 +130,7 @@ private: TextEncRef mxTextEnc; }; -// ============================================================================ + /** Helper for classes that need to load or save string values. @@ -164,7 +164,7 @@ private: void ImplSaveString16( SvStream& rStrm, const OUString& rValue ) const; }; -// ============================================================================ + /** Base class for all classes related to OLE property sets. @@ -206,7 +206,7 @@ private: ErrCode mnErrCode; /// Current error code. }; -// ============================================================================ + /** Base class for all OLE property objects. */ class SfxOlePropertyBase : public SfxOleObjectBase @@ -229,7 +229,7 @@ private: typedef ::boost::shared_ptr< SfxOlePropertyBase > SfxOlePropertyRef; -// ============================================================================ + /** Property representing the codepage used to encode bytestrings in the entire property set. */ class SfxOleCodePageProperty : public SfxOlePropertyBase, public SfxOleTextEncoding { @@ -241,7 +241,7 @@ private: virtual void ImplSave( SvStream& rStrm ); }; -// ============================================================================ + /** Property containing custom names for other properties in the property set. */ class SfxOleDictionaryProperty : public SfxOlePropertyBase, public SfxOleStringHelper @@ -268,7 +268,7 @@ private: SfxOlePropNameMap maPropNameMap; }; -// ============================================================================ + /** A section in a property set. Contains properties with unique identifiers. */ class SfxOleSection : public SfxOleObjectBase @@ -356,7 +356,7 @@ private: typedef ::boost::shared_ptr< SfxOleSection > SfxOleSectionRef; -// ============================================================================ + /** Enumerates different section types in OLE property sets. */ enum SfxOleSectionType @@ -366,7 +366,7 @@ enum SfxOleSectionType SECTION_CUSTOM /// Custom properties. }; -// ============================================================================ + /** Represents a complete property set, may consist of several property sections. */ class SfxOlePropertySet : public SfxOleObjectBase diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 01f60708e9ad..171d2cbacb22 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -311,7 +311,7 @@ struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument // static member initialization. sal_Int64 IMPL_SfxBaseModel_DataContainer::g_nInstanceCounter = 0; -// ======================================================================================================= + // Listener that forwards notifications from the PrintHelper to the "real" listeners class SfxPrintHelperListener_Impl : public ::cppu::WeakImplHelper1< view::XPrintJobListener > @@ -511,7 +511,7 @@ SfxSaveGuard::~SfxSaveGuard() } } -// ======================================================================================================= + // constructor @@ -3166,7 +3166,7 @@ void SfxBaseModel::impl_store( const OUString& sURL } } -//******************************************************************************************************** + namespace { template< typename ListenerT, typename EventT > class NotifySingleListenerIgnoreRE @@ -3936,7 +3936,7 @@ bool SfxBaseModel::impl_getPrintHelper() return true; } -//============================================================================= + // css.frame.XModule void SAL_CALL SfxBaseModel::setIdentifier(const OUString& Identifier) throw (RuntimeException) @@ -3945,7 +3945,7 @@ bool SfxBaseModel::impl_getPrintHelper() m_pData->m_sModuleIdentifier = Identifier; } -//============================================================================= + // css.frame.XModule OUString SAL_CALL SfxBaseModel::getIdentifier() throw (RuntimeException) @@ -3958,7 +3958,7 @@ bool SfxBaseModel::impl_getPrintHelper() return OUString(); } -//============================================================================= + Reference< frame::XTitle > SfxBaseModel::impl_getTitleHelper () { SfxModelGuard aGuard( *this ); @@ -3978,7 +3978,7 @@ Reference< frame::XTitle > SfxBaseModel::impl_getTitleHelper () return m_pData->m_xTitleHelper; } -//============================================================================= + Reference< frame::XUntitledNumbers > SfxBaseModel::impl_getUntitledHelper () { SfxModelGuard aGuard( *this ); @@ -3997,7 +3997,7 @@ Reference< frame::XUntitledNumbers > SfxBaseModel::impl_getUntitledHelper () return m_pData->m_xNumberedControllers; } -//============================================================================= + // css.frame.XTitle OUString SAL_CALL SfxBaseModel::getTitle() throw (RuntimeException) @@ -4050,7 +4050,7 @@ OUString SAL_CALL SfxBaseModel::getTitle() return aResult; } -//============================================================================= + // css.frame.XTitle void SAL_CALL SfxBaseModel::setTitle( const OUString& sTitle ) throw (RuntimeException) @@ -4062,7 +4062,7 @@ void SAL_CALL SfxBaseModel::setTitle( const OUString& sTitle ) m_pData->m_bExternalTitle = sal_True; } -//============================================================================= + // css.frame.XTitleChangeBroadcaster void SAL_CALL SfxBaseModel::addTitleChangeListener( const Reference< frame::XTitleChangeListener >& xListener ) throw (RuntimeException) @@ -4075,7 +4075,7 @@ void SAL_CALL SfxBaseModel::addTitleChangeListener( const Reference< frame::XTit xBroadcaster->addTitleChangeListener (xListener); } -//============================================================================= + // css.frame.XTitleChangeBroadcaster void SAL_CALL SfxBaseModel::removeTitleChangeListener( const Reference< frame::XTitleChangeListener >& xListener ) throw (RuntimeException) @@ -4088,7 +4088,7 @@ void SAL_CALL SfxBaseModel::removeTitleChangeListener( const Reference< frame::X xBroadcaster->removeTitleChangeListener (xListener); } -//============================================================================= + // css.frame.XUntitledNumbers ::sal_Int32 SAL_CALL SfxBaseModel::leaseNumber( const Reference< XInterface >& xComponent ) throw (lang::IllegalArgumentException, @@ -4099,7 +4099,7 @@ void SAL_CALL SfxBaseModel::removeTitleChangeListener( const Reference< frame::X return impl_getUntitledHelper ()->leaseNumber (xComponent); } -//============================================================================= + // css.frame.XUntitledNumbers void SAL_CALL SfxBaseModel::releaseNumber( ::sal_Int32 nNumber ) throw (lang::IllegalArgumentException, @@ -4109,7 +4109,7 @@ void SAL_CALL SfxBaseModel::releaseNumber( ::sal_Int32 nNumber ) impl_getUntitledHelper ()->releaseNumber (nNumber); } -//============================================================================= + // css.frame.XUntitledNumbers void SAL_CALL SfxBaseModel::releaseNumberForComponent( const Reference< XInterface >& xComponent ) throw (lang::IllegalArgumentException, @@ -4119,7 +4119,7 @@ void SAL_CALL SfxBaseModel::releaseNumberForComponent( const Reference< XInterfa impl_getUntitledHelper ()->releaseNumberForComponent (xComponent); } -//============================================================================= + // css.frame.XUntitledNumbers OUString SAL_CALL SfxBaseModel::getUntitledPrefix() throw (RuntimeException) @@ -4128,7 +4128,7 @@ OUString SAL_CALL SfxBaseModel::getUntitledPrefix() return impl_getUntitledHelper ()->getUntitledPrefix (); } -//============================================================================= + // frame::XModel2 Reference< container::XEnumeration > SAL_CALL SfxBaseModel::getControllers() throw (RuntimeException) @@ -4146,7 +4146,7 @@ Reference< container::XEnumeration > SAL_CALL SfxBaseModel::getControllers() return xEnum; } -//============================================================================= + // frame::XModel2 Sequence< OUString > SAL_CALL SfxBaseModel::getAvailableViewControllerNames() throw (RuntimeException) @@ -4162,7 +4162,7 @@ Sequence< OUString > SAL_CALL SfxBaseModel::getAvailableViewControllerNames() return aViewNames; } -//============================================================================= + // frame::XModel2 Reference< frame::XController2 > SAL_CALL SfxBaseModel::createDefaultViewController( const Reference< frame::XFrame >& i_rFrame ) throw (RuntimeException , @@ -4179,7 +4179,7 @@ Reference< frame::XController2 > SAL_CALL SfxBaseModel::createDefaultViewControl return createViewController( sDefaultViewName, Sequence< PropertyValue >(), i_rFrame ); } -//============================================================================= + namespace sfx { namespace intern { /** a class which, in its dtor, cleans up variuos objects (well, at the moment only the frame) collected during @@ -4227,7 +4227,7 @@ namespace sfx { namespace intern { }; } } -//============================================================================= + SfxViewFrame* SfxBaseModel::FindOrCreateViewFrame_Impl( const Reference< XFrame >& i_rFrame, ::sfx::intern::ViewCreationGuard& i_rGuard ) const { SfxViewFrame* pViewFrame = NULL; @@ -4277,7 +4277,7 @@ SfxViewFrame* SfxBaseModel::FindOrCreateViewFrame_Impl( const Reference< XFrame return pViewFrame; } -//============================================================================= + // frame::XModel2 Reference< frame::XController2 > SAL_CALL SfxBaseModel::createViewController( const OUString& i_rViewName, const Sequence< PropertyValue >& i_rArguments, const Reference< XFrame >& i_rFrame ) @@ -4364,7 +4364,7 @@ Reference< frame::XController2 > SAL_CALL SfxBaseModel::createViewController( return pBaseController; } -//============================================================================= + // RDF DocumentMetadataAccess // rdf::XRepositorySupplier: @@ -4653,9 +4653,9 @@ throw (RuntimeException, lang::IllegalArgumentException, return xDMA->storeMetadataToMedium(i_rMedium); } -// ===================================================================================================================== + // = SfxModelSubComponent -// ===================================================================================================================== + SfxModelSubComponent::~SfxModelSubComponent() { diff --git a/sfx2/source/doc/sfxmodelfactory.cxx b/sfx2/source/doc/sfxmodelfactory.cxx index 56b910900bd9..e40a94d60845 100644 --- a/sfx2/source/doc/sfxmodelfactory.cxx +++ b/sfx2/source/doc/sfxmodelfactory.cxx @@ -30,10 +30,10 @@ #include <algorithm> #include <functional> -//........................................................................ + namespace sfx2 { -//........................................................................ + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -52,9 +52,9 @@ namespace sfx2 using ::com::sun::star::beans::PropertyValue; using ::com::sun::star::lang::XInitialization; - //==================================================================== + //= SfxModelFactory - declaration - //==================================================================== + typedef ::cppu::WeakImplHelper2 < XSingleServiceFactory , XServiceInfo > SfxModelFactory_Base; @@ -97,9 +97,9 @@ namespace sfx2 const SfxModelFactoryFunc m_pComponentFactoryFunc; }; - //==================================================================== + //= SfxModelFactory - implementation - //==================================================================== + SfxModelFactory::SfxModelFactory( const Reference< XMultiServiceFactory >& _rxServiceFactory, const OUString& _rImplementationName, const SfxModelFactoryFunc _pComponentFactoryFunc, diff --git a/sfx2/source/doc/templatelocnames.src b/sfx2/source/doc/templatelocnames.src index db4a288d69da..35d69dbab082 100644 --- a/sfx2/source/doc/templatelocnames.src +++ b/sfx2/source/doc/templatelocnames.src @@ -61,7 +61,7 @@ String STR_TEMPLATE_NAME10_DEF }; -///////////////////////////////////////////////// + String STR_TEMPLATE_NAME1 { diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx index 58893f87b700..dbe9f0809354 100644 --- a/sfx2/source/explorer/nochaos.cxx +++ b/sfx2/source/explorer/nochaos.cxx @@ -26,9 +26,9 @@ #define WID_CHAOS_START 500 -//========================================================================= + // class CntStaticPoolDefaults_Impl -//========================================================================= + class CntItemPool; @@ -55,7 +55,7 @@ public: -//========================================================================= + class CntItemPool: public SfxItemPool { @@ -89,9 +89,9 @@ sal_uInt16 NoChaos::ReleaseItemPool() return CntItemPool::Release(); } -//========================================================================= + // CntItemPool implementation -//========================================================================= + static CntStaticPoolDefaults_Impl* pPoolDefs_Impl = NULL; @@ -159,9 +159,9 @@ sal_uInt16 CntItemPool::Release() return nRefs; } -//========================================================================= + // CntStaticPoolDefaults_Impl implementation. -//========================================================================= + inline void CntStaticPoolDefaults_Impl::Insert( SfxPoolItem* pItem, /* Static Pool Default Item */ diff --git a/sfx2/source/inc/appbas.hxx b/sfx2/source/inc/appbas.hxx index 578370d20978..ebedd3ce5a2a 100644 --- a/sfx2/source/inc/appbas.hxx +++ b/sfx2/source/inc/appbas.hxx @@ -25,7 +25,7 @@ class StarBASIC; class SbxObject; -//========================================================================= + SbxVariable* MakeVariable( StarBASIC *pBas, SbxObject *pObject, const char *pName, sal_uIntPtr nSID, SbxDataType eType=SbxOBJECT, diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx index 66336c507e1b..b717be82229c 100644 --- a/sfx2/source/inc/docundomanager.hxx +++ b/sfx2/source/inc/docundomanager.hxx @@ -29,14 +29,14 @@ #include <boost/scoped_ptr.hpp> #include <boost/noncopyable.hpp> -//...................................................................................................................... + namespace sfx2 { -//...................................................................................................................... - //================================================================================================================== + + //= DocumentUndoManager - //================================================================================================================== + typedef ::cppu::ImplHelper1 < ::com::sun::star::document::XUndoManager > DocumentUndoManager_Base; struct DocumentUndoManager_Impl; @@ -95,9 +95,9 @@ namespace sfx2 ::boost::scoped_ptr< DocumentUndoManager_Impl > m_pImpl; }; -//...................................................................................................................... + } // namespace sfx2 -//...................................................................................................................... + #endif // INCLUDED_SFX2_SOURCE_INC_DOCUNDOMANAGER_HXX diff --git a/sfx2/source/inc/eventsupplier.hxx b/sfx2/source/inc/eventsupplier.hxx index d8d2a8d124da..d2bb21b76be4 100644 --- a/sfx2/source/inc/eventsupplier.hxx +++ b/sfx2/source/inc/eventsupplier.hxx @@ -49,7 +49,7 @@ namespace comphelper class SfxObjectShell; class SvxMacro; -//-------------------------------------------------------------------------------------------------------- + class SfxEvents_Impl : public ::cppu::WeakImplHelper2< css::container::XNameReplace, css::document::XEventListener > { diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx index fb0dccafc861..02f473ba1679 100644 --- a/sfx2/source/inc/objshimp.hxx +++ b/sfx2/source/inc/objshimp.hxx @@ -33,7 +33,7 @@ namespace svtools { class AsynchronLink; } -//==================================================================== + DBG_NAMEEX(SfxObjectShell) diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index f26d397dc344..177bcaf0cebb 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -41,7 +41,7 @@ #endif #endif -//------------------------------------------------------------------------ + // Macro for the Call-Profiler under WinNT // with S_CAP a measurement can be started, and stopped with E_CAP @@ -84,7 +84,7 @@ struct _Capper #define DBG_OUTF(x) #endif -//------------------------------------------------------------------------ + #if defined(DBG_UTIL) && defined(WNT) @@ -110,7 +110,7 @@ public: #define SFX_STACK(s) #endif -//------------------------------------------------------------------------ + struct StringList_Impl : private Resource { diff --git a/sfx2/source/inc/statcach.hxx b/sfx2/source/inc/statcach.hxx index 60479bad1ba3..6387d83b2b6b 100644 --- a/sfx2/source/inc/statcach.hxx +++ b/sfx2/source/inc/statcach.hxx @@ -114,7 +114,7 @@ public: { xMyDispatch = rDisp; } }; -//-------------------------------------------------------------------- + // clears Cached-Item @@ -123,7 +123,7 @@ inline void SfxStateCache::ClearCache() bItemDirty = sal_True; } -//-------------------------------------------------------------------- + // registeres a item representing this function @@ -138,7 +138,7 @@ inline SfxControllerItem* SfxStateCache::ChangeItemLink( SfxControllerItem* pNew } return pOldBinding; } -//-------------------------------------------------------------------- + // returns the func binding which becomes called on spreading states @@ -146,7 +146,7 @@ inline SfxControllerItem* SfxStateCache::GetItemLink() const { return pController; } -//-------------------------------------------------------------------- + inline sal_uInt16 SfxStateCache::GetId() const { diff --git a/sfx2/source/inc/virtmenu.hxx b/sfx2/source/inc/virtmenu.hxx index cc637c51998c..0c002cdfb78a 100644 --- a/sfx2/source/inc/virtmenu.hxx +++ b/sfx2/source/inc/virtmenu.hxx @@ -108,7 +108,7 @@ public: DECL_LINK( Select, Menu * ); }; -//-------------------------------------------------------------------- + // return the number of virtual items in this menu @@ -116,14 +116,14 @@ inline sal_uInt16 SfxVirtualMenu::GetItemCount() const { return nCount; } -//-------------------------------------------------------------------- + inline SfxMenuControl& SfxVirtualMenu::operator[]( sal_uInt16 nPos ) const { return *(pItems+nPos); } -//-------------------------------------------------------------------- + // returns the item id at position nPos in the menu (or 0 if sep.) diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index ceed92e008a1..b05807c2495b 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -41,7 +41,7 @@ class SfxSplitWindow; class SfxWorkWindow; -//==================================================================== + // This struct makes all relevant Informationen available of Toolboxes struct SfxObjectBar_Impl @@ -64,7 +64,7 @@ struct SfxObjectBar_Impl {} }; -//------------------------------------------------------------------------------ + // This struct makes all relevant Informationen available of the status bar struct SfxStatBar_Impl @@ -80,7 +80,7 @@ struct SfxStatBar_Impl {} }; -//------------------------------------------------------------------------------ + #define CHILD_NOT_VISIBLE 0 #define CHILD_ACTIVE 1 // not disabled through HidePopups @@ -170,7 +170,7 @@ struct SfxObjectBarList_Impl #define SFX_SPLITWINDOWS_BOTTOM 3 #define SFX_SPLITWINDOWS_MAX 4 -//-------------------------------------------------------------------- + class LayoutManagerListener : public ::cppu::WeakImplHelper2< css::frame::XLayoutManagerListener, @@ -182,21 +182,21 @@ class LayoutManagerListener : public ::cppu::WeakImplHelper2< void setFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); - //--------------------------------------------------------------------------------------------------------- + // XComponent - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException ); - //--------------------------------------------------------------------------------------------------------- + // XEventListener - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException ); - //--------------------------------------------------------------------------------------------------------- + // XLayoutManagerEventListener - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL layoutEvent( const ::com::sun::star::lang::EventObject& aSource, ::sal_Int16 eLayoutEvent, const ::com::sun::star::uno::Any& aInfo ) throw (::com::sun::star::uno::RuntimeException); private: diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 869a3c9f447a..f55430432ba1 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -55,9 +55,9 @@ using namespace ::com::sun::star::util; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::task; -//*************************************************************************** + // SfxURLToolBoxControl_Impl -//*************************************************************************** + SFX_IMPL_TOOLBOX_CONTROL(SfxURLToolBoxControl_Impl,SfxStringItem) @@ -76,7 +76,7 @@ SvtURLBox* SfxURLToolBoxControl_Impl::GetURLBox() const return (SvtURLBox*)GetToolBox().GetItemWindow( GetId() ); } -//*************************************************************************** + void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName, sal_Bool /*bNew*/ ) const { @@ -192,7 +192,7 @@ IMPL_LINK_NOARG(SfxURLToolBoxControl_Impl, OpenHdl) return 1L; } -//*************************************************************************** + void SfxURLToolBoxControl_Impl::StateChanged ( diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx index aba877d15448..56901f794d4d 100644 --- a/sfx2/source/menu/mnuitem.cxx +++ b/sfx2/source/menu/mnuitem.cxx @@ -66,7 +66,7 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::util; -//==================================================================== + // binds the instance to the specified id and assignes the title diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index c728b471fc9f..9309f6b94884 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -110,7 +110,7 @@ void SfxMenuImageControl_Impl::Update() } } -//========================================================================= + static Image RetrieveAddOnImage( Reference< com::sun::star::frame::XFrame >& rFrame, const OUString& aImageId, @@ -134,7 +134,7 @@ static Image RetrieveAddOnImage( Reference< com::sun::star::frame::XFrame >& rFr return aImage; } -//========================================================================= + /* This helper function checks whether a Slot-id in the current application status is visible or not. This relates to the application status to see @@ -153,7 +153,7 @@ sal_Bool IsItemHidden_Impl( sal_uInt16 nItemId, int bOleServer, int bMac ) ( nItemId == SID_EXITANDRETURN || nItemId == SID_UPDATEDOC ) ); } -//==================================================================== + void SfxVirtualMenu::Construct_Impl() { diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index c02bab054160..cc1715104837 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -78,7 +78,7 @@ public: css::uno::RuntimeException ); }; -//============================================================================= + //TODO: remove support of obsolete document::XEventBroadcaster/Listener class SfxGlobalEvents_Impl : public ModelCollectionMutexBase , public ::cppu::WeakImplHelper3< css::lang::XServiceInfo diff --git a/sfx2/source/sidebar/Sidebar.cxx b/sfx2/source/sidebar/Sidebar.cxx index 17ff2a2e1bc6..ae903455a6a9 100644 --- a/sfx2/source/sidebar/Sidebar.cxx +++ b/sfx2/source/sidebar/Sidebar.cxx @@ -40,7 +40,7 @@ void Sidebar::ShowPanel ( // - Make sure that the panel is visible and expanded after // the switch. // - Make sure to use a context that really shows the panel - // + // All that is not necessary for the current use cases so lets // keep it simple for the time being. pController->RequestSwitchToDeck(pPanelDescriptor->msDeckId); diff --git a/sfx2/source/toolbox/imgmgr.cxx b/sfx2/source/toolbox/imgmgr.cxx index cc18a8700fae..3546c1de2e6a 100644 --- a/sfx2/source/toolbox/imgmgr.cxx +++ b/sfx2/source/toolbox/imgmgr.cxx @@ -137,7 +137,7 @@ static sal_Int16 impl_convertBools( sal_Bool bLarge ) return nIndex; } -//========================================================================= + SfxImageManager_Impl::SfxImageManager_Impl( SfxModule* pModule ) : m_pModule(pModule) @@ -276,7 +276,7 @@ IMPL_LINK( SfxImageManager_Impl, SettingsChanged_Impl, VclWindowEvent*, pEvent) -//========================================================================= + SfxImageManager::SfxImageManager( SfxModule* pModule ) { diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index b13603ec1764..dd2f3d982f41 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -103,7 +103,7 @@ using namespace ::com::sun::star::util; using namespace ::com::sun::star::container; using namespace ::com::sun::star::ui; -//==================================================================== + SFX_IMPL_TOOLBOX_CONTROL_ARG(SfxToolBoxControl, SfxStringItem, sal_True); SFX_IMPL_TOOLBOX_CONTROL(SfxRecentFilesToolBoxControl, SfxStringItem); diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 518bdc9888fc..6213c096c17e 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -66,7 +66,7 @@ using namespace com::sun::star; -//==================================================================== + // SfxEmbedResizeGuard class SfxBooleanFlagGuard { @@ -86,7 +86,7 @@ public: } }; -//==================================================================== + // SfxInPlaceClient_Impl @@ -603,7 +603,7 @@ IMPL_LINK_NOARG(SfxInPlaceClient_Impl, TimerHdl) } -//==================================================================== + // SfxInPlaceClient diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 56634cd2a6e8..721a1a0d5efe 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1470,7 +1470,7 @@ IMPL_LINK_NOARG ( SfxBaseController, CheckOutHandler ) } -//============================================================================= + Reference< frame::XTitle > SfxBaseController::impl_getTitleHelper () { SolarMutexGuard aGuard; @@ -1491,7 +1491,7 @@ Reference< frame::XTitle > SfxBaseController::impl_getTitleHelper () return m_pData->m_xTitleHelper; } -//============================================================================= + // frame::XTitle OUString SAL_CALL SfxBaseController::getTitle() throw (RuntimeException) @@ -1499,7 +1499,7 @@ OUString SAL_CALL SfxBaseController::getTitle() return impl_getTitleHelper()->getTitle (); } -//============================================================================= + // frame::XTitle void SAL_CALL SfxBaseController::setTitle(const OUString& sTitle) throw (RuntimeException) @@ -1507,7 +1507,7 @@ void SAL_CALL SfxBaseController::setTitle(const OUString& sTitle) impl_getTitleHelper()->setTitle (sTitle); } -//============================================================================= + // frame::XTitleChangeBroadcaster void SAL_CALL SfxBaseController::addTitleChangeListener(const Reference< frame::XTitleChangeListener >& xListener) throw (RuntimeException) @@ -1517,7 +1517,7 @@ void SAL_CALL SfxBaseController::addTitleChangeListener(const Reference< frame:: xBroadcaster->addTitleChangeListener (xListener); } -//============================================================================= + // frame::XTitleChangeBroadcaster void SAL_CALL SfxBaseController::removeTitleChangeListener(const Reference< frame::XTitleChangeListener >& xListener) throw (RuntimeException) diff --git a/sfx2/source/view/userinputinterception.cxx b/sfx2/source/view/userinputinterception.cxx index dc5d77905df3..327f40f429b2 100644 --- a/sfx2/source/view/userinputinterception.cxx +++ b/sfx2/source/view/userinputinterception.cxx @@ -28,10 +28,10 @@ #include <vcl/event.hxx> #include <vcl/window.hxx> -//........................................................................ + namespace sfx2 { -//........................................................................ + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -114,9 +114,9 @@ namespace sfx2 } - //==================================================================== + //= UserInputInterception - //==================================================================== + UserInputInterception::UserInputInterception( ::cppu::OWeakObject& _rControllerImpl, ::osl::Mutex& _rMutex ) :m_pData( new UserInputInterception_Data( _rControllerImpl, _rMutex ) ) @@ -260,8 +260,8 @@ namespace sfx2 return bHandled; } -//........................................................................ + } // namespace sfx2 -//........................................................................ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/view/view.src b/sfx2/source/view/view.src index 136836eb20c5..b80b17c90182 100644 --- a/sfx2/source/view/view.src +++ b/sfx2/source/view/view.src @@ -64,7 +64,7 @@ String STR_PRINT_NEWORISIZE Text [ en-US ] = "The page size and orientation have been modified.\nWould you like to save the new settings in the\nactive document?" ; }; - // ----------------------------------------------------------------------- + InfoBox MSG_CANT_CLOSE { Message [ en-US ] = "The document cannot be closed because a\n print job is being carried out." ; diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 607ce9474a79..1b659b53372c 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1619,7 +1619,7 @@ void SfxViewFrame::DoAdjustPosSizePixel //! divide on Inner.../Outer... } } -//======================================================================== + bool SfxViewFrameItem::operator==( const SfxPoolItem &rItem ) const { diff --git a/sfx2/source/view/viewfrm2.cxx b/sfx2/source/view/viewfrm2.cxx index 8633f23d51b7..1b0e9820f4a0 100644 --- a/sfx2/source/view/viewfrm2.cxx +++ b/sfx2/source/view/viewfrm2.cxx @@ -76,7 +76,7 @@ void SfxFrameViewWindow_Impl::Resize() pFrame->Resize(); } -//======================================================================== + void SfxViewFrame::UpdateTitle() diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 1416c0fe5d2f..56614448414b 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -84,13 +84,13 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::util; using namespace ::cppu; -//========================================================================= + DBG_NAME(SfxViewShell) #define SfxViewShell #include "sfxslots.hxx" -//========================================================================= + class SfxClipboardChangeListener : public ::cppu::WeakImplHelper1< datatransfer::clipboard::XClipboardListener > @@ -215,7 +215,7 @@ void SAL_CALL SfxClipboardChangeListener::changedContents( const datatransfer::c Application::PostUserEvent( STATIC_LINK( 0, SfxClipboardChangeListener, AsyncExecuteHdl_Impl ), pInfo ); } -//========================================================================= + static OUString RetrieveLabelFromCommand( const OUString& rCommandURL, @@ -275,7 +275,7 @@ static OUString RetrieveLabelFromCommand( return aLabel; } -//========================================================================= + SfxViewShell_Impl::SfxViewShell_Impl(sal_uInt16 const nFlags) : aInterceptorContainer( aMutex ) , m_bControllerSet(false) @@ -292,7 +292,7 @@ SfxViewShell_Impl::SfxViewShell_Impl(sal_uInt16 const nFlags) , m_pAccExec(0) {} -//========================================================================= + SFX_IMPL_INTERFACE(SfxViewShell,SfxShell,SfxResId(0)) { } |