Hi I am trying to extract a specific line from a pdf file, to get af value.
I don’t know where exactly the line to extract is. But the lines starts with a specific word (TAG)
I use the create metadata - > Add a specific text position to the metadata.
This finds a specific word and gives med the x and y position for it.
In this case the y position on the A4 page is 19309 - Which unit is that ?
After that I could use Set Job Info and Variables to extract the specific line.
region(1,0.76041,7.57291,4.01041,7.75,KeepCase,NoTrim) - Believe these units are in inches - I thing
Just need the calculation between x,y position to inch ?
I don’t understand where you get this 19309 value from. Could you provide a bit more information?
The user guide reads that region is in inches.
I think he meant 19.309 or 1.9309 horizontal/vertical position. Will have to wait and see.
I use this to get the x and y postion.
GetMeta(X_AFBUD[0], 10, Job.Group[0].Document[0].Datapage[0])
GetMeta(Y_AFBUD[0], 10, Job.Group[0].Document[0].Datapage[0])
This gives med the values (X, Y) 2106 , 19309
But what does 2106 refer to pixex, inchels/100 or ?
Uhm… how did those fields (X_AFBUD and Y_AFBUD) come to be in your metadata? Because those are not native fields, so they had to be added by someone/something.
Via the Component: “Add a specific text position to the metadata”.
This plugin can add extra fields into the metadata such as a specific position for at word.
I am not familiar with that plugin, it’s not part of the standard distribution of Workflow. Could it be something that was developed in-house or provided by your vendor? Could you take a screenshot and post it here?
Think you are right, this is not a standard plugin. The installation was made by OL - Think they installed it.
Will proberly have address the question to them then. They developed it.
Well judging from that screenshot, I’d guess the units of measure are 1/100 mm, which means your 19309 value would be 193.09 millimetres, which would correspond to 7.6 inches (193.09 / 25.4 = 7.6).