Skip to main content
Inspiring
January 31, 2025
Question

Can we create an Object Style for a Text Frame with a rule only along specific sides of the Frame?

  • January 31, 2025
  • 8 replies
  • 1850 views

That's the whole question 🙂

I'm looking into trying a few things with a single-cell table, but it's missing most of the controls needed.
Thx.

8 replies

FRIdNGE
February 1, 2025

Sure as Dave wrote use paragraph borders and shading seems to be so simplistic to play (even if different para styles):

 

 

(^/)  The Jedi

 

Robert at ID-Tasker
Legend
February 1, 2025

@FRIdNGE 

 

So which style controls the line? 

 

Can you share your document? 

 

FRIdNGE
February 1, 2025

All of course!

 

(^/)

turner111Author
Inspiring
February 1, 2025

Yeah, I kind of want to avoid effects. I'll have maybe a hundred of these.

Robert at ID-Tasker
Legend
February 1, 2025
quote

Yeah, I kind of want to avoid effects. I'll have maybe a hundred of these.


By @turner111

 

Just one outside shadow shouldn't be a problem. 

 

I think the inner one - because of the text - kills it 😞 

 

turner111Author
Inspiring
February 1, 2025

Interesting - even with no horizontal offset, the shadow appears to the left.

 

Robert at ID-Tasker
Legend
February 1, 2025

@turner111

 

You could play with a shadow - make it hard... 

 

Robert at ID-Tasker
Legend
February 1, 2025

 

 

The only drawback - a little bit of "outer glow" on the side:

 

Robert at ID-Tasker
Legend
February 1, 2025

But can be mitigated, if you apply Drop Shadow to FILL:

and set 0.25pt stroke with the same color as fill - in this case Yellow.

 

turner111Author
Inspiring
February 1, 2025

Thanks all - this may help; essentially, what I need are text frames so that I can use any/all "standard stuff" I'd normally use when working with them, including various styles within. The frames will contain a long continuous document which needs to flow normally as well, including into and through frames with multiple columns.

 

I don't think any of the current suggestions would allow me to lay this out seamlessly.

 

Obviously, it would be great if we could designate this like we can with a table cell... 🙂

 

Robert at ID-Tasker
Legend
February 1, 2025

@turner111

 

Yeah, not with available methods - but can be scripted in a few different ways.

 

Dave Creamer of IDEAS
Community Expert
Community Expert
February 1, 2025

You could fake the look with paragraph borders and shading. The Object style could set the (minimum) size of the text frame.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Community Expert
February 1, 2025

@Dave Creamer of IDEAS  beat me to it - Paragraph Shading/Borders is what you're after.

Robert at ID-Tasker
Legend
February 1, 2025

But how can it be done - in case when there are multiple paragraphs with different ParaStyles applied?

 

Barb Binder
Community Expert
Community Expert
January 31, 2025

Hi @turner111:

 

How about a 2-cell table with a table style? That would give you 1-click formatting, and then you could adjust the top cell height either manually or by adding content. I'm curious what a table is "missing most of the controls needed" means though. 

 

~Barb

 

~Barb at Rocky Mountain Training
Robert at ID-Tasker
Legend
January 31, 2025

@turner111 

 

If you create Table - cells can't be split between TextFrames / pages. 

 

What exactly is your end goal? 

 

Will those TextFrames be always in the same place and have the same size? 

 

Mike Witherell
Community Expert
Community Expert
January 31, 2025

One frame cannot have only one side of the rectangle defined with a stroke. A stroke would apply to four sides. Have you considered using a table? Have you considered using nested frames? Or simply grouping?

Mike Witherell