Distributing text or objects equally
Hi,
Hope this finds you well.
I've attached a copy of a 36x24" poster I'm designing. My goal is to have everything be as symmetrical as possible.
I'm pretty certain I'd like the top and bottom line of photos to stay where they are because they are equidistant to the type at top and the logo at the bottom.
For the rest of quotes and photos in between I've got everything pretty much where I want it but am confused as to how to make sure everything is exactly symmetrical (ie space between the bottom of a line of photos and the top of a quote and then the bottom of a quote to the top of the next line of photos) all related to the the two lines of photos at the top and bottom.
Is there a way to do that?
Thanks very much!
graph22 wrote:
Hi,
Hope this finds you well.
I've attached a copy of a 36x24" poster I'm designing. My goal is to have everything be as symmetrical as possible.
I'm pretty certain I'd like the top and bottom line of photos to stay where they are because they are equidistant to the type at top and the logo at the bottom.
For the rest of quotes and photos in between I've got everything pretty much where I want it but am confused as to how to make sure everything is exactly symmetrical (ie space between the bottom of a line of photos and the top of a quote and then the bottom of a quote to the top of the next line of photos) all related to the the two lines of photos at the top and bottom.
Is there a way to do that?
Thanks very much!
Vertical spacing between graphics and text need to consider whether you want the same arithmetic measurement between the graphic and the highest or lowest text item present in the lines above and below it, or between the graphic and the position that the tallest ascender or lowest descender, or tallest capital, in the font would occupy, whether or not it's present in the current line of text.
You may find that your eye is the best guide to what's right - after all, viewers see the work, they don't measure it with a ruler. OK, maybe other designers who adore or hate the piece may measure it, to see why they react that way.<G>
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices
Similar Messages
-
How to call another form ,if option is entered in a text item object ???
hi ,
I am created an application ,where in i press a button which call another form having a menu .
I select any one of the option from the menu ....i enter a number in the text item object of this form ....depending upon what option i have typed .....i would like to call another form ...
My questions are
1) Which trigger of this text item should be enabled,and what code to i write in this trigger ?
2) Since this form is not having any database insert,delete ,update or query (select)
it should directly go to the new form,whose option i provide in the text item .
Sunnyhey bro, i am assuming that ur text item contains the form name, any relevant trigger can be used for user action, like key-enter, post-change or key-next-item.
to run a form u can use functions call_form or open_form with proper paramters.
if u want to forward the entered text in the item, use global variable for the session.
it doesnt matter if the form contains database items or blocks, all u have to do is run the form.
e.g,
declare
VAR VARCHAR2-------;
begin
/* u can use the variable to concatinate or modify too, also can use global variable
var:=:urblock.uritem;
/* use ur own relevant parameters */
open_form(VAR,ACTIVATE,NO_SESSION);
exception
when---------
end; -
Does making objects equal null help the gc handle memory leakage problems
hi all,
does making objects equal null help the gc handle memory leakage problems ?
does that help out the gc to collect unwanted objects ??
and how can I free memory avoid memory leakage problems on devices ??
best regards,
Message was edited by:
happy_lifeComments inlined:
does making objects equal null help the gc handle
memory leakage problems ?To an extent yes. During the mark phase it will be easier for the GC to identify the nullified objects on the heap while doing reference analysis.
does that help out the gc to collect unwanted objects
??Same answer as earlier, Eventhough you nullify the object you cannot eliminate the reference analysis phase of GC which definitelely would take some time.
and how can I free memory avoid memory leakage
problems on devices ??There is nothing like soft/weak reference stuffs that you get in J2SE as far as J2ME is concerned with. Also, user is not allowed to control GC behavior. Even if you use System.gc() call you are never sure when it would trigger the GC thread. Kindly as far as possible do not create new object instances or try to reuse the instantiated objects.
~Mohan -
How do I copy text and objects from pages to and paste into Email, objects don't show in Email
Anyone know how I copy text and objects from pages and paste into Email, objects don't show in Email, thanks
You can't expect Mail to support all the objects of Pages which can include anything up to charts generated from spreadsheet tables.
Even if Mail was a superset of Pages, what would the recipients who don't have either Mail or Pages, make of it?
Peter -
Difference between Object equals() method and ==
Hi,
Any one help me to clarify my confusion.
stud s=new stud();
stud s1=new stud();
System.out.println("Equals======>"+s.equals(s1));
System.out.println("== --------->"+(s==s1));
Result:
Equals ======> false
== ------------> false
Can you please explain what is the difference between equals method in Object class and == operator.
In which situation we use Object equals() method and == operator.
Regards,
Saravanan.Kcorlettk wrote:
I'm not sure, but I suspect that the later Java compilers might actually generate the same byte code for both versions, i.e. I suspect the compiler has gotten smart enough to devine that && other!=null is a no-op and ignore it... Please could could someone who understands bytecode confirm or repudiate my guess?Don't need deep understanding of bytecode
Without !=null
C:>javap -v SomeClass
Compiled from "SomeClass.java"
class SomeClass extends java.lang.Object
SourceFile: "SomeClass.java"
minor version: 0
major version: 49
Constant pool:
const #1 = Method #4.#15; // java/lang/Object."<init>":()V
const #2 = class #16; // SomeClass
const #3 = Field #2.#17; // SomeClass.field:Ljava/lang/Object;
const #4 = class #18; // java/lang/Object
const #5 = Asciz field;
const #6 = Asciz Ljava/lang/Object;;
const #7 = Asciz <init>;
const #8 = Asciz ()V;
const #9 = Asciz Code;
const #10 = Asciz LineNumberTable;
const #11 = Asciz equals;
const #12 = Asciz (Ljava/lang/Object;)Z;
const #13 = Asciz SourceFile;
const #14 = Asciz SomeClass.java;
const #15 = NameAndType #7:#8;// "<init>":()V
const #16 = Asciz SomeClass;
const #17 = NameAndType #5:#6;// field:Ljava/lang/Object;
const #18 = Asciz java/lang/Object;
SomeClass();
Code:
Stack=1, Locals=1, Args_size=1
0: aload_0
1: invokespecial #1; //Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 1: 0
public boolean equals(java.lang.Object);
Code:
Stack=2, Locals=2, Args_size=2
0: aload_1
1: instanceof #2; //class SomeClass
4: ifeq 25
7: aload_1
8: checkcast #2; //class SomeClass
11: getfield #3; //Field field:Ljava/lang/Object;
14: aload_0
15: getfield #3; //Field field:Ljava/lang/Object;
18: if_acmpne 25
21: iconst_1
22: goto 26
25: iconst_0
26: ireturn
LineNumberTable:
line 6: 0
}With !=null
C:>javap -v SomeClass
Compiled from "SomeClass.java"
class SomeClass extends java.lang.Object
SourceFile: "SomeClass.java"
minor version: 0
major version: 49
Constant pool:
const #1 = Method #4.#15; // java/lang/Object."<init>":()V
const #2 = class #16; // SomeClass
const #3 = Field #2.#17; // SomeClass.field:Ljava/lang/Object;
const #4 = class #18; // java/lang/Object
const #5 = Asciz field;
const #6 = Asciz Ljava/lang/Object;;
const #7 = Asciz <init>;
const #8 = Asciz ()V;
const #9 = Asciz Code;
const #10 = Asciz LineNumberTable;
const #11 = Asciz equals;
const #12 = Asciz (Ljava/lang/Object;)Z;
const #13 = Asciz SourceFile;
const #14 = Asciz SomeClass.java;
const #15 = NameAndType #7:#8;// "<init>":()V
const #16 = Asciz SomeClass;
const #17 = NameAndType #5:#6;// field:Ljava/lang/Object;
const #18 = Asciz java/lang/Object;
SomeClass();
Code:
Stack=1, Locals=1, Args_size=1
0: aload_0
1: invokespecial #1; //Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 1: 0
public boolean equals(java.lang.Object);
Code:
Stack=2, Locals=2, Args_size=2
0: aload_1
1: instanceof #2; //class SomeClass
4: ifeq 29
7: aload_1
8: ifnull 29
11: aload_1
12: checkcast #2; //class SomeClass
15: getfield #3; //Field field:Ljava/lang/Object;
18: aload_0
19: getfield #3; //Field field:Ljava/lang/Object;
22: if_acmpne 29
25: iconst_1
26: goto 30
29: iconst_0
30: ireturn
LineNumberTable:
line 6: 0
} -
Best workflow to select all text in object
I regularly copy text filled objects to reuse them and need to change the text within. Does anyone have a fast way to select all text?
Currently I have to double click the text to get a cursor and then use a control+A to select all text in the box.
I would love to have a single to 2 button press to do this or better yet a fast way to do this with the mouse. Even an contextual right click option would rock!
All ideas appreciated and will be tested.
DavidNice tip! I have also found you can right click to edit text, I wish it would select all when you do that.
-
How to save change in 3D text and Object that being made in photoshop cs6..
I was wondering how do I save change for 3D text and objects.
let said the first text i type is Adobe but i want to change it to Microsoft.
how can I save that change in 3D from Adobe to Microsoft.
thank in advantace.You haven't said what version of Pages you are referring to.
Hold down the option key when you go to the File menu and Save As… appears.
It was Apple stiff necked response to users complaint about its removal. They couldn't just put it back.
Once you do do this it is pretty much what it was before.
Peter -
Read the text in object LFA1 with ID Z001
Hi Guys,
Can u please suggest me how can i read the text in object LFA1 with ID Z001.
Actually my requirement is i have service agent in my internal table.
Z002 is the current pro number..that is ready to use after using that update that current pro # Z002 with the next available in the range...(i.e Z001)
Z001 contains range of Pro number.,. like 848 477 250 to 848 477 740
asume you used the # 848 477 250 in one shipment, update the Z002 with the second one 848 477 251
Can u please suggest me this how can i develop. Just send me the suggestions plese i will do that coding. Lookingforward your kind co operation.
Regards,
RaviBasic call to function is as follows:
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'Z001' "Text ID = 'Z001'
language = 'E' "English
name = 'LFA1' " Not sure if this is correct
object = l_vendor "Vendor with leading zeros
TABLES
lines = l_output "Table of Structure TLINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
I am not sure I have the name and object exactly right - If you display one of the texts in the old style editor and use menu option Goto-->Header you can see these values. Alternatively look in table STXH for text headers to see how the key is constructed.
Andrew -
Find text name of item text of object eban
How to find the text name of item text of object eban.
Thanks,
Sai.Hi
If you want to maintain any text in Purchasing first maintain the texts in Material Master - Purchase Order Text - Click Create / Change the Text in the Space given then
GOTO - HEADER - >
TEXT NAME
TEXT ID : BEST
TEXT OBJECT :MATERIAL
LANGUAGE : EN
Regards,
senthil. -
Long text for object type.
Hi,
Is there any table which stores long text for object type?
I am fetching list of objects from table TADIR for particular user, I am getting objects as DOMA, TABL, PROG ..etc But I want long text for these object type for eg. Domain for DOMA, Program for PROG and so on.. Is there any method to get the long text for object type?
Regards,
Parshuram.Hello Vinod,
Looks like the FM 'TRINT_OBJECT_TABLE' is tightly coupled to SAP CTS & hence the hard-coding! Also i don't see where the long text of the object is returned.
On the contrary if you check the FM 'DOCU_READ' you've the table DOKTL which stores the long text(or the documentation) of the object.
Btw, i'm not sure what did the OP actually mean by "long-text". Does he mean the documentation?
Dammit! I get it now. Imho, "description" should have been a more appropriate word
BR,
Suhas
Edited by: Suhas Saha on Jan 13, 2012 4:57 PM -
Nested object equality - design pattern
Looking to solve a problem in my own code, I wanted to see if and how the problem is solved in the java library.
I would have liked this code to output "true", to see how it's done.
Set set1 = new HashSet();
set1.add("a value");
set1.add(set1);
Set set2 = new HashSet();
set2.add("a value");
set2.add(set2);
System.out.println(set1.equals(set2));Well the code ends with a StackOverflowError on hashCode(). Just using a Set which implements hashCode to return a constant value would shift the problem to the equals-method.
I think one possible solution would be to implement the hashCode method to set a instance variable (computingHash = true) while hashcodes of fields are computed. If the variable is set when hashcode is invoke a RecursiveHashRuntimeException is thrown which is is caught by the invoking hashcode method which would then return a constant value or ignore the corresponding field for hash-computation.
Similarly the equals method would add the obj (passed to equals) to a set (instance variable) named assumeEqualTo, if the obj is in assumeEqualTo when the method is invoked it returns true. The value is removed from assumeEqualTo before the method that added it returns.
This approach would require the equals and hashcode methods to be - at least partially - synchronized (if multithreading is an issue), an alternative would be to use ThreadLocal variables to detect and handle recursive invocations.
I'm not sure how the two approaches compare in terms of performance, and I would welcome any other approach to solve the problem. Note that the class being compared should not be required to know details about the contained classes and the nesting may also be indirect as in:
Set set1 = new HashSet();
Set set2 = new HashSet();
set1.add("a value");
set1.add(set2);
set2.add("a value");
set2.add(set1);
System.out.println(set1.equals(set2));Also it would be nice if the impact on performance could be kept minimal for all instance that happens not to be self-containg.
cheers,
retoshould be slightly different as for sets the orderis
irrelevant
I don't follow. You would presumably only return
true as a whole if every element in the Set also
returned true. So, yes, order is irrelevant. just wanted to say that you must return true iff you find a mapping from set1 to set2 where all elements are equals
No, I mean that if you add a Set to itself, and then
iterate over it, you will implicitly be performing
recursion, leading to a StackOverflowError
eventually. That is why you need to store a
collection (or array) with all the objects already
analyzed. What do you mean by "already analyzed"? I mean how would you prevent recursion with this?
You need to compare what is being
currently being inspected along with checking what
you already processed for object equality (==) so you
do not get the stack overflow.I don't get it, in
Set set1 = new HashSet();
Set set2 = new HashSet();
set1.add(set2);
set2.add(set1);
set1.equals(set2);The equals method returns true iff set2.equals(set1), which would - in the algorithm I proposed - return set1.add(set2) which is true as set2 is contained in the Set assumeEqualTo. I interpreted the contract specified by java.util.Set to return true on equals for indistinguishable object - not sure if this is correct for mutually referencing sets, but pretty convinced for non-refrencing self containing sets, as in my first example or for all sets returned by:
createSet() {
Set s1 = new HashSet();
Set s2 = new HashSet();
s2.add(s1);
s1.add(s2);
}Imho, it would break be against the specification in java.util.Set to return false on createSet().equals(createSet()).
reto -
Change medium texts of Objectives in Scorecard
Hi to everyone, i am very please to join this community, this is my first post.
My problem is with Balanced ScoreCard.
When we display any of the BSC that we have created with the cause-effect chain the objectives are always displayed with the Medium Text.
Is there any chance to see the objectives with the Long text?
I don´t know if it´s a dumb question but i haven´t found anything regarding this question.
Thanks in advance.In the method CONVERT_XML_FOR_CEDESIGN in the line STR = LS_OBJPOS-LTXT the objective is indeed catching the long text and this works for SAPGUI, but when you see the cause-effect chain via Web (in the Balanced Scorecard Launchpad) the medium texts are displayed.
Edit: I found this note 1004788 - Long text for objective in C-E chain that explains exactly what i wanted.
Thanks.
Message was edited by:
Ivan Lopez -
How to properly change the content of text item object
Working in CS3 here.
I have a collection of text item objects from a grep search.
I want to iterate through the items and possibly change the values depending on a conditional statement.
So say I have a collection myTextObject that contains text item objects from a GREP search
<code>
for (var i = 0; i<myTextObject.length; i++) {
if (myTextObject[i].content == "myCondition") {
myTextObject[i].content = "My New Value";
</code>
Once I do that, all the other content values in my collection are one byte off. So I am guessing that when the collection is created, Indesign sets a byte limit on the collection and when content is replaced, it sets everything off.
I understand that the collection is built from the beginning of the document so possibly iterating backward would solve the problem?
Any other suggestions here?yep. iterating backwards shoud help.
-
How to find the text id & object name to be used with read_text ?
Hi All
how to determine the text id & object name associated with PO to be used with FM read_text ?
Regards
JamanHi,
For PO there will be Header Texts and Item texts.
For header texts just Take the PO number as TDNAME.
for Item texts Conactenate the PO number and Item Number and use as TDNAME.
in ME23N Go to any text.Double click on it
It will take you to text editor.
GOTO-> header
it will display the TEXT ID,TEXTNAME,LANG and TEXT OBJECT etc
Similarly for every text you will find and use;
Regards,
Anji -
Question about "java.lang.Object.equals()".
public class TestEquals {
private int a;
private int b;
public TestEquals(int a,int b) {
setA(a);
setB(b);
public int getA() {
return a;
public void setA(int a) {
this.a = a;
public int getB() {
return b;
public void setB(int b) {
this.b = b;
public static void main(String[] args) {
TestEquals te01 = new TestEquals(1,2);
TestEquals te02 = new TestEquals(1,2);
System.out.println("te01 equals to te02: " + te01.equals(te02));
te01.setA(2);
System.out.println("te01 equals to te02: " + te01.equals(te02));
}The result is:
te01 equals to te02: false
te01 equals to te02: false
Why the first case is false?You didn't override Object.equals() in your TestEquals class. So, you are calling Object.equals(), which just compares reference values. You need to write your own equals() method (presumably, make sure te01.a==te02.a and te01.b==te02.b). Depending on what you do with your objects, you would want to override Object.hashCode(), too.
Maybe you are looking for
-
Compatibility of the ipod nano 2nd gen to the dock for ipod classic 3rd gen
Is the ipod nano 2nd generation compatible to work with the old dock for the 3rd generation of ipod classic?
-
attempting to update my i phone apps my password to update my apps is different from my email passwork
-
Mouse not working after latest Microsoft updates for Vista
After installing the latest series of Windows updates for Microsoft Vista on my Boot Camp installation, the mouse quit working. I am using a mighty mouse, but any mouse plugged in resulted in an error message that it could not install the correct dri
-
Since I updated to Lion iTunes does not start (launch) automatically when i connect my iPhone. I have ticked in the box. I have reinstalled iTunes. I have Mac OS X 10.7.2 I have iTune 10.5.2 Any ideas?
-
hi am basically MM i configured workflow for pr its working properly but how can i configure for 1. overdues 2. Dead line monitoring 3. incorrect entries can u explain me little bit actually my reqmt is even after some days(Ex: 5 days) if he has not