svx/sdi/svx.sdi    |   13 +++++++++++++
 sw/sdi/swriter.sdi |    2 ++
 2 files changed, 15 insertions(+)

New commits:
commit ec6d1156b70b0abeb60d2c481392e538328eabac
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Mon Jan 16 13:17:42 2023 -0500
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Wed Jan 18 14:13:52 2023 +0000

    document svx.sdi with link to SDI slot config details
    
    UI stuff is a total black box,
    so most of the config is just copy/pasted from a similar function,
    with nothing to indicate what any of it means or does.
    
    Miklos pointed me to this documentation,
    so I've dumped it here so that there are a few breadcrumbs
    pointing to the specs for what this stuff means.
    
    Change-Id: Iccbc0ff5b400328af8ae683fdcf42203e4029d48
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145624
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <jl...@mail.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi
index 6710fdf145a7..d86ce1df20f4 100644
--- a/svx/sdi/svx.sdi
+++ b/svx/sdi/svx.sdi
@@ -15,6 +15,19 @@
  *   except in compliance with the License. You may obtain a copy of
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
+
+/*
+ * See 
https://wiki.openoffice.org/wiki/Framework/Article/Implementation_of_the_Dispatch_API_In_SFX2#Slot_definitions
+ * for details on what these mean, and what values to use.
+ * Likely many of the existing ones are not defined correctly.
+ *
+ * Items defined here tend to be used throughout the office suite.
+ * Other locations for application-specific slots can exist too.
+ *  - sw/sdi/swriter.sdis
+ *  - sc/sdi/scalc.sdi
+ *  - sd/sdi/sdraw.sdi
+ */
+
 SfxInt32Item AbsoluteRecord SID_FM_RECORD_ABSOLUTE
 (SfxInt32Item Position FN_PARAM_1)
 [
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index 49f181d9b377..8b0f7b2364a7 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -16,6 +16,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+// See svx/sdi/svx.sdi for hints on how to define these
+
 SfxVoidItem CreateSWDrawView SID_CREATE_SW_DRAWVIEW
 ()
 [

Reply via email to