https://bugs.documentfoundation.org/show_bug.cgi?id=104202

Justin L <jl...@mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|regression                  |
            Version|4.5.0.0.alpha0+ Master      |unspecified

--- Comment #8 from Justin L <jl...@mail.com> ---
I think regression flag can safely be removed. It just happened to look better
when the default of left align was forced on it.

The problem is that the slide should not be inheriting the textbox from the
master. (For example, if MS Office adds a fill to the master's subtitle
textbox, slide1 doesn't get that fill.) The title textbox in the slide mirrors
the master, but not the subtitle textbox. [Problem already seen in LO 3.5
bibisect.]

The issue seems to be that master is
    <p:ph type="subTitle" sz="quarter" idx="1"/>
but the slide is different ID
    <p:ph type="subTitle" sz="quarter" idx="4294967295"/>

If I set the slide's idx to 1, then MS 2010 opens like LO - i.e. the master's
textbox settings apply to the slide's textbox.


There was major re-work done in the LO 4.4-ish timeframe. 
commit cc6ae367280d205a88c6f907b20b84613221ca52
Author: Matúš Kukan on Thu Aug 7 13:25:51 2014 +0200
    bnc#821916: Better algorithm to find placeholder shape.

// Function to find placeholder (ph) for a shape. No idea how MSO implements
// this, but this order seems to work quite well
// (probably it's unnecessary complicated / wrong):
// 1. ph with nFirstSubType and the same oSubTypeIndex
// 2. ph with nFirstSubType
// 3. ph with nSecondSubType and the same oSubTypeIndex
// 4. ph with nSecondSubType
// 5. ph with the same oSubTypeIndex


Forcing an idx reference to only match a master with the same idx fixed the bad
textbox inheritance problem (from slideLayouts) and didn't cause any real unit
test failures, but it did cause the blue colour (from slideMasters) to
disappear in this examples test.pptx. [Obviously not a complete or safe
solution.]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to