1. 24 Tem, 2018 2 kayıt (commit)
    • Justin Luth's avatar
      tdf#72560 ExchangeLeftRight shouldn't use DefaultParaStyle · 3aaa81ff
      Justin Luth yazdı
      MS Word's UI is a bit confusing for RTL because the only place you
      can set it (at least in Word 2003) is on the Normal paragraph
      style - everywhere else the control is grayed out.
      
      Add a test that very specifically tests the impact of Normal style.
      The document does not use the "default" style at all, because
      the style used is based on -none-. Normal is set to RTL - does
      that mean that the whole document should be RTL or that
      Left/Right should swap?
      
      No. Parentless style provides LTR in MSWord, and thus the LO code
      that ExchangeLeftRight() based on DefaultStyle's bidi setting was
      wrong. Yes, it is determined by style/DocDefault settings, but
      not by DefaultStyle in particular.
      
      Change-Id: I000953e51d3d919f73aa1e97df63f266d15447b2
      Reviewed-on: https://gerrit.libreoffice.org/57859
      Tested-by: Jenkins
      Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
      3aaa81ff
    • Justin Luth's avatar
      tdf#72560 writerfilter: StyleProperty - also check DocDefaults · 0fbf627a
      Justin Luth yazdı
      Styles without parents still have inheritance - from the DocDefaults.
      So, make sure to check those properties too in
      GetPropertyFromStyleSheet() (and therefore also in GetAnyProperty).
      
      Currently, this should only impact when InStyleSheetImport(),
      but if the docDefaults ever find a way to naturally migrate
      into LO as doc defaults and not into the style itself, then
      this will also be useful to check for paragraph properties etc.
      
      Change-Id: Ic02cd10c104c0330684308f1380a77009206a664
      Reviewed-on: https://gerrit.libreoffice.org/57805Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
      Tested-by: 's avatarJustin Luth <justin_luth@sil.org>
      0fbf627a
  2. 23 Tem, 2018 33 kayıt (commit)
  3. 22 Tem, 2018 5 kayıt (commit)