Lines 883-891
Link Here
|
883 |
Point aPos(nX, nY + NOTES_HEADER_FOOTER_HEIGHT); |
883 |
Point aPos(nX, nY + NOTES_HEADER_FOOTER_HEIGHT); |
884 |
USHORT nPgNum = 0; |
884 |
USHORT nPgNum = 0; |
885 |
|
885 |
|
|
|
886 |
sal_Bool bRTL = ( GetModel() && static_cast< SdDrawDocument* >( GetModel() )->GetDefaultWritingMode() == ::com::sun::star::text::WritingMode_RL_TB ); |
886 |
for (USHORT nRow = 0; nRow < nRowCnt; nRow++) |
887 |
for (USHORT nRow = 0; nRow < nRowCnt; nRow++) |
887 |
{ |
888 |
{ |
888 |
aPos.X() = nX; |
889 |
if (bRTL) |
|
|
890 |
aPos.X() = nX + (aPartArea.Width() + nGapW)*(nColCnt - 1); |
891 |
else |
892 |
aPos.X() = nX; |
889 |
|
893 |
|
890 |
for (USHORT nCol = 0; nCol < nColCnt; nCol++) |
894 |
for (USHORT nCol = 0; nCol < nColCnt; nCol++) |
891 |
{ |
895 |
{ |
Lines 904-910
Link Here
|
904 |
} |
908 |
} |
905 |
|
909 |
|
906 |
nPgNum++; |
910 |
nPgNum++; |
907 |
aPos.X() += aPartArea.Width() + nGapW; |
911 |
if (bRTL) |
|
|
912 |
aPos.X() -= aPartArea.Width() + nGapW; |
913 |
else |
914 |
aPos.X() += aPartArea.Width() + nGapW; |
908 |
} |
915 |
} |
909 |
aPos.Y() += aPartArea.Height() + nGapH; |
916 |
aPos.Y() += aPartArea.Height() + nGapH; |
910 |
} |
917 |
} |