diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2023-03-17 14:50:25 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2023-03-21 23:10:01 +0000 |
commit | 6db5e15e5b91f34232e90225a723e0673ecfc2f0 (patch) | |
tree | fb6b8662e95891e73c376db61c3d28559011b07b /sc/source/ui/unoobj/servuno.cxx | |
parent | 65758e25b16db552af7699facbe068e3d4aebc3a (diff) |
sc drawstyles: Implement the styles family
Change-Id: I2af6072685e4c79cfe2f177c0aae27044f86d840
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149184
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sc/source/ui/unoobj/servuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/servuno.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index 073a57119bb4..855d0ae76b22 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -264,6 +264,7 @@ const ProvNamesId_Type aProvNamesId[] = { "com.sun.star.text.TextField.SheetName", Type::SHEETFIELD }, { "com.sun.star.style.CellStyle", Type::CELLSTYLE }, { "com.sun.star.style.PageStyle", Type::PAGESTYLE }, + { "com.sun.star.style.GraphicStyle", Type::GRAPHICSTYLE }, { "com.sun.star.sheet.TableAutoFormat", Type::AUTOFORMAT }, { "com.sun.star.sheet.TableAutoFormats", Type::AUTOFORMATS }, { "com.sun.star.sheet.SheetCellRanges", Type::CELLRANGES }, @@ -423,6 +424,9 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance( case Type::PAGESTYLE: xRet.set(static_cast<style::XStyle*>(new ScStyleObj( nullptr, SfxStyleFamily::Page, OUString() ))); break; + case Type::GRAPHICSTYLE: + xRet.set(static_cast<style::XStyle*>(new ScStyleObj( nullptr, SfxStyleFamily::Frame, OUString() ))); + break; case Type::AUTOFORMAT: xRet.set(static_cast<container::XIndexAccess*>(new ScAutoFormatObj( SC_AFMTOBJ_INVALID ))); break; |