private Phrase CreatePhrase(FileSpan span) { Phrase phrase; if (string.IsNullOrEmpty(span.Content)) { phrase = new Phrase(); phrase.Font = this.GetFont(span.FontName, span.FontSize, span.Color, span.FontStyle); } else { phrase = new Phrase(span.Content, this.GetFont(span.FontName, span.FontSize, span.Color, span.FontStyle)); } this.SetPropertyFloat(span.Height, (height) => { phrase.Leading = height; }); return(phrase); }
internal MemberProperty(string name, FileSpan loc, ISyntaxEntity parent, CodeFile currentCodeFile) : base(name, loc, parent, currentCodeFile) { }
public InheritableUserDefinedType(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile) { m_baseClasses = new List <string>(); }
public EnumDefinition(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile) { m_enumMembers = new List <string>(); }
public ElseBlock(string typeName, FileSpan fileLocation, ISyntaxEntity parent, CodeFile currentCodeFile) : base(typeName, fileLocation, parent, currentCodeFile) { }
public ClassDefinition(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile) { }
public Comment(string text, FileSpan span, ISyntaxEntity belongsTo, CodeFile currentCodeFile) : base(text, span, belongsTo, currentCodeFile) { }
public NamespaceDefinition(string typeName, FileSpan fileLocation, ISyntaxEntity parent, CodeFile currentCodeFile) : base(typeName, fileLocation, parent, currentCodeFile) { }
protected Variable(string name, FileSpan location, ISyntaxEntity parent, CodeFile currentCodeFile) : base(name, location, parent, currentCodeFile) { }
public UserDefinedType(string text, FileSpan fileSpan, ISyntaxEntity parent, CodeFile currentCodeFile) : base(text, fileSpan, parent, currentCodeFile) { }