Example #1
0
 /**
  * Copy constructor for <CODE>Phrase</CODE>.
  */
 public Phrase(Phrase phrase) : base()
 {
     this.AddAll(phrase);
     SetLeading(phrase.Leading, phrase.MultipliedLeading);
     font        = phrase.Font;
     tabSettings = phrase.TabSettings;
     hyphenation = phrase.hyphenation;
 }
Example #2
0
 public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings)
 {
     if (tabSettings != null)
     {
         return(tabSettings.GetTabStopNewInstance(currentPosition));
     }
     return(TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL));
 }
Example #3
0
 /**
  * Copy constructor for <CODE>Phrase</CODE>.
  */
 public Phrase(Phrase phrase) : base()
 {
     this.AddAll(phrase);
     leading     = phrase.Leading;
     font        = phrase.Font;
     tabSettings = phrase.TabSettings;
     hyphenation = phrase.hyphenation;
 }
Example #4
0
 public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings)
 {
     if (tabSettings != null)
         return tabSettings.GetTabStopNewInstance(currentPosition);
     return TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL);
 }