Changeset 5854
- Timestamp:
- Mar 6, 2020, 3:38:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi/servlet/ReferralGeneratorServlet.java
r5744 r5854 2043 2043 materialNumber = ""; 2044 2044 } 2045 String combinedPadMaterialNumber = pad + "_" + materialNumber; 2045 2046 System.out.println("ReferralGeneratorServlet::createFfpeSectionOrderForm(): i = " + i + " materialNumber = " + materialNumber + " pad = " + pad); 2046 2047 String yellowLabel = (String) Annotationtype.YELLOW_LABEL.getAnnotationValue(dc, manager, ffpeBlock.getSample()); … … 2058 2059 float height = 16.0f; 2059 2060 2061 /* 2060 2062 // Barcode with PAD number at upper left 2061 2063 text = pad; … … 2066 2068 2067 2069 // PAD number below bar code at upper left 2070 float xTextUpperLeft = xBarcodeUpperLeft; 2071 float yTextUpperLeft = yBarcodeUpperLeft - 10.0f; 2072 pdfUtil.addBoldText(text, textFontSize, align, xTextUpperLeft, yTextUpperLeft); 2073 */ 2074 2075 // Barcode with combined PAD/Material number at upper left 2076 text = combinedPadMaterialNumber; 2077 float xBarcodeUpperLeft = 120.0f; 2078 float yBarcodeUpperLeft = yBarcodeUpperRight; 2079 align = Element.ALIGN_LEFT; 2080 pdfUtil.addBarcode(text, xBarcodeUpperLeft, yBarcodeUpperLeft, width, height, align); 2081 2082 // Combined PAD/Material number below bar code at upper left 2068 2083 float xTextUpperLeft = xBarcodeUpperLeft; 2069 2084 float yTextUpperLeft = yBarcodeUpperLeft - 10.0f;
Note: See TracChangeset
for help on using the changeset viewer.