![]() | InDesign SDK 20.5 |
#include <IRubyStyle.h>

Public Types | |
| enum | { kDefaultIID = IID_IRUBYSTYLE } |
| enum | RubyKind { kRubyKind_Group = 0, kRubyKind_Mono } |
| enum | RubyPosition { kRubyPosition_TopRight = 0, kRubyPosition_BottomLeft } |
| enum | RubyOverHang { kRubyOverHang_None = 0, kRubyOverHang_OneRuby, kRubyOverHang_HalfRuby, kRubyOverHang_OneChar, kRubyOverHang_HalfChar, kRubyOverHang_NoLimit } |
| enum | RubyAdjustParent { kRubyAdjustParent_None = 0, kRubyAdjustParent_BothSide, kRubyAdjustParent_Mojikumi, kRubyAdjustParent_EqualAki, kRubyAdjustParent_Justify } |
| enum | RubyAlign { kRubyAlign_Left = 0, kRubyAlign_Center, kRubyAlign_Right, kRubyAlign_Justify, kRubyAlign_JISRule, kRubyAlign_EqualSpace, kRubyAlign_EdgeOneRuby } |
Public Member Functions | |
| virtual void | SetRubyFlag (bool16 flag)=0 |
| virtual bool16 | GetRubyFlag () const =0 |
| virtual void | SetRubyString (const WideString &str)=0 |
| virtual const WideString & | GetRubyString () const =0 |
| virtual void | SetRubyKind (RubyKind kind)=0 |
| virtual RubyKind | GetRubyKind () const =0 |
| virtual void | SetRubyPosition (RubyPosition flag)=0 |
| virtual RubyPosition | GetRubyPosition () const =0 |
| virtual void | SetRubyContinued (bool16 flag)=0 |
| virtual bool16 | GetRubyContinued () const =0 |
| virtual void | SetRubyOverHangFlag (bool16 flag)=0 |
| virtual bool16 | GetRubyOverHangFlag () const =0 |
| virtual void | SetRubyOverHang (RubyOverHang hang)=0 |
| virtual RubyOverHang | GetRubyOverHang () const =0 |
| virtual void | SetRubyAutoScaling (bool16 flag)=0 |
| virtual bool16 | GetRubyAutoScaling () const =0 |
| virtual void | SetRubyAutoScaleMinimum (PMReal min)=0 |
| virtual PMReal | GetRubyAutoScaleMinimum () const =0 |
| virtual void | SetRubyAdjustParent (RubyAdjustParent adjust)=0 |
| virtual RubyAdjustParent | GetRubyAdjustParent () const =0 |
| virtual void | SetRubyEdgeAdjustment (bool16 flag)=0 |
| virtual bool16 | GetRubyEdgeAdjustment () const =0 |
| virtual void | SetRubyAlignment (RubyAlign align)=0 |
| virtual RubyAlign | GetRubyAlignment () const =0 |
| virtual void | SetRubyXOffset (PMReal r)=0 |
| virtual PMReal | GetRubyXOffset () const =0 |
| virtual void | SetRubyYOffset (PMReal r)=0 |
| virtual PMReal | GetRubyYOffset () const =0 |
| virtual void | SetRubyFontUID (UID u)=0 |
| virtual UID | GetRubyFontUID () const =0 |
| virtual void | SetRubyFontStyleName (const PMString &name)=0 |
| virtual const PMString & | GetRubyFontStyleName () const =0 |
| virtual void | SetRubyFontSize (PMReal p)=0 |
| virtual PMReal | GetRubyFontSize () const =0 |
| virtual void | SetRubyRelativeSize (PMReal p)=0 |
| virtual PMReal | GetRubyRelativeSize () const =0 |
| virtual void | SetRubyXScale (PMReal scale)=0 |
| virtual PMReal | GetRubyXScale () const =0 |
| virtual void | SetRubyYScale (PMReal scale)=0 |
| virtual PMReal | GetRubyYScale () const =0 |
| virtual void | SetRubyColorUID (UID u)=0 |
| virtual UID | GetRubyColorUID () const =0 |
| virtual UID | GetColorUID (bool16 stroke) const =0 |
| virtual void | SetColorUID (bool16 stroke, UID newColor)=0 |
| virtual void | SetTint (bool16 stroke, PMReal tint)=0 |
| virtual PMReal | GetTint (bool16 stroke) const =0 |
| virtual void | SetOverprint (bool16 stroke, bool16 over)=0 |
| virtual bool16 | GetOverprint (bool16 stroke) const =0 |
| virtual bool16 | IsOutlined () const =0 |
| virtual void | SetOutlineWidth (PMReal width)=0 |
| virtual PMReal | GetOutlineWidth () const =0 |
| virtual void | SetUseOTRubyGlyphs (bool16 use)=0 |
| virtual bool16 | GetUseOTRubyGlyphs () const =0 |
| virtual void | SetAutoTCYNumDigits (int16 num)=0 |
| virtual int16 | GetAutoTCYNumDigits () const =0 |
| virtual void | SetAutoTCYIncludeRoman (bool16 b)=0 |
| virtual bool16 | GetAutoTCYIncludeRoman () const =0 |
| virtual void | SetAutoTCYAutoScale (bool16 b)=0 |
| virtual bool16 | GetAutoTCYAutoScale () const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IRubyStyle is the primary interface of character attributes for ruby summary data.
RubyAdjustParent
RubyAlign
| enum IRubyStyle::RubyKind |
RubyKind
RubyOverHang
RubyPosition
| pure virtual |
Get whether or not the TCY of ruby text will automatically be scaled.
| pure virtual |
Get whether or not the TCY of ruby text should include non-digit roman characters.
| pure virtual |
Get the maximum number of digits at which TCY will occur.
| pure virtual |
Get the color of the ruby text for the given stroke.
| stroke | if kTrue, the stroke color, else the fill color. |
| pure virtual |
Get the outline width.
| pure virtual |
Get whether or not the ruby text will overprint.
| stroke | if kTrue, the stroke color, else the fill color. |
| pure virtual |
Get whether Ruby will adjust spacing before/after and between parent characters and by how much.
| pure virtual |
Get the Ruby Alignment
| pure virtual |
Get the minimum amount of scaling that will occur.
| pure virtual |
Get whether Ruby text will scale or not
| pure virtual |
Get the color of the ruby text (the fill color).
| pure virtual |
Get whether or not Ruby is continued. kTrue when style is not on the first base text character.
| pure virtual |
Get whether Ruby will change the position of the base text when it's on the edge of a line or adjacent to some specific characters/attributes.
| pure virtual |
Get whether Ruby is on/off
| pure virtual |
Get the size of the ruby text
| pure virtual |
Get the Font Style name to be used for Ruby text
| pure virtual |
Get the font to be used for Ruby text.
| pure virtual |
Get the Ruby kind
| pure virtual |
Get whether Ruby will over hang and by how much
| pure virtual |
Get whether Ruby will overhang or not
| pure virtual |
Get the Ruby position
| pure virtual |
Get the relative size of the ruby text.
| pure virtual |
Get the Ruby string - this is the text that will appear as ruby
| pure virtual |
Get the offset of the ruby text in the X-direction
| pure virtual |
Get the scaling of the ruby text in the X-direction
| pure virtual |
Get the offset of the ruby text in the Y-direction
| pure virtual |
Get the scaling of the ruby text in the Y-direction
| pure virtual |
Get the tint of the ruby text.
| stroke | if kTrue, the stroke color, else the fill color. |
| pure virtual |
Get whether or not the ruby text will use OpenType glyphs.
| pure virtual |
Get whether or not the ruby text will outline.
| pure virtual |
Set whether or not the TCY of ruby text will automatically be scaled.
| the | attribute. |
| pure virtual |
Set whether or not the TCY of ruby text should include non-digit roman characters.
| the | attribute. |
| pure virtual |
Set the maximum number of digits at which TCY will occur.
| the | attribute. |
| pure virtual |
Set the color of the ruby text for the given stroke.
| stroke | if kTrue, the stroke color, else the fill color. |
| the | attribute. |
| pure virtual |
Set the outline width.
| the | attribute. |
| pure virtual |
Set whether or not the ruby text will overprint.
| stroke | if kTrue, the stroke color, else the fill color. |
| the | attribute. |
| pure virtual |
Set whether Ruby will adjust spacing before/after and between parent characters and by how much.
| the | attribute. |
| pure virtual |
Set the Ruby Alignment
| the | attribute. |
| pure virtual |
Set the minimum amount of scaling that will occur.
| the | attribute. |
| pure virtual |
Set whether Ruby text will scale or not
| the | attribute. |
| pure virtual |
Set the color of the ruby text (the fill color).
| the | attribute. |
| pure virtual |
Set whether or not Ruby is continued. kTrue when style is not on the first base text character.
| the | attribute. |
| pure virtual |
Set whether Ruby will change the position of the base text when it's on the edge of a line or adjacent to some specific characters/attributes.
| the | attribute. |
| pure virtual |
Set whether Ruby is on/off
| the | attribute. |
| pure virtual |
Set the size of the ruby text
| the | attribute. |
| pure virtual |
Set the Font Style name to be used for Ruby text
| the | attribute. |
| pure virtual |
Set the font to be used for Ruby text.
| the | attribute. |
| pure virtual |
Set the Ruby kind
| the | attribute. |
| pure virtual |
Set whether Ruby will over hang and by how much
| the | attribute. |
| pure virtual |
Set whether Ruby will overhang or not
| the | attribute. |
| pure virtual |
Set the Ruby position
| the | attribute. |
| pure virtual |
Set the relative size of the ruby text.
| the | attribute. |
| pure virtual |
Set the Ruby string - this is the text that will appear as ruby
| the | attribute. |
| pure virtual |
Set the offset of the ruby text in the X-direction
| the | attribute. |
| pure virtual |
Set the scaling of the ruby text in the X-direction
| the | attribute. |
| pure virtual |
Set the offset of the ruby text in the Y-direction
| the | attribute. |
| pure virtual |
Set the scaling of the ruby text in the Y-direction
| the | attribute. |
| pure virtual |
Set the tint of the ruby text.
| stroke | if kTrue, the stroke color, else the fill color. |
| the | attribute. |
| pure virtual |
Set whether or not the ruby text will use OpenType glyphs.
| the | attribute. |