Skip to main content
Inspiring
Jan 31, 2025 3:39 PM UTC
Question

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

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.

36 replies

FRIdNGE
Feb 1, 2025 11:30 PM UTC

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

 

 

(^/)  The Jedi

 

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 11:33 PM UTC

@FRIdNGE 

 

So which style controls the line? 

 

Can you share your document? 

 

Translate
FRIdNGE
Feb 1, 2025 11:36 PM UTC

All of course!

 

(^/)

Translate
turner111Author
Inspiring
Feb 1, 2025 7:05 PM UTC

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

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 7:08 PM UTC
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 😞 

 

Translate
turner111Author
Inspiring
Feb 1, 2025 7:25 PM UTC

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

 

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 6:23 PM UTC

@turner111

 

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

 

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 6:33 PM UTC

 

 

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

 

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 6:37 PM UTC

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.

 

Translate
turner111Author
Inspiring
Feb 1, 2025 5:15 PM UTC

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... 🙂

 

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 5:21 PM UTC

@turner111

 

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

 

Translate
Dave Creamer of IDEAS
Community Expert
Community Expert
Feb 1, 2025 1:40 AM UTC

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

Translate
David Creamer: Community Expert (ACI and ACE 1995-2023)
Community Expert
Feb 1, 2025 11:21 AM UTC

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

Translate
Robert at ID-Tasker
Legend
Feb 1, 2025 12:53 PM UTC

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

 

Translate
Barb Binder
Community Expert
Community Expert
Jan 31, 2025 7:03 PM UTC

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

 

Translate
~Barb at Rocky Mountain Training
Robert at ID-Tasker
Legend
Jan 31, 2025 6:31 PM UTC

@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? 

 

Translate
Mike Witherell
Community Expert
Community Expert
Jan 31, 2025 3:59 PM UTC

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?

Translate
Mike Witherell