RE: Color me confused

2014-04-28 Thread Maurice Amsellem
Look for the following line in FlowElement:

Line 574:

//  
// Begin TLFFormat Related code
// 
include ../formats/TextLayoutFormatInc.as

Maurice 

-Message d'origine-
De : Harbs [mailto:harbs.li...@gmail.com] 
Envoyé : lundi 28 avril 2014 13:47
À : dev
Objet : Color me confused

I'm trying to add some properties to TextLayoutFormat for tables.

I added the properties to ITextLayoutFormat and TextLayoutFormat. Great.

Problem is, I get errors that the properties are not implemented in FlowElement 
and all its subclasses.

Okay. That makes sense, because FlowElement implements ITextLayoutFormat.

The odd thing, is that there's a whole slew of properties that FlowElement does 
NOT implement. (such as columnBreakBefore, columnBreakAfter, 
containerBreakBefore, color, etc. etc.)

Why is there no compile error for almost all the TLF properties?

Harbs


Re: Color me confused

2014-04-28 Thread Harbs
Aha!

Thanks,
Harbs

On Apr 28, 2014, at 3:19 PM, Maurice Amsellem wrote:

 Look for the following line in FlowElement:
 
 Line 574:
 
   //  
   // Begin TLFFormat Related code
   // 
   include ../formats/TextLayoutFormatInc.as
 
 Maurice 
 
 -Message d'origine-
 De : Harbs [mailto:harbs.li...@gmail.com] 
 Envoyé : lundi 28 avril 2014 13:47
 À : dev
 Objet : Color me confused
 
 I'm trying to add some properties to TextLayoutFormat for tables.
 
 I added the properties to ITextLayoutFormat and TextLayoutFormat. Great.
 
 Problem is, I get errors that the properties are not implemented in 
 FlowElement and all its subclasses.
 
 Okay. That makes sense, because FlowElement implements ITextLayoutFormat.
 
 The odd thing, is that there's a whole slew of properties that FlowElement 
 does NOT implement. (such as columnBreakBefore, columnBreakAfter, 
 containerBreakBefore, color, etc. etc.)
 
 Why is there no compile error for almost all the TLF properties?
 
 Harbs