1,837 questions
0
votes
1
answer
153
views
How would I handle RTF hyperlinks using Apache Tika in XSLT?
This question is a follow-up to: What are some methods to converting RTF text nodes in XML using XSLT 2 / Saxon HE 11.3?.
After implementing the answered solution, I ran the code against a large ...
2
votes
2
answers
1k
views
C# RTF to plain text with RichTextBox not working
We use external component (MigraDoc) to compose an RTF document. Which then is converted to plain text by assigning RTF as string to System.Windows.Forms.RichTextBox's Rtf field and reading Text field....
0
votes
1
answer
183
views
Stripping rtf string to return html data in c#
I have the below rtf string
{\rtf1\ansi\ansicpg1252\fromhtml1 \fbidis \deff0{\fonttbl
{\f0\fswiss Arial;}
{\f1\fmodern Courier New;}
{\f2\fnil\fcharset2 Symbol;}
{\f3\fmodern\fcharset0 Courier New;}}
{...
1
vote
1
answer
114
views
Sub macro records current document protection, allows find and replace, then reapplies protection if necessary - receiving runtime error 4605
I have a find and replace macro that searches through folders and subfolders for word rtf document that contain ABC TEXT then updates to XYZ TEXT.
When running this on a folder with several hundred ...
0
votes
1
answer
209
views
Find and replace a text string in protected rtf Word document
When running the VBA code below on a folder that contains approximately 100 rtf Word documents, I receive the following VBA error.
"Run-time error '4605' This method or property is not available
...
0
votes
0
answers
218
views
Parse RTF file using Tika won't parse ordered lists
I'm trying to parse RTF file to plain text using Tika.
When I'm trying to parse .rtf file with ordered list items, the parser replaces numbers of list items with whitespace.
Do you have any tips I ...
0
votes
0
answers
308
views
How to export gt table as rtf from Markdown
I need to generate an HTML document which displays a gt table. At the same time, it should export the table as a rtf file. I have the following process, but when I knit the document I get an ...
0
votes
1
answer
749
views
Microsoft Word BI Publisher: how to hide table header row at first occurrence
Currently I am working on Oracle report using BI publisher desktop extension for MS Word.
In RTF layout I have a requirement to build receipts table and dynamically loop through receipts XML data. In ...
0
votes
0
answers
218
views
How do i replace words in a .RTF file without destroying/corrupting the whole layout
So I am making an application that will take User info and paste it in a .RTF file. But when i try to paste the info into that file it will change the words but it will change the whole layout. The ...
0
votes
0
answers
56
views
How can I preserve colour attributes when creating an NSAttributedString with RTF?
I am initialising an NSAttributedString with RTF and it works, in that I can see the text and attributes like font, size and weight are preserved.
NSMutableAttributedString* attributedRTFString = [...
0
votes
1
answer
123
views
Can you create a mathbuildup using IDWRITE?
Is there already a built-in mechanism or method for creating a mathbuild using only the IDWRITE interfaces that would produce a similar type of math buildup compared to using an RTF window with the ...
0
votes
1
answer
470
views
How do I change the color of the line I enter in a Delphi file, so when I visualize it later different type of lines have different color
I have a form program in Delphi. I've made a log for different actions in the program. I'm pretty sure I need to save it in rtf file with different colors depending on the line I'm entering but don't ...
-1
votes
1
answer
675
views
BI Publisher - How to separate values by comma
I have this row that I'll be showing as comma separated:
Name1 number1, Name2 number2, Name3 number3, Name4 number4
I put this in a for-each loop like:
<?for-each-group@inlines:current-group():./...
0
votes
0
answers
73
views
Writing RTF to RichEditBox
I'm writing a program using WinRT and have a RichEditBox which I'm struggling to make behave the way I want.
The idea is that a user will type some input, the program will process this to some output, ...
2
votes
1
answer
4k
views
Show .rtf files in VSCode / VSCodium with proper font and style characteristics
I'm using VSCodium and I typically keep project notes in .rtf files, where I can use different fonts (such as courier for code snippets) and bold or occasional coloured highlights for emphasis.
I need ...
0
votes
1
answer
301
views
Border not display on next row for split-column-data
I have a model xml data:
Model data
I have been using split-column-data: to display column dynamically as I have some data with multiple different column. The thing is the border between each rows is ...
0
votes
1
answer
237
views
How can I read an *.rtf file?
I have a large *.rtf file with meteorological data. When I open it using LibreOffice I get the data in the following format:
[ {
"fecha" : "2022-01-01",
"indicativo" :...
2
votes
0
answers
767
views
spyder IDE how to copy code selection with rtf styling?
I'm a Python Spyder User and I prepare some teaching powerpoint.
I would like to know how to set spyder to copy the full styling code (in rtf for example). It will be really helpfull to generate ...
0
votes
0
answers
55
views
Appending RTF text from one TRichText control to another in Delphi XE7 [duplicate]
I have tried to get the following code to work in a 64 bit environment:
unit RTFProcs1;
interface
uses
Windows, classes, comctrls, Messages, RichEdit, vcl.Dialogs, System.SysUtils, ad4Controls, ...
0
votes
1
answer
323
views
How to extract metadata from docx, txt and rtf files in Android
Please suggest how it is possible to extract metadata like author, title, creator, creationDate, etc. from docx, txt and rtf file types in Android?
1
vote
0
answers
284
views
How to automate saving a .rtf file as plain text using python?
I am working on a project where I use the requests module to grab store catalogs from various nurseries (with the purpose of searching for matches in a list of my own).
Here is a relevant snippet:
...
0
votes
1
answer
762
views
Current year in RTF Template
I am using the condition <?if:contains(ENT_LUPD,'2022')?> to find if the date is in the year 2022, How to tweak this to get current year instead of 2022, so that next year the tag checks in 2023 ...
2
votes
1
answer
4k
views
Read RTF file using python
reading RTF file using striprtf
rtf_to_text not able to read URL,what changes need to make in the code?
Input
Get latest news update at [email protected]
Output
Get latest news update at
Desired Output
...
0
votes
0
answers
143
views
Non-Printable Characters on WPF RichTextBox
I want to add non-printable characters to WPF RichTextBox.
For simplicity I'm using Extended WPF Toolkit RichTextBox which provide Text property to directly access RTF source string.
In particular I ...
0
votes
1
answer
86
views
How to search a word in a RichTextBox having specific format?
I have a RichTextBox where the user will copy-paste from MS Word an MCQ quiz question.
The correct choice would either be highlighted or with bold
text (e.g. in the image it is highlighted).
So, I ...