SHA256
1
0
forked from pool/libreoffice
libreoffice/bsc1196212.patch
Danilo Spinella 9001d8b519 Accepting request 967376 from LibreOffice:7.3
- Fix bsc#1195881 - LO-L3: Bullets appear larger and green (instead of black)
  * bsc#1195881.patch

- Fix bsc#1196212 - LO-L3: Text with tabs appears quite different in
  Impress than in PowerPoint
  * bsc1196212.patch

  * fix_gtk_popover_on_3.20.patch

OBS-URL: https://build.opensuse.org/request/show/967376
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1008
2022-04-07 09:33:32 +00:00

24 lines
1011 B
Diff

diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 622d35c..b57b06b 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -399,6 +399,18 @@
mpDoc->SetSummationOfParagraphs();
}
+ if (aFilterName == "Impress MS PowerPoint 2007 XML" ||
+ aFilterName == "Impress MS PowerPoint 2007 XML AutoPlay" ||
+ aFilterName == "Impress MS PowerPoint 2007 XML VBA" ||
+ aFilterName == "Impress Office Open XML")
+ {
+ // We need to be able to set the default tab size for each text object.
+ // This is possible at the moment only for the whole document. See
+ // TextParagraphPropertiesContext constructor. So default tab width
+ // of the LibreOffice is 1270 but MSO is 2540 on general settings.
+ mpDoc->SetDefaultTabulator( 2540 );
+ }
+
const bool bRet = SfxObjectShell::ImportFrom(rMedium, xInsertPosition);
SfxItemSet* pSet = rMedium.GetItemSet();