[[BackLinksMenu]] [[TicketQuery(summary=WRAPPING_TEXT_RENDERING_R1, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == * See [wiki:WRAPPING_TEXT_RENDERING_R0#Overview] == Task requirements == * Basic text wrapping around a Frame with a higher z-order than the current Frame. * Text will be flowed line by line following the example: [[Image(source:branches/private/vlado/sophie2-platform/doc/spec-diagrams/LineByLineTextFlowing.png)]] * Wrapping options * none - text is not wrapped * before - text wraps only on the left side * after - text wraps only on the right side * parallel (default) - text wraps from both sides * Default option (parallel) will be implemented in the current revision. * None, Before and After options will be implemented if there is time. == Task result == The result of this task is source code. == Implementation idea == * The text layout is based on HillClimbing algorithm. * Flowing text not only to a single area, but also to a list of areas (having different shapes) is available. * From the area of the current Frame subtract all intersecting Frames' areas and produce a list of areas. * Pass the list to the algorithm. == Related == [wiki:WRAPPING_TEXT_RENDERING_R0] == How to demo == See [wiki:WRAPPING_TEXT_RENDERING_R0#Howtodemo] = Design = ^(Describe your design here.)^ = Implementation = ^(Describe and link the implementation results here (from the wiki or the repository).)^ = Testing = ^(Place the testing results here.)^ = Comments = ^(Write comments for this or later revisions here.)