-
Posts
135 -
Joined
Posts posted by Hadrian
-
-
I took a screen capture (attached) with the x,y, width and height that the original or static text frame has. I then took those values in inches and plugged them into a record. I also took off the rotation angle object from the OnRecordStart. By all accounts the alignment of the more slender text frame should be aligned exactly on top of the static or original text frame similar to the larger text frame. The only difference is obviously the rotation but the values are the exact and it is still throwing it off. Are you saying i need to create some type of offset value?
-
Just noticed that this is wrong and it was corrected but i still get the frame out of place
tag_frame.x.rotationAngle = 270;
-
Noticed that the API gave one the ability to rotate text frames as well. I have been using the x,y, width and height successfully with a correct preview in the desktop environment as well. I am using an external database for the values (in inches) as the template has different attributes for the 2 frames being referenced. Once when I add the rotation value I get the frame completely off where it should be. If I take the rotation off the preview is correctly aligned. I attached a screen shot of where the frame X is 2.99 and the Y is 3 and its pretty far off. Any help from anyone familiar with my dilemma would be greatly appreciated.
below is the js sample of what i am using
tag_frame.x = BrochureXDF.GetFieldValue(fschool, "tag x")*7200;
tag_frame.y = BrochureXDF.GetFieldValue(fschool, "tag y")*7200;
tag_frame.width = BrochureXDF.GetFieldValue(fschool, "tag w")*7200;
tag_frame.height = BrochureXDF.GetFieldValue(fschool, "tag h")*7200;
dtp_frame.x = BrochureXDF.GetFieldValue(fschool, "dtp x")*7200;
dtp_frame.y = BrochureXDF.GetFieldValue(fschool, "dtp y")*7200;
dtp_frame.width = BrochureXDF.GetFieldValue(fschool, "dtp w")*7200;
dtp_frame.height = BrochureXDF.GetFieldValue(fschool, "dtp h")*7200;
tag_frame.x.rotationAngle = 270;
-
@IndexxPrep
Ok I got it. I am going to use a combo as well. I appreciate it.
-
Anyone figure out the centering issue or glitch with this type of inline usage?
-
Does the iForms Dynamic Pricing work on "Static w Attributes" catalog products?
-
thanks Dan. Did not have the repeatRecordcount in the OnRecordStart. I was wondering where that came into play. I now understand the logic of combining both objects.
-
thought so too but i am only getting the first record or padded number ("0001") per file. i am using a full version of FP8 and made sure the records were no duplicates.
-
I think i forgot to mention that i intended to use this in order to create a sequenced set of tickets
example
NY 3000 number padded pieces in one file "0001", "0002", etc.
I am only getting one record or padded record per file
i was using this to number the pieces
return FormatNumber("0000", 1 + FusionPro.Composition.repeatRecordNumber - 1);
-
I have a database that has specific quantities to output per store that I want placed in one PDF per store.
Store Sticker Qty
NY 3000
CA 2500
NV 3000
TX 4000
OR 2900
FLA 1500
I know i have to use repeat record count
FusionPro.Composition.repeatRecordCount = Field("Sticker Qty");
and OnNewOutputfile
FusionPro.Composition.outputFileName = Field("Store") + ".pdf";
How do i get FP to output say all of the 3000 for the NY store to one pdf file and the 2500 for the CA store to another. I know that i can compose to multiple files but that asks for specific quantities per record. I am assuming i need to have FP know the start and stop per record and move to the next record. My question is what callback do i use when using repeatrecord?
-
Is PTI working on the CS6 and Mountain Lion update?
-
I think you are in the wrong thread but i do not think what you are proposing is possible if this is a MarcomCentral question.
-
Is there a way to create and apply a text frame color that is not in the color library? For example, dynamically create C=43 M=43 Y=0 K=0 based on a text field entry or say an image file that is named "043-043-000-000.jpg".
I know i would need to use something similar to the code below but that is referencing a color in the library. Is there a color value tag i can use?
theBox = FindTextFrame("box"); theBox.fillColorName = "Red"
Frame Rotation Angle
in FusionPro® VDP Creator
Posted