Inherited Cell Option Values
- To: mathgroup at smc.vnet.net
- Subject: [mg35321] Inherited Cell Option Values
- From: Selwyn Hollis <slhollis at earthlink.net>
- Date: Mon, 8 Jul 2002 03:17:15 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello MathGroupers,
I'm trying to create some ButtonFunctions that modify cell margins. I
have something that works very well, so long as the CellMargins option
appears explicity in every cell---as, e.g., in
Cell["abc","Text", CellMargins->{{10,0},{0,6}}].
But with something like Cell["abc","Text"] or Cell["abc","Text",
CellMargins->{{Inherited,Inherited},{0,Inherited}}],
I'm stuck. The only thing I can think of is to provide the default
values from the style sheet ``manually."
Is it possible to determine the value of an inherited cell option? If
one could somehow force inherited cell options to appear explicitly,
that would provide a solution. Any ideas?
Thanks in advance,
Selwyn Hollis
slhollis at mac.com
http://www.armstrong.edu/faculty/hollis