Handle Unit RO <UNIT-Number> in MS Word Documents
Comment-out a change that was made to raise the location of the "END" message. Fixed logic to account for borders on figures.
This commit is contained in:
@@ -990,8 +990,8 @@ namespace Volian.Print.Library
|
||||
{
|
||||
// If the flag is 0 or 1, just put the end message out right below this vlnParagraph:
|
||||
float msg_yLocation = CalculateYLocation(yPageStart - YBottomMost, yTopMargin);
|
||||
if (MyPageHelper.YMultiplier < 1)
|
||||
msg_yLocation += 4;// Robinson - if the page is compressed, we need this adjustment.
|
||||
//if (MyPageHelper.YMultiplier < 1)
|
||||
// msg_yLocation += 4;// Robinson - if the page is compressed, we need this adjustment.
|
||||
|
||||
// the following is for IP3 - it was commented out so that an update could be put on
|
||||
// before this was tested.
|
||||
@@ -1506,8 +1506,8 @@ namespace Volian.Print.Library
|
||||
yForCheckoff += Height - SixLinesPerInch; // place checkoff on last row of text
|
||||
yoff += (Height + yoffForBorder); //(2 * SixLinesPerInch));
|
||||
CalculateXOffsetGridOrFigure(itemInfo, maxRNO, formatInfo);
|
||||
yoff = (float)Math.Ceiling(yoff); // RHM 20120925 - Make sure that yOff is an integer value after a grid
|
||||
}
|
||||
bool noborder = MyItemInfo.FormatStepData.Type.ToUpper().Contains("BORDERLESS");
|
||||
yoff += (Height + ((noborder?1:2)*SixLinesPerInch)); // RHM 20120925 - Eliminate extra space after Figure }
|
||||
else if (itemInfo.IsFigure) // if a figure we've got to determine the size:
|
||||
{
|
||||
string erMsg = null;
|
||||
|
Reference in New Issue
Block a user