Code covered by the BSD License
-
hAbout.m
opens the about box
-
html_index.m
command shell for the batch image scaler and html index builder
-
prjDlgList.m
-
prjDlgListContact.m
quadra
-
GenerateHtml(FileList,Dir,Opt...
-
dlgLimba(languages, cefaci)
limba = dlgLimba(languages, cefaci)
-
dlgUpdTxt(strOrig, strInsert,...
-
prjCheckDir(Path);
ListaSimpla = prjCheckDir(Path);
-
prjCheckFile(path, name, Opti...
FileEntry = prjCheckFile(path, name);
-
prjDir(OldDir, tip)
-
prjDlgAdd(ce, FileList, Optio...
-
prjRefresh(FileList, Options)
refresh info in FileList dupa ce umbli la resolutii, batch, smartscaling, etc.
-
prjRenderSheet(FileList, Opti...
[sheet, placing_info] = prjRenderSheet(FileList, Options, Dir, ThGyOrig)
-
prjRenderSmart(FileList, Dir,...
prjRenderSmart(FileList, Dir, Options)
-
prjUpdate(FileList, Dir, Opti...
update info in FileList dupa ce umbli la resolutii, batch, etc.
-
uConstr(tip)
-
uNet2Dec(netColor)
-
IncearcaCeva.m
-
hGeneral.m
-
View all files
from
HTML Indexer
by tudor dima
automated multi-language html index, index for print, batch image scaling
|
| uConstr(tip)
|
function struct = uConstr(tip)
switch lower(tip)
case 'options'
struct.contact = uConstr('contact');
% --- texte, variaza cu proiectu ---
struct.Autor = 'Your Name';
struct.Titlu = 'on the window bar';
struct.TextSus = 'at top of page';
struct.TextJos = 'generated with HTML indexer 0.6';
struct.TextHome = 'go home';
struct.LinkHome = 'http://...';
struct.TextLang = 'see this page in ...';
struct.languages = 'english';
struct.prjtype = 'net'; % 'local > doar '_th.jpg', daca 'net' atunci face si '_gy.jpg'
% hmtl look, se schimba mai rar (font/colors)
struct.FontFace = 'Verdana';
struct.FontSize = -1;
% --- culori ---
% --- alt : 'FFFF99' '000000' 'FFCC33' 'CC0000' 'FF6600'
% sau FF8000, 000000, 0000EE, 551A8B, FF0000
struct.Colour.text = 'FF8000';
struct.Colour.bg = '000000';
struct.Colour.link = '0000EE';
struct.Colour.vlink = '551A8B';
struct.Colour.alink = 'FF0000';
% image options
struct.GySize = 600;
struct.GySizeLow = 400;
struct.GyQual = 70;
struct.ThSize = 180;
struct.ThSizeLow = 100;
struct.ThQual = 80;
struct.smartscale = 0; % phase out 1 (scale by an integer)
struct.batch = 'none';
struct.activeresolution = 'normal';
struct.scalingspeed = 'normal';
struct.filtering = 0; % unused, 4 now...
case 'dir'
struct.PrjName = '$none';
if exist('temp_out', 'dir')
struct.Default = fullfile(pwd, 'temp_out');
else
struct.Default = pwd;
end
struct.Dest = struct.Default;
struct.working = pwd;
struct.lastopen = pwd;
struct.loadok = 0;
case 'fileinfo'
struct.path = '$empty';
struct.name = '';
struct.extension = '';
struct.base = '';
struct.type = '';
struct.scalefactor_th=1;
struct.scalefactor_gy=1;
struct.th_height = 150;
struct.th_width = 1;
struct.gy_height = 300;
struct.gy_width = 1;
struct.or_height = 999;
struct.or_width = 1;
struct.filt = 'default';
struct.TextOver = 'type below each picture''s decription to appear in html gallery';
struct.Legenda = 'Legenda';
case 'listasimpla'
struct.path = '$empty';
struct.name = '';
struct.pozini = 0;
case 'nav'
struct.image_index = 1;
struct.language_index = 1;
struct.list_switch = 0;
struct.thdone = 0;
case 'contact'
struct.sheet_width = 1800; % pot fi vectoriale, later
struct.sheet_height = 1200;
struct.file_prefix = 'contact_sheet';
struct.nr_of_sheets = 1;
struct.th_per_sheet = 4;
struct.margine = [5 5]; % margin in pixels, x, y
case 'placing_info'
struct.found = 0;
struct.th_placed = 0;
struct.on_sheet = 1;
struct.current_sheet = 1;
struct.new_sheet = 0;
struct.x0 = 0;
struct.y0 = 0;
struct.x0_next = 1;
struct.y0_next = 1;
% struct.corner_x = 1;
% struct.corner_y = 1;
struct.prev_row_ymax = 0;
struct.curr_row_ymax = 0;
struct.rotate = 0;
struct.last_pic = 0;
end;
|
|
Contact us at files@mathworks.com