summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2013-04-30 11:36:12 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:26 +0100
commit611c6c3a4ef96a5e986320f2f00adb04de51a303 (patch)
tree3197320d77ad1e2ec6caf87e81c0bae975bae329
parentabf9ef78d6f98abf31b55e9ee0528d81163e8f82 (diff)
Related: #i122056# Added another Writer variant to sidebar...
context handling. (cherry picked from commit 542f0ff097c0e3eb71a1ad19f6d46a9860e754d9) Conflicts: sfx2/inc/sfx2/sidebar/EnumContext.hxx Change-Id: Ib88f75d3dfdba5c14c2d3c747e90eecd00e6f249
-rw-r--r--include/sfx2/sidebar/EnumContext.hxx1
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs1
-rw-r--r--sfx2/source/sidebar/EnumContext.cxx1
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx1
4 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/EnumContext.hxx b/include/sfx2/sidebar/EnumContext.hxx
index cad942eb4642..819e83717e3d 100644
--- a/include/sfx2/sidebar/EnumContext.hxx
+++ b/include/sfx2/sidebar/EnumContext.hxx
@@ -36,6 +36,7 @@ public:
Application_WriterGlobal,
Application_WriterWeb,
Application_WriterXML,
+ Application_WriterForm,
Application_Calc,
Application_Draw,
Application_Impress,
diff --git a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
index 8d096b3a69c8..de7d7fa68d23 100644
--- a/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
@@ -82,6 +82,7 @@
com.sun.star.text.GlobalDocument
com.sun.star.text.WebDocument
com.sun.star.xforms.XMLFormDocument
+ com.sun.star.sdb.FormDesign
com.sun.star.sheet.SpreadsheetDocument
com.sun.star.presentation.PresentationDocument
com.sun.star.drawing.DrawingDocument
diff --git a/sfx2/source/sidebar/EnumContext.cxx b/sfx2/source/sidebar/EnumContext.cxx
index acc5340059b0..ce1d7435b019 100644
--- a/sfx2/source/sidebar/EnumContext.cxx
+++ b/sfx2/source/sidebar/EnumContext.cxx
@@ -157,6 +157,7 @@ void EnumContext::ProvideApplicationContainers (void)
AddEntry(A2S("com.sun.star.text.GlobalDocument"), EnumContext::Application_WriterGlobal);
AddEntry(A2S("com.sun.star.text.WebDocument"), EnumContext::Application_WriterWeb);
AddEntry(A2S("com.sun.star.xforms.XMLFormDocument"), EnumContext::Application_WriterXML);
+ AddEntry(A2S("com.sun.star.sdb.FormDesign"), EnumContext::Application_WriterForm);
AddEntry(A2S("com.sun.star.sheet.SpreadsheetDocument"), EnumContext::Application_Calc);
AddEntry(A2S("com.sun.star.drawing.DrawingDocument"), EnumContext::Application_Draw);
AddEntry(A2S("com.sun.star.presentation.PresentationDocument"), EnumContext::Application_Impress);
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 725471a27195..26d6e4d8f0ef 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -435,6 +435,7 @@ void ResourceManager::ReadContextList (
aApplications.push_back(EnumContext::Application_WriterGlobal);
aApplications.push_back(EnumContext::Application_WriterWeb);
aApplications.push_back(EnumContext::Application_WriterXML);
+ aApplications.push_back(EnumContext::Application_WriterForm);
}
else
{