-
A short addition: if i use the StyleSheetTable instead of the font table, i noticed some strange behaviour.
RtfStyleSheetTable table2 = tree.GetStyleSheetTable();
MessageBox.Show(table2.Count.ToString());
for(int i=0; i
2009-11-24 12:24:16 UTC by tlr_mtr
-
Hi,
thanks for the hint, but i already tried that out (used for instead of foreach). The problem is that i am getting a
System.Collections.Generic.KeyNotFoundException
when doing
for(int i=0; i
2009-11-24 12:15:26 UTC by tlr_mtr
-
Hi Mario,
you can iterate RtfFontTable by index. This is an example:
//Create an RtfTree object
RtfTree tree = new RtfTree();
//Load an RTF document from a file
tree.LoadRtfFile("c:\\example.rtf");
//Get Font Table
RtfFontTable fonts = tree.GetFontTable();
//Iterate Font Table
foreach(int i=0; i<fonts.Count; i++)
{...
2009-11-24 08:14:23 UTC by sgolivernet
-
Hi,
in earlier versions, RtfTree.GetFontTable() returned String[], but now it seems to return a RtfFontTable object. Is there any possibility to iterate over the entries in this table, and add a new entry or manipulate existing entries?
Are there any examples?
Regards,
Mario.
2009-11-23 15:24:50 UTC by tlr_mtr
-
sgolivernet committed revision 91 to the NRtfTree Library SVN repository, changing 2 files.
2009-10-24 11:54:38 UTC by sgolivernet
-
sgolivernet committed revision 90 to the NRtfTree Library SVN repository, changing 2 files.
2009-10-24 11:53:26 UTC by sgolivernet
-
NRtfTree es una librería para el tratamiento de código RTF, no HTML, por lo que dificilmente resultará útil en el escenario indicado. Un saludo.
2009-09-17 11:40:31 UTC by sgolivernet
-
RTF Specification defines embedded JPEG / PNG picture files. This is unfortunately not compatible with RTFControls in .NET.
Such RTF document could be open by MS Word, but in RTF Control - no jpeg/png picture is displayed.
RTFControl can open embedded pictures as Windows meta file only.
It would be nice to have RTF->RTF conversion. "RTF with embedded JPG/PNG" -> "RTF with Windows meta...
2009-09-05 15:18:37 UTC by nobody
-
sgolivernet committed revision 89 to the NRtfTree Library SVN repository, changing 3 files.
2009-08-14 15:45:46 UTC by sgolivernet
-
sgolivernet committed revision 88 to the NRtfTree Library SVN repository, changing 2 files.
2009-08-14 15:36:58 UTC by sgolivernet