- Put RO Adjustment code prior to Replace Words - Match 16 Bit
- Replaced logic for Replace Words so that they are replaced sequentially through the text rather than sequentially through the word list. - Added DoTransitionAdjustments that adds hardspaces to Transitions. - Changed the NextUnicode module to ignore Hard Spaces - Added logic to find 'real' spaces in ROs and replace only them. Spaces are also used to terminate RTF commands. Added code to handle "AND Range" Transitions - Use new ToolTip property - Use new MyStepSectionLayoutData - Remove Debug Remove unused code Renamed TwipsPerPage to PointsPerPage Adjusted Superscript offset to match 16-Bit - Added Debug Code to compare 16-Bit and 32-Bit text - Added Debug Code forr Pagination - Added optional code to match 16-Bit pagination Added Ruler for 6 and 7 lines per inch.
This commit is contained in:
@@ -783,15 +783,24 @@ namespace Volian.Controls.Library
|
||||
return;
|
||||
}
|
||||
toItem = (ItemInfo)_RangeNode1.VEObject;
|
||||
// Get the second item in the range, based on current tree view selection.
|
||||
if (_RangeNode2 == null && tvTran.SelectedNode == null)
|
||||
// If this is Transition type 2, then make 'rangenode2' same as rangenode1
|
||||
// This will get resolved when transition text is resolved. This case represents
|
||||
// range from rangenode1 to last sibling. Otherwise, get the second item in the
|
||||
// range, based on current tree view selection.
|
||||
if (listBoxTranFmt.SelectedIndex == 2)
|
||||
{
|
||||
MessageBox.Show("Must 'Select Step' for range transition 'to'");
|
||||
return;
|
||||
rangeItem = toItem;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (_RangeNode2 == null && tvTran.SelectedNode == null)
|
||||
{
|
||||
MessageBox.Show("Must 'Select Step' for range transition 'to'");
|
||||
return;
|
||||
}
|
||||
if (_RangeNode2 == null) _RangeNode2 = (VETreeNode)tvTran.SelectedNode;
|
||||
rangeItem = (ItemInfo)_RangeNode2.VEObject;
|
||||
}
|
||||
if (_RangeNode2 == null) _RangeNode2 = (VETreeNode)tvTran.SelectedNode;
|
||||
rangeItem = (ItemInfo)_RangeNode2.VEObject;
|
||||
|
||||
// Check that the two items are of the below the section type.
|
||||
if (toItem.MyContent.Type < 20000 || rangeItem.MyContent.Type < 20000)
|
||||
{
|
||||
|
Reference in New Issue
Block a user