

I'm going to choose Caption which is a paragraph style that I already created inside this document. I'll do that by clicking on Paragraph Styles on the list on the left and then choosing a paragraph style from this pop-up menu. I could even assign a paragraph style to any text inside this frame. Right now it's set to have a one point black stroke and I don't want that, so I'm going to set this to None. Again, there are many other things that I could change inside this frame, for example, I could specify it's fill or the stroke of the frame.

And, this is important, I'm going to turn on the Minimum Height check-box and I'm going to specify the minimum height to be the height I want for my text frame. That means this frame will only grow from the top down. Next, I'll click on this Lock to Top icon at the top of this little grid of icons.

The next thing I'm going to do is click on Text Frame Auto Size Options over here in this list on the left and I'm going to change the Auto Sizing pop-up menu to Height Only. I'm comfortable with picas, so that's what I'm using here. You could use millimeters, or inches, or centimeters, whatever you want. I'm telling InDesign that I want this text frame to have one column and the width should be exactly 15 picas. I'm going to change the Columns pop-up menu from Fixed Number to Fixed Width. So I'll click that in this list on the left. First, I'm going to go to the Text Frame General Options pane. Now, there are a lot of things that you can change inside this dialog box but I'm going to focus on just a couple of them. In here, I'm going to choose New Object Style. In the Object Styles panel I'll click in the little menu in the upper right corner. You can do that up here in the Application bar. If you don't see Object Styles in your dock, you might need to change to a different workspace. I have a blank document open here and I'm going to open the Object Styles panel over here in the dock.

There's no way to do this for graphic frames but if you're tricky you can sort of do it for text frames because text frames have certain formatting options that make it possible. If (link.linkType = "TIFF" || link.- When it comes to making object styles, one of the most common InDesign questions that I hear is can you make an object style that specifies a width and height. Var link, image, container, clippingPath,
#OBJECT STYLES INDESIGN CC 2015 MAC#
Here's a quick & dirty script I wrote for about 5 minutes in CC 2015 on Mac (untested in other versions/on PC):Īpp.doScript(PreCheck, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "\"" + scriptName + "\" Script") Reading out the pixel dimensions of drawing pixels from PhotoShop together with the offset from the image that has the dimensions of the frame where we started from in InDesign.
#OBJECT STYLES INDESIGN CC 2015 PDF#
Possibly a high-res rendered frame in grayscale exported as PDF and rendered with PhotoShop would be sufficient. That does not necessarily mean that one has to open the original placed TIFF or PhotoShop file in PhotoShop. The rectangle (dims and position) that you get for all drawing pixels of just the image in x/y parallel to the page borders. One would need PhotoShop to calculate the exact dimensions. Using this to fit the box, then disabling the true/false-bossing and using the alphamask again.īut it is only pixel-perfect doable by cross-scripting InDesign with PhotoShop.ĭoing a clipping path as a helper-element from an Alpha Mask is far from perfect. Only if theres a simulation of the real alpha by the clippingpath. But an alphamask is not true or false, so InDesign cant fit that box. I want to allign/arrange that imagebox, so the content has to be the dimension of the box. DBLjan wrote:… I place a file, importing with a alpha-mask.
