Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Thanks for the reply.
The new version of Scribus is 1.5.8 and the old version was 1.5.5.
I had used the upgrade option from the update manager in Xubuntu.
Then I installed a completely new Ubuntu 22.04.1 on my other computer and it doesn't work there either. It also uses the 1.5.8 version of Scribus.
So I installed Xubuntu 20.04.5 on my other computer and it works using Scribus 1.5.5.

I am guessing the problem is with the import plugin or the export image plugin in 1.5.8.
52
what version of scribus? was this a clean install? or a in-place update?
53
Upgraded to Ubuntu 22.04 now files save as image greyed out.
I am trying to work on a file created on Ubuntu 20? . I can open the file and make changes etc but when I attempt to save as an image the option is greyed out.
PDF export works.
54
General Discussion / Re: Optimization of Scribus Startup time
« Last post by chetanfor on January 17, 2023, 01:50:11 pm »
this is simply for opening a copy of Scribus and no documents.
55
Scripts and Plugins / Re: insert inline image
« Last post by zacl on January 13, 2023, 06:02:43 pm »
Sorry, I forgot to say it for a CLI use, so I can't manually put the cursor at the position in a text frame where I want to include the image. 

For copy paste, there is:

Definition of "pasteObjects" says it call "slotEditPaste" that will call what is necessary to create an inline frame, I think, but the cursor need to be in a text frame.
https://github.com/scribusproject/scribus/blob/70d55132b168ef43e034dfa757de27d4f5631e3a/scribus/plugins/scriptplugin/cmdobj.cpp#L1030
https://github.com/scribusproject/scribus/blob/38d9c97e4bcae46059c16521c2e9c7767b519ec9/scribus/scribus.cpp#L4541

Inserttext is a good exemple cause it insert text at a position but it manipulate directly "string" inside the text box so I can't take inspiration from this function.
https://impagina.org/scribus-scripter-api/text-frame/#inserttext
https://github.com/scribusproject/scribus/blob/6c16393a631679b73728606d2acb81fefaeb3843/scribus/plugins/scripter/api_textitem.cpp#L181

What I'm searching is I think an equivalent of setEditMode() mentioned here with position parameter for text frame : https://bugs.scribus.net/view.php?id=16294
56
Beginner Talk / Re: Style - vertically align text in table cell
« Last post by AdmFubar on January 13, 2023, 08:41:00 am »
by the looks of things, you want to apply formatting to the contents of the table. Once you select a table "cell" you would apply text styles , the text properties window is available after clicking the cell. if you need to apply the formatting to a lot of cells you may need to edit the .sla directly possibly doing a search and replace to add the needed style.i dont see an easy clear-cut way of doing so directly in scribus, there might be one but it is getting late here i'm too tired to look for it now. will check this route in the morning.
57
Beginner Talk / Re: Style - vertically align text in table cell
« Last post by utnik on January 13, 2023, 06:20:20 am »
hi peter

you're right. scribus' tables still lack a good portion of features.
to improve the usability it should be possible to apply a paragraph style to a table style and either to control the vertical alignment direct in the table style, or – maybe even better – to make this option available in the paragraph style.
it might be worth to add a feature request here.

utnik
58
Beginner Talk / Style - vertically align text in table cell
« Last post by PMP on January 13, 2023, 12:55:35 am »
Good morning,
I am new to Scribus and beginning to understand the productivity benefits of using Styles.
However, I am unable to find under the Table Style how to vertically align text in table cells.
I can do it 'manually' using the panel Text Properties->Columns & Text Distances->Vertical Alignment->(Top/Middle/Bottom).
Whilst I can change the alignment from Top to Middle this way, I have hundreds of cells to change.
Any advice on doing this in Styles will be much appreciated.
Thanking you in advance of your support.
Cheers Peter
59
Scripts and Plugins / Re: insert inline image
« Last post by Nermander on January 12, 2023, 09:53:05 pm »
In the UI I think the only way is to paste it, are there not Python options to cut/copy and paste?
60
Scripts and Plugins / insert inline image
« Last post by zacl on January 12, 2023, 09:21:32 pm »
Hi,
I want to insert inline image in text frame with python. I searched in APi and source but I think there is not yet a function for that.
I'm right?
Pages: 1 2 3 4 5 [6] 7 8 9 10