Lines Matching refs:hdf
88 Data hdf = Doclava.makeHDF(); in setSamplesTOC() local
91 Node rootNode = writeSampleIndexCs(hdf, f, in setSamplesTOC()
114 Data hdf = Doclava.makeHDF(); in writeSamplesFiles() local
116 hdf.setValue("samples_toc_tree", Doclava.samplesNavTree.getValue("samples_toc_tree", "")); in writeSamplesFiles()
118 hdf.setValue("samples", "true"); in writeSamplesFiles()
119 hdf.setValue("projectDir", mProjectDir); in writeSamplesFiles()
120 writeProjectDirectory(f, mDest, false, hdf, "Files."); in writeSamplesFiles()
121 writeProjectStructure(name, hdf); in writeSamplesFiles()
122 hdf.removeTree("parentdirs"); in writeSamplesFiles()
123 hdf.setValue("parentdirs.0.Name", name); in writeSamplesFiles()
127 writeSampleIndexCs(hdf, f, in writeSamplesFiles()
181 Data hdf, String newkey) { in writeProjectDirectory() argument
221 hdf.setValue(key + i + ".Type", "img"); in writeProjectDirectory()
222 hdf.setValue(key + i + ".Name", name); in writeProjectDirectory()
223 hdf.setValue(key + i + ".Href", link); in writeProjectDirectory()
224 hdf.setValue(key + i + ".RelPath", relative); in writeProjectDirectory()
235 hdf.setValue(key + i + ".Type", "video"); in writeProjectDirectory()
236 hdf.setValue(key + i + ".Name", name); in writeProjectDirectory()
237 hdf.setValue(key + i + ".Href", link); in writeProjectDirectory()
238 hdf.setValue(key + i + ".RelPath", relative); in writeProjectDirectory()
240 writePage(f, convertExtension(prefixRoot + path, Doclava.htmlExtension), relative, hdf); in writeProjectDirectory()
241 hdf.setValue(key + i + ".Type", type); in writeProjectDirectory()
242 hdf.setValue(key + i + ".Name", name); in writeProjectDirectory()
243 hdf.setValue(key + i + ".Href", link); in writeProjectDirectory()
244 hdf.setValue(key + i + ".RelPath", relative); in writeProjectDirectory()
255 hdf.setValue(hdfkeyName, name); in writeProjectDirectory()
256 hdf.setValue(hdfkeyType, type); in writeProjectDirectory()
257 hdf.setValue(hdfkeyHref, relative + name + "/" + "index" + Doclava.htmlExtension); in writeProjectDirectory()
258 writeProjectDirectory(f, relative + name + "/", true, hdf, (key + i)); in writeProjectDirectory()
263 setParentDirs(hdf, relative, name, false); in writeProjectDirectory()
266 … ClearPage.write(hdf, "sampleindex.cs", prefixRoot + relative + "/index" + Doclava.htmlExtension); in writeProjectDirectory()
284 public Node writeSampleIndexCs(Data hdf, File dir, Node tnode, boolean writeFiles) { in writeSampleIndexCs() argument
293 hdf.setValue("samples", "true"); in writeSampleIndexCs()
295 hdf.setValue("page.title", mProjectDir); in writeSampleIndexCs()
296 hdf.setValue("projectDir", mProjectDir); in writeSampleIndexCs()
297 hdf.setValue("projectTitle", mTitle); in writeSampleIndexCs()
299 hdf.setValue("samplesProjectIndex", "true"); in writeSampleIndexCs()
302 … ClearPage.write(hdf, "sampleindex.cs", prefixRoot + mDest + "index" + Doclava.htmlExtension); in writeSampleIndexCs()
304 DocFile.writePage(filename, rel, prefixRoot + mDest + "index" + Doclava.htmlExtension, hdf); in writeSampleIndexCs()
308 DocFile.getPageMetadata(filename, hdf); in writeSampleIndexCs()
309 mGroup = hdf.getValue("sample.group", ""); in writeSampleIndexCs()
311 tnode.setGroup(hdf.getValue("sample.group", "")); in writeSampleIndexCs()
328 public void writeProjectStructure(String dir, Data hdf) { in writeProjectStructure() argument
330 hdf.setValue("projectStructure", "true"); in writeProjectStructure()
331 hdf.setValue("projectDir", mProjectDir); in writeProjectStructure()
332 hdf.setValue("page.title", mProjectDir + " Structure"); in writeProjectStructure()
333 hdf.setValue("projectTitle", mTitle); in writeProjectStructure()
334 ClearPage.write(hdf, "sampleindex.cs", prefixRoot + mDest + "project" + Doclava.htmlExtension); in writeProjectStructure()
335 hdf.setValue("projectStructure", ""); in writeProjectStructure()
347 Data setParentDirs(Data hdf, String subdir, String name, Boolean isFile) { in setParentDirs() argument
349 hdf.setValue("linkfyPathCrumb", ""); in setParentDirs()
352 hdf.removeTree("parentdirs"); in setParentDirs()
358 hdf.setValue("parentdirs." + n + ".Name", urlParts[iter]); in setParentDirs()
359 hdf.setValue("parentdirs." + n + ".Link", subdir + "index" + Doclava.htmlExtension); in setParentDirs()
361 return hdf; in setParentDirs()
367 public void writePage(File f, String out, String subdir, Data hdf) { in writePage() argument
375 setParentDirs(hdf, subdir, name, true); in writePage()
376 hdf.setValue("projectTitle", mTitle); in writePage()
377 hdf.setValue("projectDir", mProjectDir); in writePage()
378 hdf.setValue("page.title", name); in writePage()
379 hdf.setValue("subdir", subdir); in writePage()
380 hdf.setValue("relative", relative); in writePage()
381 hdf.setValue("realFile", name); in writePage()
382 hdf.setValue("fileContents", data); in writePage()
383 hdf.setValue("resTag", "sample"); in writePage()
385 ClearPage.write(hdf, "sample.cs", out); in writePage()
393 Data hdf = Doclava.makeHDF(); in writeImageVideoPage() local
395 hdf.setValue("samples_toc_tree", Doclava.samplesNavTree.getValue("samples_toc_tree", "")); in writeImageVideoPage()
397 hdf.setValue("samples", "true"); in writeImageVideoPage()
401 hdf.setValue("noDisplay", "true"); in writeImageVideoPage()
403 setParentDirs(hdf, subdir, name, true); in writeImageVideoPage()
404 hdf.setValue("samples", "true"); in writeImageVideoPage()
405 hdf.setValue("page.title", name); in writeImageVideoPage()
406 hdf.setValue("projectTitle", mTitle); in writeImageVideoPage()
407 hdf.setValue("projectDir", mProjectDir); in writeImageVideoPage()
408 hdf.setValue("subdir", subdir); in writeImageVideoPage()
409 hdf.setValue("resType", resourceType); in writeImageVideoPage()
410 hdf.setValue("realFile", name); in writeImageVideoPage()
411 ClearPage.write(hdf, "sample.cs", out); in writeImageVideoPage()