The Publish tool 
• Mini-markup accepted: 
o Use Cell > Insert test markup in the Editor 
o %% - title line 
o %  ͙ *bold*  _italic_  |monospaced| or combination 
o % $...$  $$...$$  - Latex (inline, full) 
o % # - numbered line 
o % * - bullet line 
o % <html>͙</html> 
o % <url description text> 
o % <<file:///C:/Images/Yair.png>>  
o %  (2 spaces) – preformatted segment (monospaced black font) 
o %   (3 spaces) – code segment (monospaced, syntax highlighting) 
• Supported formats: 
o With syntax highlighting: HTML, PDF, XML 
o Without syntax highlighting:  DOC, Latex, PPT 
o XSL (CSS) file supported 
o Multiple output options 
• Header comment has to come before main function line 
© Yair Altman 
www.UndocumentedMatlab.com 
11 
Pdf text search tool - search text inside PDF file in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Learn how to search text in PDF document and obtain text content and location information
how to select text in pdf and copy; search text in multiple pdf
Pdf text search tool - VB.NET PDF Text Search Library: search text inside PDF file in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Learn How to Search Text in PDF Document and Obtain Text Content and Location Information in VB.NET application
search pdf documents for text; pdf make text searchable
The Publish tool’s mini markup 
• Mini-markup accepted: 
oUse Cell > Insert test markup in the Editor 
o%% - title line 
o%  ͙ *bold*  _italic_  |monospaced| or combination 
o% $...$  $$...$$  - Latex (inline, full) 
o% # - numbered line 
o% * - bullet line 
o% <html>͙</html> 
o% <url description text> 
o% <<file:///C:/Images/Yair.png>>  
o%  (2 spaces) – preformatted segment (monospaced black font) 
o%   (3 spaces) – code segment (monospaced, syntax highlight) 
© Yair Altman 
www.UndocumentedMatlab.com 
12 
VB.NET PDF- View PDF Online with VB.NET HTML5 PDF Viewer
Easy to search PDF text in whole PDF document. VB.NET HTML5 PDF Viewer: View PDF Online. PDF file is loaded as sample file for viewing on the viewer. Select tool.
how to search a pdf document for text; pdf find highlighted text
C# HTML5 PDF Viewer SDK to view PDF document online in C#.NET
Easy to search PDF text in whole PDF document. C# HTML5 PDF Viewer: View PDF Online. PDF file is loaded as sample file for viewing on the viewer. 1. Select tool.
search multiple pdf files for text; how to search pdf files for text
Publish tool markup example 
© Yair Altman 
www.UndocumentedMatlab.com 
13 
perfTest.m: 
%% Sample LaTeX equation 
(<http://en.wikibooks.org/wiki/LaTeX/Mathematics>) 
% $$E=mc^2$$ 
% $$\delta=\frac{FL^3}{3EI}$$ 
%% Black holes 
% Kerr-Newman solution (rotating black hole): 
% $$ 
%   \partial s^2 = c^2\partial t^2  
%                  - 
(r^2+a^2)\sin^2\Theta\cdot\partial\Theta^2 
%                  - \frac{2mr\cdot (c\partial t + 
a\sin^2\Theta\cdot\partial\Theta)^2} 
%                         {r^2+a^2\cos^2\Theta} 
%                  -(r^2+a^2\cos^2\Theta)\cdot[\frac{\partial 
r^2}{r^2-2mr+a^2}+\partial\Theta^2] 
% $$ 
% where: 
% $$ a \equiv L/Mc $$ 
% $$ m \equiv GM/c^2 $$ 
%% 
% *BOLD TEXT* 
% _ITALIC TEXT_ 
% |MONOSPACED TEXT| 
% <http://www.mathworks.com MathWorks webpage> 
%% Syntax 
% # outData = perfTest(inData) 
% # outData = perfTest(inData, ...) 
%% Example 
% * outData = perfTest([]); 
% * outData = perfTest(pi); 
% * outData = perfTest(1:3,'ok'); 
function outData = perfTest(inData) 
format debug 
͙ 
>> publish('perfTest.m') 
>> web('html/perfTest.html') 
C# PDF Text Highlight Library: add, delete, update PDF text
a multifunctional PDF document annotation tool, which can example illustrates how to perform PDF text highlight function NET project, according to search option
how to select all text in pdf; converting pdf to searchable text format
VB.NET PDF Page Extract Library: copy, paste, cut PDF pages in vb.
Raster Edge XDoc.PDF SDK is such an extraction tool can be installed easily in VB.NET application, the extraction process will be greatly simplified.
cannot select text in pdf file; convert pdf to searchable text online
Publish tool markup example 
© Yair Altman 
www.UndocumentedMatlab.com 
14 
C# WPF PDF Viewer SDK to view, annotate, convert and print PDF in
Rotate a PDF Page. PDF Read. Text: Extract Text from PDF. Text: Search Text in PDF. Users can add various annotations to PDF, such as text, text box, note
search text in pdf image; search text in pdf using java
VB.NET PDF - WPF PDF Viewer for VB.NET Program
copy, paste, C#.NET rotate PDF pages, C#.NET search text in PDF, C# RasterEdge WPF PDF Viewer for VB.NET is a PDF utility annotation generation tool.
convert a scanned pdf to searchable text; text select tool pdf
Publish tool limitations 
• Supported formats: 
oWith syntax highlighting: HTML, PDF, XML 
oWithout syntax highlighting:  DOC, Latex, PPT 
oXSL (CSS) file supported 
oMultiple output options (customizable via editor) 
• Header comment must come before main 
function line 
• Incompatible with block comments: 
%{ 
…  
%} 
© Yair Altman 
www.UndocumentedMatlab.com 
15 
C# PDF Convert to Tiff SDK: Convert PDF to tiff images in C#.net
RasterEdge C#.NET PDF to TIFF converting library control (XDoc.PDF) is a multifunctional PDF document converting tool, which can perform high-fidelity PDF
converting pdf to searchable text format; select text pdf file
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Using our PDF document manipulation APIs, users can easily customize and set the PDF page adding tool to freely choose the specific location of the new page.
how to search text in pdf document; pdf select text
Output to Excel
• Simple XLS output 
• Excel data formatting 
• Fonts 
• Colors 
• Graphs, images  
© Yair Altman 
www.UndocumentedMatlab.com 
16 
VB.NET PDF Text Highlight Library: add, delete, update PDF text
C#.NET rotate PDF pages, C#.NET search text in PDF is a multifunctional PDF document annotation tool, which can sample code shows how to highlight PDF text in VB
pdf searchable text converter; pdf editor with search and replace text
XDoc.HTML5 Viewer for .NET, All Mature Features Introductions
search text-based documents, like PDF, Microsoft Office Word, Excel, and PowerPoint (2003 and 2007 versions). The well built-in text search tool is compatible
select text in pdf file; how to select text on pdf
Simple Excel output 
• xlswrite('file.xls',magic(3),'Sheet1','B3'); 
• Problem: slowww͙ (start Excel͘exe, write, close Excel) 
• Alternatives on File Exchange: 
o xlswrite1 – reuses an open XLS process, does not close Excel 
o officedoc  - same, with additional text formatting 
© Yair Altman 
www.UndocumentedMatlab.com 
17 
Low-level XLS output 
• Connect to an Excel process 
try 
Excel=actxGetRunningServer('excel.application'); 
catch 
Excel=actxserver('excel.application'); 
end 
%Excel.Visible = true;  % for debugging 
• Output data to XLS workbook 
%workbook = Excel.workbooks.Open(filename,0,true); 
workbook = Excel.workbooks.Add;  % =new file 
Excel.Range('B3:E6').Value = cellData; 
• Apply VBA formatting to the workbook
(see next slide) 
• Close the connection 
workbook.SaveAs(filename,39);  % 39=xlExcel5 
workbook.Close(false); 
Excel.Quit; 
© Yair Altman 
www.UndocumentedMatlab.com 
18 
Formatting XLS output – examples 
• Simple text formatting: 
Excel.Range('B3:E6').Select; 
Excel.Selection.Font.Bold = true; 
Excel.Selection.Font.Color = hex2dec('FF0000'); % blue 
Excel.Selection.Border.Item(4).Weight = 3;  % bottom border 
Excel.Selection.HorizontalAlignment = -4108;  % =xlCenter 
Excel.Range('B3:E6').NumberFormat = '0.00'; 
Excel.ActiveSheet.Cells.EntireColumn.AutoFit 
© Yair Altman 
www.UndocumentedMatlab.com 
19 
Formatting XLS output – examples 
• Conditional formatting: 
% Bright yellow background if value < 5% 
formatsObj = Excel.Selection.FormatConditions; 
formatsObj.Delete; 
condStr = ['=$C' num2str(startRow+1) '<=5']; 
formatsObj.Add(2, 3, condStr); 
bgcolor = hex2dec('00FFFF');   % =bright yellow background 
formatsObj.Item(formatsObj.Count).Interior.Color = bgcolor; 
© Yair Altman 
www.UndocumentedMatlab.com 
20 
Documents you may be interested
Documents you may be interested