مجھ جناب پریزنٹیشن بنانی ہے ڈیکوشن پیجز پہ ہم چھ ممبرز ہیں تو مجھے آیا ہے کہ فارماسیوٹیکل اپلیکیشن اور وہ کنکلوژن تو مجھے اس پہ پوائنٹس بنا دو مجھے سمجھا دو
pharmaceutical applications of decoction dosage form pharmacy
ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace empty or not exists"
Give the above points in English
"Decoction is the ancient pillar of pharmaceutical science — still relevant and evolving in modern drug development."
Yes
mkdir -p /home/daytona/workspace/decoction-pptx
~/decoction-pptx/create.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.title = "Decoction - Pharmaceutical Applications & Conclusion";
// ─── Color Palette ───────────────────────────────────────────
const DARK_GREEN = "1B4332"; // dominant background / header bars
const MID_GREEN = "2D6A4F"; // section bars
const LIGHT_GREEN = "52B788"; // accent / sub-heading bar
const CREAM = "F8F4E8"; // slide background
const WHITE = "FFFFFF";
const DARK_TEXT = "1B2E1E";
const ACCENT = "D4A017"; // gold accent for icons/highlight
// ─── Helper: slide background + header bar ───────────────────
function addSlideBase(slide, title, subtitle) {
// Cream background
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 10, h: 5.625,
fill: { color: CREAM }, line: { color: CREAM }
});
// Dark green top bar
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 10, h: 1.1,
fill: { color: DARK_GREEN }, line: { color: DARK_GREEN }
});
// Gold accent line under top bar
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 1.1, w: 10, h: 0.06,
fill: { color: ACCENT }, line: { color: ACCENT }
});
// Title
slide.addText(title, {
x: 0.4, y: 0.1, w: 9.2, h: 0.6,
fontSize: 26, bold: true, color: WHITE,
fontFace: "Calibri", align: "left", valign: "middle", margin: 0
});
// Subtitle pill
if (subtitle) {
slide.addShape(pres.ShapeType.rect, {
x: 0.4, y: 0.72, w: 3.2, h: 0.3,
fill: { color: LIGHT_GREEN }, line: { color: LIGHT_GREEN },
rectRadius: 0.05
});
slide.addText(subtitle, {
x: 0.4, y: 0.72, w: 3.2, h: 0.3,
fontSize: 11, color: WHITE, fontFace: "Calibri",
align: "center", valign: "middle", margin: 0
});
}
// Bottom bar
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 5.35, w: 10, h: 0.275,
fill: { color: DARK_GREEN }, line: { color: DARK_GREEN }
});
slide.addText("B-Pharmacy / Pharm-D | Pharmaceutical Sciences | Decoction", {
x: 0.3, y: 5.35, w: 9.4, h: 0.275,
fontSize: 9, color: LIGHT_GREEN, fontFace: "Calibri",
align: "left", valign: "middle", margin: 0
});
}
// ─── Helper: section label ────────────────────────────────────
function addSectionLabel(slide, label, x, y, w) {
slide.addShape(pres.ShapeType.rect, {
x, y, w: w || 4.5, h: 0.28,
fill: { color: MID_GREEN }, line: { color: MID_GREEN }
});
slide.addText(label, {
x, y, w: w || 4.5, h: 0.28,
fontSize: 11, bold: true, color: WHITE,
fontFace: "Calibri", align: "left", valign: "middle",
margin: [0, 0, 0, 8]
});
}
// ─── Helper: bullet list ──────────────────────────────────────
function makeBullets(items) {
return items.map((item, i) => ({
text: item,
options: {
bullet: { type: "bullet", code: "25AA" },
color: DARK_TEXT,
fontSize: 12,
fontFace: "Calibri",
breakLine: i < items.length - 1
}
}));
}
// ═══════════════════════════════════════════════════════════════
// SLIDE 1 — Title / Cover slide
// ═══════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
// Full dark green background
s.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 10, h: 5.625,
fill: { color: DARK_GREEN }, line: { color: DARK_GREEN }
});
// Decorative circle
s.addShape(pres.ShapeType.ellipse, {
x: 6.5, y: -0.5, w: 4.5, h: 4.5,
fill: { color: MID_GREEN, transparency: 50 },
line: { color: MID_GREEN, transparency: 50 }
});
s.addShape(pres.ShapeType.ellipse, {
x: 7.5, y: 3, w: 3, h: 3,
fill: { color: LIGHT_GREEN, transparency: 60 },
line: { color: LIGHT_GREEN, transparency: 60 }
});
// Gold top accent line
s.addShape(pres.ShapeType.rect, {
x: 0.5, y: 1.2, w: 5, h: 0.07,
fill: { color: ACCENT }, line: { color: ACCENT }
});
// Main title
s.addText("DECOCTION", {
x: 0.5, y: 1.4, w: 7, h: 1.0,
fontSize: 52, bold: true, color: WHITE,
fontFace: "Calibri", align: "left", charSpacing: 6
});
// Subtitle
s.addText("Pharmaceutical Applications & Conclusion", {
x: 0.5, y: 2.45, w: 7, h: 0.55,
fontSize: 20, color: LIGHT_GREEN, fontFace: "Calibri", align: "left"
});
// Description line
s.addText("A comprehensive overview for B-Pharmacy / Pharm-D", {
x: 0.5, y: 3.05, w: 6.5, h: 0.4,
fontSize: 13, color: "AACFBA", fontFace: "Calibri", align: "left"
});
// Bottom note
s.addText("Pharmaceutical Sciences · Dosage Forms", {
x: 0.5, y: 5.1, w: 5, h: 0.35,
fontSize: 11, color: LIGHT_GREEN, fontFace: "Calibri", align: "left"
});
}
// ═══════════════════════════════════════════════════════════════
// SLIDE 2 — Pharmaceutical Applications (Part 1)
// Bioactive Extraction + Traditional Use
// ═══════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
addSlideBase(s, "Pharmaceutical Applications", "Slide 2 of 4");
// LEFT column — section 1
addSectionLabel(s, "1. Extraction of Bioactive Compounds", 0.3, 1.25, 4.55);
s.addText(makeBullets([
"Best method for hard plant parts: roots, bark & seeds",
"Extracts water-soluble compounds: Alkaloids, Tannins,\nGlycosides & Polysaccharides",
"Willow Bark → Salicin (analgesic)",
"Cinchona Bark → Quinine (antimalarial)",
"Licorice Root → Glycyrrhizin (anti-inflammatory)"
]), {
x: 0.3, y: 1.58, w: 4.55, h: 1.85,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// LEFT column — section 2
addSectionLabel(s, "2. Traditional Herbal Medicine", 0.3, 3.52, 4.55);
s.addText(makeBullets([
"Most common dosage form in Chinese Herbal Medicine",
"Strongest & fastest-acting of all traditional preparations",
"Combines 8–16 herbs for synergistic therapeutic effect",
"Preferred for serious, acute & complex conditions"
]), {
x: 0.3, y: 3.85, w: 4.55, h: 1.35,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// RIGHT column — section 3
addSectionLabel(s, "3. Base for Modern Drug Formulations", 5.15, 1.25, 4.55);
s.addText(makeBullets([
"Decoction extracts → raw material for tablets, capsules & syrups",
"Spray-dried decoction powder compressed into tablet form",
"Standardized extracts (5:1, 10:1) used in pharma industry",
"Example: Buzhong Yiqi — Chinese formula as spray-dried tablets",
"Basis for modern phytomedicine & herbal drug discovery"
]), {
x: 5.15, y: 1.58, w: 4.55, h: 1.85,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// RIGHT — section 4
addSectionLabel(s, "4. Routes of Administration", 5.15, 3.52, 4.55);
s.addText(makeBullets([
"Oral (most common) — rapid GI absorption",
"Topical — herbal baths, wound washing, skin conditions",
"Gargle — throat infections & oral inflammation",
"Can be used hot (diaphoretics) or cold as needed"
]), {
x: 5.15, y: 3.85, w: 4.55, h: 1.35,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// Vertical divider
s.addShape(pres.ShapeType.line, {
x: 4.97, y: 1.25, w: 0, h: 3.95,
line: { color: LIGHT_GREEN, width: 1.2, dashType: "dash" }
});
}
// ═══════════════════════════════════════════════════════════════
// SLIDE 3 — Pharmaceutical Applications (Part 2)
// Nutraceuticals + Industry Significance
// ═══════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
addSlideBase(s, "Pharmaceutical Applications (cont.)", "Slide 3 of 4");
// LEFT — section 5
addSectionLabel(s, "5. Nutraceuticals & Phytopharmaceuticals", 0.3, 1.25, 4.55);
s.addText(makeBullets([
"Antiviral / immune-boosting agents — Ginseng & Licorice",
"Immunomodulator — Astragalus decoction (30 g/day standard)",
"Diuretics — effective in urinary tract infections (UTI)",
"Diaphoretics — fever management; administered hot to\ninduce sweating",
"Adaptogenic herbs — stress & fatigue reduction"
]), {
x: 0.3, y: 1.58, w: 4.55, h: 2.0,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// LEFT — key examples box
s.addShape(pres.ShapeType.rect, {
x: 0.3, y: 3.65, w: 4.55, h: 1.55,
fill: { color: DARK_GREEN }, line: { color: DARK_GREEN }
});
s.addText("Key Therapeutic Examples", {
x: 0.3, y: 3.65, w: 4.55, h: 0.32,
fontSize: 12, bold: true, color: ACCENT,
fontFace: "Calibri", align: "center", valign: "middle"
});
s.addText([
{ text: "Quinine ", options: { bold: true, color: LIGHT_GREEN, breakLine: false } },
{ text: "→ Antimalarial\n", options: { color: WHITE } },
{ text: "Salicin ", options: { bold: true, color: LIGHT_GREEN, breakLine: false } },
{ text: "→ Pain Relief (proto-Aspirin)\n", options: { color: WHITE } },
{ text: "Glycyrrhizin ", options: { bold: true, color: LIGHT_GREEN, breakLine: false } },
{ text: "→ Anti-inflammatory\n", options: { color: WHITE } },
{ text: "Astragalus ", options: { bold: true, color: LIGHT_GREEN, breakLine: false } },
{ text: "→ Immunostimulant", options: { color: WHITE } }
], {
x: 0.4, y: 3.98, w: 4.35, h: 1.15,
fontFace: "Calibri", fontSize: 12, valign: "top"
});
// RIGHT — section 6
addSectionLabel(s, "6. Pharmaceutical Industry Significance", 5.15, 1.25, 4.55);
s.addText(makeBullets([
"WHO recognizes decoction as an official herbal preparation",
"Foundation of modern phytomedicine & natural drug research",
"Decoction-based standardized extracts used globally",
"Challenges: variable potency → drives standardization need",
"Decoction + Nanotechnology → novel drug delivery systems",
"Liposomal & nanoparticle formulations from herbal decoctions"
]), {
x: 5.15, y: 1.58, w: 4.55, h: 2.0,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT,
valign: "top"
});
// RIGHT — WHO highlight box
s.addShape(pres.ShapeType.rect, {
x: 5.15, y: 3.65, w: 4.55, h: 1.55,
fill: { color: "EAF4EE" }, line: { color: LIGHT_GREEN, width: 1.5 }
});
s.addText("WHO Global Recognition", {
x: 5.15, y: 3.65, w: 4.55, h: 0.32,
fontSize: 12, bold: true, color: MID_GREEN,
fontFace: "Calibri", align: "center", valign: "middle"
});
s.addText(
"The World Health Organization formally recognizes decoction as a valid herbal preparation and advocates for standardization of traditional medicines to ensure safety, efficacy, and quality in global healthcare.",
{
x: 5.25, y: 3.98, w: 4.35, h: 1.15,
fontSize: 11, color: DARK_TEXT, fontFace: "Calibri",
valign: "top", italic: true
}
);
// Divider
s.addShape(pres.ShapeType.line, {
x: 4.97, y: 1.25, w: 0, h: 3.95,
line: { color: LIGHT_GREEN, width: 1.2, dashType: "dash" }
});
}
// ═══════════════════════════════════════════════════════════════
// SLIDE 4 — Conclusion
// ═══════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
addSlideBase(s, "Conclusion", "Slide 4 of 4");
// Row 1: Summary + Advantages (side by side)
addSectionLabel(s, "Summary", 0.3, 1.25, 4.55);
s.addText(makeBullets([
"Decoction is one of the oldest validated pharmaceutical preparations",
"Active compounds extracted by boiling hard plant material in water",
"Used orally, topically, and as gargle across multiple traditions",
"Remains scientifically relevant in modern phytopharmacology"
]), {
x: 0.3, y: 1.58, w: 4.55, h: 1.45,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT, valign: "top"
});
addSectionLabel(s, "Advantages", 5.15, 1.25, 4.55);
s.addText(makeBullets([
"Inexpensive, simple — no organic solvents required",
"Multiple herbs combined → powerful synergistic effect",
"Most effective for water-soluble active compounds",
"Rapid absorption when taken orally",
"Applicable via multiple routes (oral, topical, gargle)"
]), {
x: 5.15, y: 1.58, w: 4.55, h: 1.45,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT, valign: "top"
});
// Row 2: Limitations + Future
addSectionLabel(s, "Limitations", 0.3, 3.12, 4.55);
s.addText(makeBullets([
"Short shelf life — 24–48 hours only",
"Difficult dose standardization (variable drug content)",
"Heat-sensitive compounds may degrade during boiling",
"Bitter taste → poor patient compliance"
]), {
x: 0.3, y: 3.45, w: 4.55, h: 1.35,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT, valign: "top"
});
addSectionLabel(s, "Future Significance", 5.15, 3.12, 4.55);
s.addText(makeBullets([
"Backbone of phytopharmaceutical & CAM research",
"WHO & global regulators advancing herbal standardization",
"Integration with nanotechnology & liposomal delivery",
"Rising demand for evidence-based herbal medicine"
]), {
x: 5.15, y: 3.45, w: 4.55, h: 1.35,
fontFace: "Calibri", fontSize: 12, color: DARK_TEXT, valign: "top"
});
// Divider
s.addShape(pres.ShapeType.line, {
x: 4.97, y: 1.25, w: 0, h: 3.2,
line: { color: LIGHT_GREEN, width: 1.2, dashType: "dash" }
});
}
// ═══════════════════════════════════════════════════════════════
// SLIDE 5 — Closing Quote Slide
// ═══════════════════════════════════════════════════════════════
{
const s = pres.addSlide();
// Full dark background
s.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 10, h: 5.625,
fill: { color: DARK_GREEN }, line: { color: DARK_GREEN }
});
// Decorative circles
s.addShape(pres.ShapeType.ellipse, {
x: -0.5, y: 3.5, w: 3.5, h: 3.5,
fill: { color: MID_GREEN, transparency: 60 },
line: { color: MID_GREEN, transparency: 60 }
});
s.addShape(pres.ShapeType.ellipse, {
x: 7.5, y: -0.5, w: 3, h: 3,
fill: { color: LIGHT_GREEN, transparency: 65 },
line: { color: LIGHT_GREEN, transparency: 65 }
});
// Gold quote mark
s.addText("\u201C", {
x: 1.2, y: 0.5, w: 1.5, h: 1.5,
fontSize: 100, color: ACCENT, fontFace: "Georgia",
align: "left", valign: "top"
});
// Quote text
s.addText(
"Decoction is the ancient pillar of pharmaceutical science\n\u2014 still relevant and evolving in modern drug development.",
{
x: 1.5, y: 1.4, w: 7, h: 1.8,
fontSize: 22, color: WHITE, fontFace: "Georgia",
align: "center", valign: "middle", italic: true
}
);
// Gold line
s.addShape(pres.ShapeType.rect, {
x: 3.5, y: 3.35, w: 3, h: 0.06,
fill: { color: ACCENT }, line: { color: ACCENT }
});
// Thank you
s.addText("Thank You", {
x: 0, y: 3.55, w: 10, h: 0.6,
fontSize: 28, bold: true, color: LIGHT_GREEN,
fontFace: "Calibri", align: "center"
});
s.addText("Pharmaceutical Sciences · Decoction · B-Pharmacy / Pharm-D", {
x: 0, y: 4.25, w: 10, h: 0.4,
fontSize: 13, color: "7EC8A0", fontFace: "Calibri", align: "center"
});
}
// ─── Write file ───────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/decoction-pptx/Decoction_Presentation.pptx" })
.then(() => console.log("✅ PPTX created successfully"))
.catch(e => { console.error("❌ Error:", e); process.exit(1); });
cd /home/daytona/workspace/decoction-pptx && node create.js 2>&1
Decoction Presentation
Presentation · PPTX
| Slide | Content |
|---|---|
| 1 | Cover slide — bold title with decorative design |
| 2 | Pharmaceutical Applications Part 1 — Bioactive Extraction + Traditional Use + Modern Formulations + Routes of Administration |
| 3 | Pharmaceutical Applications Part 2 — Nutraceuticals + Industry Significance + WHO recognition box + Key examples box |
| 4 | Conclusion — Summary, Advantages, Limitations & Future Significance (2×2 grid layout) |
| 5 | Closing quote slide with "Thank You" |
Now help me how can I learn and present it because this is a new topic for me
What
Now you can't tell