Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14fd0d34e2 | ||
|
|
abe0444275 | ||
|
|
576b967f57 | ||
|
|
6481e6cbba | ||
|
|
c151a9676f | ||
|
|
dddc464bad | ||
|
|
b1bc954105 | ||
|
|
1ad5331ba9 |
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -184,7 +184,7 @@ namespace VEPROMS
|
|||||||
}
|
}
|
||||||
if (MyFolder != null)
|
if (MyFolder != null)
|
||||||
{
|
{
|
||||||
sfd.FileName = string.Format("{0}-{1}.expx", Database.ActiveDatabase, MyFolder.Name);
|
sfd.FileName = string.Format("{0}-{1}.expx", Database.ActiveDatabase, MyFolder.Name.Replace("/", "_").Replace("\\", "_"));
|
||||||
if (sfd.ShowDialog(this) == DialogResult.OK && sfd.FileName != string.Empty)
|
if (sfd.ShowDialog(this) == DialogResult.OK && sfd.FileName != string.Empty)
|
||||||
{
|
{
|
||||||
txtExport.Text = sfd.FileName;
|
txtExport.Text = sfd.FileName;
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
else if (si.ProcessID != this.ProcessID && objectType == CheckOutType.Document)
|
else if (si.ProcessID != this.ProcessID && objectType == CheckOutType.Document)
|
||||||
{
|
{
|
||||||
message = string.Format("The document {0} is already checked out to {1}", DocumentInfo.Get(objectID).DocumentEntries[0].MyContent.Text, si.UserID);
|
message = string.Format("The document {0} is already checked out to {1}", ItemInfo.ConvertToDisplayText(DocumentInfo.Get(objectID).DocumentEntries[0].MyContent.Text), si.UserID);
|
||||||
rv = rv && false;
|
rv = rv && false;
|
||||||
}
|
}
|
||||||
else if (si.ProcessID != this.ProcessID && objectType == CheckOutType.DocVersion)
|
else if (si.ProcessID != this.ProcessID && objectType == CheckOutType.DocVersion)
|
||||||
@@ -211,7 +211,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
message = message + string.Format("The procedure {0} is already checked out to {1}", name, si.UserID) + Environment.NewLine;
|
message = message + string.Format("The procedure {0} is already checked out to {1}", name, si.UserID) + Environment.NewLine;
|
||||||
}
|
}
|
||||||
else if (oi.OwnerType == 1)
|
else if (oi.OwnerType == 1)
|
||||||
message = message + string.Format("The document {0} is already checked out to {1}", DocumentInfo.Get(oi.OwnerItemID).DocumentEntries[0].MyContent.Text, si.UserID) + Environment.NewLine;
|
message = message + string.Format("The document {0} is already checked out to {1}", ItemInfo.ConvertToDisplayText(DocumentInfo.Get(oi.OwnerItemID).DocumentEntries[0].MyContent.Text), si.UserID) + Environment.NewLine;
|
||||||
else if (oi.OwnerType == 2)
|
else if (oi.OwnerType == 2)
|
||||||
message = message + string.Format("The working draft is already checked out to {0}", si.UserID);
|
message = message + string.Format("The working draft is already checked out to {0}", si.UserID);
|
||||||
rv = rv && false;
|
rv = rv && false;
|
||||||
@@ -234,7 +234,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
message = message + string.Format("The procedure {0} is already checked out to {1}", name, si.UserID) + Environment.NewLine;
|
message = message + string.Format("The procedure {0} is already checked out to {1}", name, si.UserID) + Environment.NewLine;
|
||||||
}
|
}
|
||||||
else if (oi.OwnerType == 1)
|
else if (oi.OwnerType == 1)
|
||||||
message = message + string.Format("The document {0} is already checked out to {1}", DocumentInfo.Get(oi.OwnerItemID).DocumentEntries[0].MyContent.Text, si.UserID) + Environment.NewLine;
|
message = message + string.Format("The document {0} is already checked out to {1}", ItemInfo.ConvertToDisplayText(DocumentInfo.Get(oi.OwnerItemID).DocumentEntries[0].MyContent.Text), si.UserID) + Environment.NewLine;
|
||||||
else if (oi.OwnerType == 2)
|
else if (oi.OwnerType == 2)
|
||||||
message = message + string.Format("The working draft is already checked out to {0}", si.UserID);
|
message = message + string.Format("The working draft is already checked out to {0}", si.UserID);
|
||||||
else if (oi.OwnerType == 3)
|
else if (oi.OwnerType == 3)
|
||||||
|
|||||||
@@ -162,18 +162,25 @@ namespace Volian.Print.Library
|
|||||||
//Width = 6 * (4 + origTab1.Trim(" ".ToCharArray()).Length);
|
//Width = 6 * (4 + origTab1.Trim(" ".ToCharArray()).Length);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Width = GetTextWidth(MyFont, (Text != null ? Text : origTab), symblFontName); //MyFont.CharsToTwips * (Text != null ? Text.Length : origTab.Length);
|
Width = GetTextWidth(MyFont, (Text != null ? Text : origTab), symblFontName);
|
||||||
|
|
||||||
// Pairie Island (NSP) Caution and Note tabs use a larger font
|
// Pairie Island (NSP) Caution and Note tabs use a larger font
|
||||||
// When using a bullet, we need to use the font size of the Caution/Note text instead of the tab.
|
// When using a bullet, we need to use the font size of the Caution/Note text instead of the tab.
|
||||||
// To do this we set the TabData.Bullet.Separate to true (currently - 4/26/2013 - only NSP uses this).
|
// To do this we set the TabData.Bullet.Separate to true (currently - 4/26/2013 - only NSP uses this).
|
||||||
// Because of the different font sizes, when the Caution/Note did have have a bullet, the positioning
|
// Because of the different font sizes, when the Caution/Note did have have a bullet, the positioning
|
||||||
// was off by the lenght of IdentB (the bullet string), thus the "alignAsIfBulleted" bool
|
// was off by the lenght of IdentB (the bullet string), thus the "alignAsIfBulleted" bool
|
||||||
|
// added check if there is previous or next, it must of the same step type to get the bullet
|
||||||
if ((myparent.MyItemInfo.FormatStepData != null) && myparent.MyItemInfo.FormatStepData.TabData.Bullet.Separate)
|
if ((myparent.MyItemInfo.FormatStepData != null) && myparent.MyItemInfo.FormatStepData.TabData.Bullet.Separate)
|
||||||
if (myparent.MyItemInfo.MyPrevious != null || myparent.MyItemInfo.NextItem != null)
|
{
|
||||||
|
// F2026-023 Farley, when there was a single Note and single Caution off of the same step, the Note was still getting a bullet.
|
||||||
|
if ((myparent.MyItemInfo.MyPrevious != null && (myparent.MyItemInfo.MyPrevious.FormatStepType == myparent.MyItemInfo.FormatStepType)) ||
|
||||||
|
(myparent.MyItemInfo.NextItem != null && (myparent.MyItemInfo.NextItem.FormatStepType == myparent.MyItemInfo.FormatStepType)))
|
||||||
|
{
|
||||||
SeparateBullet = true;
|
SeparateBullet = true;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
alignAsIfBulleted = true;
|
alignAsIfBulleted = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (origTab.Contains(@"{!"))
|
if (origTab.Contains(@"{!"))
|
||||||
{
|
{
|
||||||
|
|||||||
-12769
File diff suppressed because it is too large.
Load diff
-4
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Whitespace-only changes.
-1
@@ -1 +0,0 @@
|
|||||||
246d3ad250f340ad54f0151601c03d29dea49063
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\bin\Debug\W2PGrid.dll
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\bin\Debug\W2PGrid.pdb
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\bin\Debug\W2PGrid.tlb
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\bin\Debug\C1.Win.C1FlexGrid.2.dll
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\bin\Debug\C1.Win.C1FlexGrid.2.xml
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.csproj.CoreCompileInputs.cache
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.csproj.CopyComplete
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.dll
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.pdb
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.dll.licenses
|
|
||||||
C:\Users\Jeff.VLN\source\repos\W2PGrid\W2PGrid\obj\Debug\W2PGrid.csprojAssemblyReference.cache
|
|
||||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user