public string Format(Cell cell, IExtendedLatexFeaturesModel featuresModel, Cell firstRowCell) { var formattedCellValue = cell.Text; if (featuresModel.UseColors) { formattedCellValue = ColorizeTextInCell(cell, formattedCellValue); formattedCellValue = ColorizeCellBackground(cell, formattedCellValue); } formattedCellValue = EmphasiseCellValue(cell, formattedCellValue); formattedCellValue = JustifyCellValue(cell, featuresModel.AutoJustify, featuresModel.UseBorders, firstRowCell, formattedCellValue); // TODO: some more formatting - keep reihenfolge in mind (for LaTeX) return(formattedCellValue); }
public string Format(Cell cell, IExtendedLatexFeaturesModel featuresModel, Cell firstRowCell) { var formattedCellValue = cell.Text; if (featuresModel.UseColors) { formattedCellValue = ColorizeTextInCell(cell, formattedCellValue); formattedCellValue = ColorizeCellBackground(cell, formattedCellValue); } formattedCellValue = EmphasiseCellValue(cell, formattedCellValue); formattedCellValue = JustifyCellValue(cell, featuresModel.AutoJustify, featuresModel.UseBorders, firstRowCell, formattedCellValue); // TODO: some more formatting - keep reihenfolge in mind (for LaTeX) return formattedCellValue; }
internal LatexConverter(IExtendedLatexFeaturesModel extendedFeatures) { _cellFormatter = new AllStylesCellFormatter(); _extendedFeatures = extendedFeatures; }
public string Format(Cell cell, IExtendedLatexFeaturesModel featuresModel, Cell firstRowCell) { return(cell.Text); }
internal LatexConverter(IExtendedLatexFeaturesModel extendedFeatures) { _cellFormatter = new AllStylesCellFormatter(); _extendedFeatures = extendedFeatures; }
public string Format(Cell cell, IExtendedLatexFeaturesModel featuresModel, Cell firstRowCell) { return cell.Text; }