Lines Matching defs:hdf
67 Data hdf = Doclava.makeHDF();
68 hdf.setValue("samples", "true");
69 hdf.setValue("projectDir", mProjectDir);
70 writeProjectDirectory(filelist, f, mDest, false, hdf, "Files.");
71 writeProjectStructure(name, hdf);
72 hdf.removeTree("parentdirs");
73 hdf.setValue("parentdirs.0.Name", name);
75 Node rootNode = writeProjectIndexCs(hdf, f, null, new Node(mProjectDir,
109 public void writeProjectDirectory(List<Node> parent, File dir, String relative, Boolean recursed, Data hdf, String newkey) {
148 hdf.setValue("samples", "true");//dd needed?
155 hdf.setValue(key + i + ".Type", "img");
156 hdf.setValue(key + i + ".Name", name);
157 hdf.setValue(key + i + ".Href", link);
158 hdf.setValue(key + i + ".RelPath", relative);
165 hdf.setValue(key + i + ".Type", type);
166 hdf.setValue(key + i + ".Name", name);
167 hdf.setValue(key + i + ".Href", link);
168 hdf.setValue(key + i + ".RelPath", relative);
181 hdf.setValue(hdfkeyName, name);
182 hdf.setValue(hdfkeyType, type);
183 hdf.setValue(hdfkeyHref, relative + name + "/" + "index.html");
185 writeProjectDirectory(mchildren, f, relative + name + "/", true, hdf, (key + i));
198 // getSummaryFromDir(hdf, dir, newkey);
206 hdf.setValue("showProjectPaths","true");//dd remove here?
208 setParentDirs(hdf, relative, name, false);
210 ClearPage.write(hdf, "sampleindex.cs", relative + "/index" + Doclava.htmlExtension);
215 public void writeProjectStructure(String dir, Data hdf) {
217 hdf.setValue("projectStructure", "true");
218 hdf.setValue("projectDir", mProjectDir);
219 hdf.setValue("page.title", mProjectDir + " Structure");
220 hdf.setValue("projectTitle", mTitle);
222 ClearPage.write(hdf, "sampleindex.cs", mDest + "project" + Doclava.htmlExtension);
223 hdf.setValue("projectStructure", "");
234 public Node writeProjectIndexCs(Data hdf, File dir, String key, Node tnode) {
235 //hdf.setValue("summary", "");
236 //hdf.setValue("summaryFlag", "");
241 hdf.setValue("samples", "true");
243 hdf.setValue("page.title", mProjectDir);
244 hdf.setValue("projectDir", mProjectDir);
245 hdf.setValue("projectTitle", mTitle);
249 ClearPage.write(hdf, "sampleindex.cs", mDest + "index" + Doclava.htmlExtension);
254 DocFile.writePage(filename, rel, mDest + "index" + Doclava.htmlExtension, hdf);
255 tnode.setTags(hdf.getValue("page.tags", ""));
256 mGroup = hdf.getValue("sample.group", "");
262 tnode.setGroup(hdf.getValue("sample.group", ""));
271 Data setParentDirs(Data hdf, String subdir, String name, Boolean isFile) {
273 hdf.setValue("pathCrumbLinks", "");
276 hdf.removeTree("parentdirs");
285 hdf.setValue("parentdirs." + n + ".Name", urlParts[iter]);
286 hdf.setValue("parentdirs." + n + ".Link", subdir + "index" + Doclava.htmlExtension);
288 return hdf;
302 Data hdf = Doclava.makeHDF();
305 hdf.setValue("samples", "true");
306 setParentDirs(hdf, subdir, name, true);
307 hdf.setValue("projectTitle", mTitle);
308 hdf.setValue("projectDir", mProjectDir);
309 hdf.setValue("page.title", name);
310 hdf.setValue("subdir", subdir);
311 hdf.setValue("relative", relative);
312 hdf.setValue("realFile", name);
313 hdf.setValue("fileContents", data);
314 hdf.setValue("resTag", "sample");
315 hdf.setValue("resType", "Sample Code");
317 ClearPage.write(hdf, "sample.cs", out);
328 Data hdf = Doclava.makeHDF();
329 hdf.setValue("samples", "true");
330 setParentDirs(hdf, subdir, name, true);
331 hdf.setValue("page.title", name);
332 hdf.setValue("projectTitle", mTitle);
333 hdf.setValue("projectDir", mProjectDir);
334 hdf.setValue("subdir", subdir);
335 hdf.setValue("realFile", name);
336 hdf.setValue("fileContents", data);
337 hdf.setValue("resTag", "sample");
338 hdf.setValue("resType", "Sample Code");
339 ClearPage.write(hdf, "sample.cs", out);
623 public void writeProjectIndex(Data hdf) {
625 hdf.setValue("projectDir", mProjectDir);
626 hdf.setValue("page.title", mProjectDir + " Sample");
627 hdf.setValue("projectTitle", mTitle);
628 ClearPage.write(hdf, "sampleindex.cs", mDest + "index" + Doclava.htmlExtension);
635 public void getSummaryFromDir(Data hdf, File dir, String key) {
637 hdf.setValue("summary", "");
638 hdf.setValue("summaryFlag", "");
643 hdf.setValue(key + "SummaryFlag", "true");
644 hdf.setValue("summary", summary);
646 //hdf.setValue(key + "Href", dir + "/index.html");
690 Data hdf = writeIndex(dir);
691 hdf.setValue("subdir", subdir);
694 hdf.setValue("subdirs." + i + ".Name", d);
695 hdf.setValue("files." + i + ".Href", convertExtension(d, ".html"));
700 hdf.setValue("files." + i + ".Name", f);
701 hdf.setValue("files." + i + ".Href", convertExtension(f, ".html"));
706 ClearPage.write(hdf, "sampleindex.cs", relative + "index" + Doclava.htmlExtension);
713 Data hdf = writeIndex(dir);
717 ClearPage.write(hdf, "sampleindex.cs", relative + "index" + Doclava.htmlExtension);
724 Data hdf = Doclava.makeHDF();
725 hdf.setValue("page.title", dir.getName() + " - " + mTitle);
726 hdf.setValue("projectTitle", mTitle);
736 hdf.setValue("summary", summary);
738 return hdf;