View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017378 | Scribus | Scripter | public | 2025-01-16 12:56 | 2025-01-16 19:08 |
Reporter | tanzeem | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Python | OS | Debian | OS Version | 12 |
Product Version | 1.6.2 | ||||
Summary | 0017378: Hyperlinks not clickable in the exported PDF when html content imported using Scripter API | ||||
Description | I used the following code to import HTML content with hyperlinks pointing to other websites. I find the links are rendered but not clickable. Also bold content is not rendered Code used:# Create text frame if not provided if text_frame is None: text_frame = scribus.createText(x, y, width, height) # Set base paragraph style scribus.setParagraphStyle(base_style_name, text_frame) # Create temporary file to store HTML content temp_file_handler = TemporaryFileHandler(html_content) html_file_path = temp_file_handler.create_temp_file() # Insert HTML content into frame scribus.insertHtmlText(html_file_path, text_frame) # Clean up temp file temp_file_handler.delete_temp_file() # Enable text flow around frame if needed scribus.setTextFlowMode(text_frame, 1) # 1 = flow around frame shape # Set frame properties scribus.setTextAlignment(scribus.ALIGN_BLOCK, text_frame) # Justify text scribus.setTextVerticalAlignment(0, text_frame) # Top alignment # Layout text in frame scribus.layoutText(text_frame) return text_frame | ||||
Steps To Reproduce | Run Scripter API to import HTML content having hyperlinks and bold,italic,underlined text | ||||
Tags | hyperlink | ||||
Patch | No | ||||
child of | 0017281 | new | Adding hyperlinking as a text property |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-16 12:56 | tanzeem | New Issue | |
2025-01-16 12:56 | tanzeem | Tag Attached: hyperlink | |
2025-01-16 15:13 | ale | Relationship added | child of 0017281 |
2025-01-16 15:15 | ale | Note Added: 0051920 | |
2025-01-16 19:07 | jghali | Priority | urgent => normal |
2025-01-16 19:08 | jghali | Note Added: 0051922 |