Home
last modified time | relevance | path

Searched hist:"7 b20d707" (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/sw/source/core/inc/
H A Dcntfrm.hxxdiff 7b20d707 Thu Oct 11 17:03:07 UTC 2018 Matthias Seidel <mseidel@apache.org> i127875 - Merge r1837212 from trunk

Fix SwCntntFrm::CalcLowers() so that it visits all on-page objects.
SwCntntFrm::CalcLowers() walks the object tree walk and it assumes
that the objects visited will be at a monotonically increasing
distance from the top of the page, so it terminates the walk once
it encounters the first object below the bottom of the page. Even
though the objects are vertically sorted in each branch of the tree,
there is no guarantee that the order of the objects visited in the
depth-first walk will be perfectly sorted vertically, so the walk
may terminate before visiting all of the objects on the page. Fix
this problem by pruning branches when they cross the lower page
boundary and only terminating the walk once there are no longer any
paths forward.

Submitted by: truckman

git-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/AOO416@1843573 13f79535-47bb-0310-9956-ffa450edef68
/aoo41x/main/sw/source/core/layout/
H A Dtabfrm.cxxdiff 7b20d707 Thu Oct 11 17:03:07 UTC 2018 Matthias Seidel <mseidel@apache.org> i127875 - Merge r1837212 from trunk

Fix SwCntntFrm::CalcLowers() so that it visits all on-page objects.
SwCntntFrm::CalcLowers() walks the object tree walk and it assumes
that the objects visited will be at a monotonically increasing
distance from the top of the page, so it terminates the walk once
it encounters the first object below the bottom of the page. Even
though the objects are vertically sorted in each branch of the tree,
there is no guarantee that the order of the objects visited in the
depth-first walk will be perfectly sorted vertically, so the walk
may terminate before visiting all of the objects on the page. Fix
this problem by pruning branches when they cross the lower page
boundary and only terminating the walk once there are no longer any
paths forward.

Submitted by: truckman

git-svn-id: https://svn.apache.org/repos/asf/openoffice/branches/AOO416@1843573 13f79535-47bb-0310-9956-ffa450edef68

Completed in 47 milliseconds