Relative Positioning of Report Object

Suggestions for new functionality in NiceLabel. Do you want some feature but can't find it in the NiceLabel software? Post your wish here. Note: This is not a support forum.

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
dmitchell
Newcomer
Posts: 3
Joined: Tue Jun 08, 2021 4:12 pm

Relative Positioning of Report Object

Post by dmitchell » Fri Jun 11, 2021 7:55 pm

For consistency and total layout flexibility, could relative positioning be available for Report objects, as occurs with (all?) other object types?
Thanks!

O.D
NiceLabel Development
NiceLabel Development
Posts: 7
Joined: Sat Aug 11, 2012 5:52 pm

Re: Relative Positioning of Report Object

Post by O.D » Mon Jun 14, 2021 10:40 am

Hello Mitchell,

When we designed the Report object, we assumed that most usages will be to print out what is called "Delivery notes" which are usually printed on A3 or A4 page and the Reports object will take all the available space on that page.

Why would you relate the position of the Reports objects to another object? Do you need to add variable size elements before the report objects? Can you tell us more about the specific use of the Reports in your labels. We would like to hear more from you.

Regards,
Omar
Omar Dalgamuni
User Experience Manager at NiceLabel

dmitchell
Newcomer
Posts: 3
Joined: Tue Jun 08, 2021 4:12 pm

Re: Relative Positioning of Report Object

Post by dmitchell » Mon Jun 21, 2021 10:03 pm

Hi Omar;
Sorry for the delay in responding - I didn't have notifications set up optimally! Fixed now.
I am using a report for a much smaller use case, where the multiple row capability works well with my XML code. And yes, there is variable sized content above and below the report.

Here's a sample of the XML code:

Code: Select all

<Nutrients>
		<Analyticals-EN-US>
			<Analytical>
				<NutrientCode>10</NutrientCode>
				<NutrientDeclaration>Crude Protein</NutrientDeclaration>
				<NutrientUnit>%</NutrientUnit>
				<NutrientValue/>
				<NutrientMinGuaranteed>6.0</NutrientMinGuaranteed>
				<NutrientMaxGuaranteed/>
			</Analytical>
			<Analytical>
				<NutrientCode>25</NutrientCode>
				<NutrientDeclaration>Crude Fat</NutrientDeclaration>
				<NutrientUnit>%</NutrientUnit>
				<NutrientValue/>
				<NutrientMinGuaranteed>1.6</NutrientMinGuaranteed>
				<NutrientMaxGuaranteed/>
			</Analytical>
			<Analytical>
				<NutrientCode>27</NutrientCode>
				<NutrientDeclaration>Crude Fibre</NutrientDeclaration>
				<NutrientUnit>%</NutrientUnit>
				<NutrientValue/>
				<NutrientMinGuaranteed/>
				<NutrientMaxGuaranteed>1.9</NutrientMaxGuaranteed>
			</Analytical>
			<Analytical>
				<NutrientCode>30</NutrientCode>
				<NutrientDeclaration>Calcium</NutrientDeclaration>
				<NutrientUnit>%</NutrientUnit>
				<NutrientValue>0.04</NutrientValue>
				<NutrientMinGuaranteed/>
				<NutrientMaxGuaranteed/>
			</Analytical>
This is transformed into a format similar to this, formatted with columnar data for min, max, and actual:
Crude Protein(min) 18.0%
Crude Fat(min) 3.5%
Crude Fibre(max) 4.0%
Calcium (act) 1.00%
Phosphorus(act) 0.65%
Let me know if you have any other questions.
Doug (or Mitchell, either works!)

Post Reply