void mdxrReader_ZacatekRadku(object sender, TableRowEventArgs ev) { mxwWriter.WriteStartElement(mtrTransformace.Tabulky.Radek); if (mtrTransformace.Tabulky.CislovatElementy) { mxwWriter.WriteAttributeString("n", ev.Sequence.ToString()); } }
private void ParseRow(object sender, TableRowEventArgs e) { if (!e.Row.ContainsKey(Constants.SpecFlow.TABLE_VALUE)) { return; } var value = e.Row[Constants.SpecFlow.TABLE_VALUE]; if (string.IsNullOrWhiteSpace(value) || !value.StartsWith("=")) { return; } object parsed = _formulaContext.Parse(value.Substring(1)); var attribute = GlobalTestingContext.Metadata.GetAttributeMetadata(e.EntityName, e.Row[Constants.SpecFlow.TABLE_KEY]); e.Row[Constants.SpecFlow.TABLE_VALUE] = ObjectConverter.ToSpecflowTableValue(attribute, parsed); }
private void mdxrReader_ZacatekRadku(object sender, TableRowEventArgs ev) { ZpracovatZnakovyStylJakoJevNaKonciUseku(); //throw new NotImplementedException(); }
void mdxrReader_KonecRadku(object sender, TableRowEventArgs ev) { mxwWriter.WriteEndElement(); }