Transferred from the Adobe Open Source Subversion Repository
Transferred from the Adobe Open Source Subversion Repository

Revision: 7400
Author:   gosmith@adobe.com
Date:     2009-05-29T02:53:47.451300Z

Log Message: 
-----------
Integrated TLF build 442. This integration required some minor changes to framework code.

---

The advanced text format styles for Spark components now include four new inheriting styles corresponding to new TLF formats:

paragraphSpaceBefore and paragraphSpaceAfter are for adding space before and after a paragraph.

paragraphStartIndent and paragraphEndIndent are for indenting the entire paragraph (not just its first line), from either the "starting" or "ending" side, which depend on the direction of the paragraph.

All four styles are specified in pixels, and have a default value of 0 coming from the global selector.

You can set these styles on a component and they'll apply to all paragraphs. For example, simply setting <s:TextArea paragraphSpaceAfter="20"> will put 20 pixels of space after each paragraph.

TLF has removed its old non-inheriting marginXXX formats, so markup like <p marginBottom="20">...</p> is no longer allowed in text content. These formats were in the FXG 1.0 spec, so FXG 1.0 compilation will need to change to map

marginTop -> paragraphSpaceBefore
marginBottom -> paragraphSpaceAfter
marginLeft -> paragraphStartIndent
marginRight -> paragraphEndIndent

---

From TLF's ReleaseNotes.txt:

Build 441
	* rename StatusChangeEvent INLINE_GRAPHIC_STATUS_CHANGED to INLINE_GRAPHIC_STATUS_CHANGE
	* Fix 2300102 Spans with attached event listeners should not merge
Build 439
	* API and markup Changes (Fix 2339174) 
	-- marginTop, marginBottom, marginLeft and marginRight formats have been renamed to paragraphSpaceBefore, paragraphSpaceAfter, paragraphStartIndent and paragraphEndIndent respectively
	-- paragraphStartIndent and paragraphEndIndent are direction-sensitive. For example, the former applies to the paragraph's left edge for left-to-right text, and to the right edge otherwise
	-- These formats now inherit values from parent flow element if undefined during cascade
	-- The previous names continue to be supported on import of FXG markup (but not TLF markup). FXG export uses the new names.
	* UndoManager and IUndoManager moved from flashx.textLayout.edit into flashx.undo namespace (actually done in build 436)

QE Notes: Need tests for these new styles.
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/CSSTextLayoutFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/tlf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253888 13f79535-47bb-0310-9956-ffa450edef68

danteinforno/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,apache/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,SlavaRa/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,shyamalschandra/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,apache/flex-sdk,adufilie/flex-sdk,SlavaRa/flex-sdk,danteinforno/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk