update 20250501
This commit is contained in:
@@ -546,8 +546,14 @@ namespace DOCGEN.Klassen
|
||||
if (document.ProtectionType == ProtectionType.NoProtection)
|
||||
{
|
||||
WParagraph paragraph = document.Sections[0].Paragraphs[0] as WParagraph;
|
||||
//BookmarkStart bookmarkStart = new BookmarkStart(document, dm.BookMark);
|
||||
//paragraph.Items.Insert(0, bookmarkStart);
|
||||
|
||||
BookmarkStart bookmarkStart = new BookmarkStart(document, dm.BookMark);
|
||||
BookmarkEnd bookmarkEnd = new BookmarkEnd(document, dm.BookMark);
|
||||
paragraph.Items.Insert(0, bookmarkStart);
|
||||
paragraph.Items.Insert(2, bookmarkEnd);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -901,11 +907,13 @@ namespace DOCGEN.Klassen
|
||||
if (docData.barcode_horizontal == 0)
|
||||
{
|
||||
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8,270);
|
||||
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 429, 52, docData.barcode_zusatz, "Futur Book", 8, 270);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 300, 50, docData.barcode_zusatz, "Futur Book", 8, 0);
|
||||
//barcodeimage = barbarcode.GetBarI25(Color.Black, Color.White, docData.Dokumentid.Substring(6, 16), "Bar 25i c HR", 33, 429, 52, docData.barcode_zusatz, "Futur Book", 8, 0);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user