-
Notifications
You must be signed in to change notification settings - Fork 0
/
Afzal_and_Associates_Presentation.pptx'.txt
433 lines (206 loc) · 7.93 KB
/
Afzal_and_Associates_Presentation.pptx'.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.enum.text import PP_ALIGN
from pptx.dml.color import RGBColor
# Create a presentation object
presentation = Presentation()
# Slide layout (0 is title slide, 1 is title and content)
slide_layout = presentation.slide_layouts
# Define slide content
slides_content = [
{
"title": "Afzal and Associates",
"subtitle": "Your Trusted Legal Partners in Narsingdi",
"visual": "law_firm_image.jpg", # Placeholder for the actual image
},
{
"title": "Welcome Message",
"content": [
"Good morning/afternoon! We are excited to introduce Afzal and Associates, led by Afzal Hosen Mandal.",
"Our firm specializes in Civil Litigation, Criminal Defense, and Property Law.",
],
"visual": "team_photo.jpg",
},
{
"title": "Commitment to Excellence",
"content": [
"Our mission is to provide top-tier legal support while maintaining a client-focused approach.",
"We prioritize integrity and professionalism in all our dealings.",
],
"visual": "mission_infographic.jpg",
},
{
"title": "Comprehensive Legal Support",
"content": [
"We offer a wide range of legal services:",
"- Civil Law",
"- Criminal Defense",
"- Property Law",
"- Family Law",
"- Business & Corporate Law",
"- Personal Injury Law",
"- Tax Law",
"- Cyber Law",
"- Immigration Law",
"- Labor & Employment Law",
"- Intellectual Property Law",
"- Environmental Law",
"- Banking & Finance Law",
],
"visual": "services_pie_chart.jpg",
},
{
"title": "Expertise in Civil Litigation",
"content": [
"Handling contract disputes, personal injury claims, and other civil cases.",
"Notable success stories showcasing our effectiveness.",
],
"visual": "civil_case_study.jpg",
},
{
"title": "Protecting Your Rights",
"content": [
"Comprehensive defense strategies for clients facing criminal charges.",
"Areas of focus include theft, fraud, assault, etc.",
],
"visual": "criminal_defense_flowchart.jpg",
},
{
"title": "Navigating Real Estate Transactions",
"content": [
"Assistance with property purchases, sales, disputes, and ownership issues.",
"Services include land registration and property agreements.",
],
"visual": "real_estate_timeline.jpg",
},
{
"title": "Compassionate Support for Families",
"content": [
"Covering divorce, child custody, adoption, and family agreements.",
"Guidance on legal processes related to marriage registration and divorce.",
],
"visual": "family_law_infographic.jpg",
},
{
"title": "Supporting Business Success",
"content": [
"Business formation services including incorporation and partnership agreements.",
"Legal advice on corporate governance and resolving commercial disputes.",
],
"visual": "business_formation_diagram.jpg",
},
{
"title": "Seeking Justice for Injuries",
"content": [
"Compensation claims for injuries due to negligence or accidents.",
"Focus on medical malpractice and workplace accidents.",
],
"visual": "personal_injury_statistics.jpg",
},
{
"title": "Ensuring Compliance and Efficiency",
"content": [
"Tax planning strategies to optimize liabilities.",
"Assistance with compliance and resolving tax-related disputes.",
],
"visual": "tax_planning_graph.jpg",
},
{
"title": "Protecting Your Digital Rights",
"content": [
"Guidance on online privacy, data protection, and cybersecurity issues.",
"Legal support for e-commerce businesses navigating regulatory requirements.",
],
"visual": "cyber_law_infographic.jpg",
},
{
"title": "Facilitating Legal Immigration Processes",
"content": [
"Support for visa applications, citizenship, residency, and compliance with immigration laws.",
],
"visual": "immigration_flowchart.jpg",
},
{
"title": "Advocating for Employee Rights",
"content": [
"Legal support for employee rights, contract negotiation, and workplace dispute resolution.",
],
"visual": "labor_law_diagram.jpg",
},
{
"title": "Safeguarding Your Innovations",
"content": [
"Trademark registration, copyright protection, and IP dispute resolution services.",
],
"visual": "ip_examples.jpg",
},
{
"title": "Commitment to Sustainable Practices",
"content": [
"Ensuring compliance with environmental regulations and handling disputes related to pollution or land use.",
],
"visual": "environmental_compliance_chart.jpg",
},
{
"title": "Navigating Financial Regulations",
"content": [
"Advising on banking regulations, drafting loan agreements, and resolving financial disputes.",
],
"visual": "banking_flowchart.jpg",
},
{
"title": "What Our Clients Say",
"content": [
'"Afzal Hosen Mandal provided exceptional service during my property dispute."',
'"The team at Afzal helped me navigate my divorce with compassion."',
],
"visual": "client_testimonials.jpg",
},
{
"title": "Get in Touch with Afzal and Associates",
"content": [
"Contact Information:",
"- Email: advafzalhosen@gmail.com",
"- Phone: +8801726634656",
"- Address: Upojila Gate, Narsingdi Judge Court Road, Narsingdi, Dhaka, Bangladesh.",
"- Office Hours: Consultation hours available upon request.",
],
"visual": "google_maps_screenshot.jpg",
},
{
"title": "Firm's Commitment to You",
"content": [
"Thank you for your attention!",
"We are dedicated to providing exceptional legal support tailored to your unique circumstances.",
"We encourage you to reach out for personalized assistance.",
],
"visual": "closing_image.jpg",
},
]
# Create slides
for slide in slides_content:
if slide.get("content"): # If there is content for the slide
slide_obj = presentation.slides.add_slide(slide_layout[1])
title = slide_obj.shapes.title
content_box = slide_obj.shapes.placeholders[1]
title.text = slide["title"]
content = "\n".join(slide["content"])
content_box.text = content
# Formatting content box text
for paragraph in content_box.text_frame.paragraphs:
paragraph.font.size = Pt(18)
paragraph.font.color.rgb = RGBColor(0, 0, 0)
paragraph.alignment = PP_ALIGN.LEFT
# Placeholder for visuals - this will not actually insert images
# In actual implementation, you would add images like:
# slide_obj.shapes.add_picture(slide["visual"], Inches(1), Inches(1), width=Inches(5))
else: # Title slide
slide_obj = presentation.slides.add_slide(slide_layout[0])
title = slide_obj.shapes.title
subtitle = slide_obj.placeholders[1]
title.text = slide["title"]
subtitle.text = slide["subtitle"]
# Save the presentation
pptx_file_path = '/mnt/data/Afzal_and_Associates_Presentation.pptx'
presentation.save(pptx_file_path)
pptx_file_path