Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Oct 2018, 16:41
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
rework a template - from horizontal to vertical - how to
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
sayhello_to_the_world

Joined: 24 Dec 2012
Posts: 76

PostPosted: Sat 21 Apr 2018, 03:40    Post subject:  rework a template - from horizontal to vertical - how to  

i have to rework a template - from horizontal to vertical - with calc or writer


see the attached template - it belongs to a calendar.


well - i guess that with calc we have more options. we can choose and configure the height and width



love to hear from you
__a_template__Screenshot_.png
Description 
png

 Download 
Filename  __a_template__Screenshot_.png 
Filesize  70.24 KB 
Downloaded  99 Time(s) 
__a_template__Screenshot_.png
Description  see an example
png

 Download 
Filename  __a_template__Screenshot_.png 
Filesize  70.24 KB 
Downloaded  81 Time(s) 
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sat 21 Apr 2018, 17:35    Post subject:  

Probably make it easier if you uploaded the ".doc" file or other.
These png's are both the same are'nt they?
Back to top
View user's profile Send private message Yahoo Messenger 
mikeslr


Joined: 16 Jun 2008
Posts: 2692
Location: 500 seconds from Sol

PostPosted: Sun 22 Apr 2018, 12:25    Post subject:  

Hi sayhello_to_the_world,

April is on the right track. In between the application and the graphical display is some "doc" which provides the arguments in a language used by the application to create the display. The doc may be written in plain text, html or some other language.

Not to discourage you from your project, but unless you have a need to change "Horizontal" to "Vertical" frequently, your expenditure of time on this project will be far greater than "starting from scratch". Also take into consideration that whatever you do under one application probably can't be used OOTB in another application. The ease with which you can create a template using the GUI belies the complexity of the underlying application. For instance, both "Rows" and "Columns" are visual illusions.

The display on a monitor consists of pixels. Each pixel has at least two dimensions represented as (x,y) where x determines a pixel's location on the horizontal axis of the display, and y determines a pixels location on the vertical axis. The top-left-most pixel would be represented as (0,0). The operative devices in a spreadsheet are its Cells; in a database are its Records. Cells and Records are created to hold and display certain types of information, and may be limited to the types of information they can hold. Rows and Columns are visual illusions. They appear because every Cell/Record in a particular Row has the same quantity as the 'y' argument of where it begins; and every Cell/Record in a particular Column has the same quantity as its 'x' argument of where it begins.

In the "end-game" you can't just run a substitution (find and replace) changing all x's to y's and all y's to x's because that actually involves two steps. The first step would replace all x's with y's after which you would not be able to distinguish which y had always been a y and which previously had been an x in order to perform the 2nd step. So you'd have to first create a 'dummy' dimension "z", change all x's to z, all y's to x, then all z's to y.

But even that may not suffice. If the Cells/Records length and height aren't equal, (a square), you'd also have to change the argument determining length and height. And if all Cells/Records were not defined to hold (and display) the same type of data, the arguments determining the type of data might also have to be changed.

Or maybe not. Perhaps substitution of x for y and defining length and height will suffice. It may all depend on how the "doc" was written.

mikesLr
Back to top
View user's profile Send private message 
sayhello_to_the_world

Joined: 24 Dec 2012
Posts: 76

PostPosted: Fri 01 Jun 2018, 03:06    Post subject:  

hello dear experts


i try to do some flip of the text in the cells
from_landscape_to_portrait.zip
Description 
zip

 Download 
Filename  from_landscape_to_portrait.zip 
Filesize  115.57 KB 
Downloaded  26 Time(s) 
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1663
Location: Japan

PostPosted: Fri 01 Jun 2018, 07:25    Post subject:  

sayhello_to_the_world wrote:
i try to do some flip of the text in the cells
I'm not sure what you mean. Something like in attached screenshot?
horizontal2vertical.jpg
 Description   
 Filesize   96.53 KB
 Viewed   49 Time(s)

horizontal2vertical.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0365s ][ Queries: 13 (0.0069s) ][ GZIP on ]