Auto fit table in object frame?
Hi
I'm setting up a spec sheet and have a 7.5" object filled with a solid colour/1pt stroke. I also have a table which I'm trying to insert and I'm having a heck of a time trying to align everything perfectly. I'd like if possible to set the table inside the 7.5"object frame, have no stroke on the table columns and expand the table automatically to snap to the inside edge of the stroke of the 7.5" object I'm inserting the table. Right now I'm using the 'T' tool to adjust the table and it ain't working ;-))
Thanks..
It's still a bit unclear. How about an image? (Use the Camera Icon on the web forum to insert images.)
This Javascript sets the width of the table the cursor is in to 7.5" exactly:
if (app.selection.length == 1)
myTable = app.selection[0];
if (myTable.hasOwnProperty ("baseline"))
myTable = myTable.parent;
if (myTable instanceof Cell)
myTable = myTable.parent;
if (myTable instanceof Row)
myTable = myTable.parent;
if (myTable instanceof Column)
myTable = myTable.parent;
if (myTable instanceof Table)
myTable.width = "7.5 in";
Similar Messages
-
Frame fitting options in object styles
We are producing multiple pages using tagged templates and importing xml - to populate both text and images.
Back in CS3 - our object styles using frame fitting worked perfectly. Since we have upgraded to CS5 and now CS6 - when xml is imported the frame fitting element of our object styles are no longer being honoured - when clicking on the object frame, it shows the style has been applied but with overrides - and it is adding random offsets to the frame fitting crop settings.
We are producing large numbers of pages through xml automation, therefore it's very time consuming to open every page and clear overrides/reset frame fitting on every affected graphic.
I've seen on other questions/forums that this may be a known bug - anyone have any up-to-date info on fixes or workarounds?
Thanks for your help :-)Hello,
We have a free startup script that clears the overrides after a place action.
http://www.kerntiff.co.uk/free-stuff/afterplaceobjectreseter
P. -
Morning Everyone;
I was wondering if someone could tell me how to set up Indesign so the text autofit settings I created are active whenever I open and start to use Indesign?
I have already tried to set the options with no documents open and it defaults to off.
ThanksD'UHHHHH.
I mis-understood.
What I've been telling you to do is change the Auto-Size for Text frames.
For Auto-fit, with no document open, open the Object Styles panel, and double click Basic Graphics Frame. Choose Frame Fitting Options from the left side and set them.
Now, with no document open, choose the Rectangle Tool (M), and click Basic Graphics Frame.
From now on the Auto-Fit will be what you want. -
Accessibility: Reading order of tables and anchored frames
I am creating accessible, tagged (section 508 compliant) PDFs in FrameMaker 9. The reading order for tables and frames is not correct.
When I view the PDF reading order using Adobe Acrobat Professional or another screen reader, anchored items such as tables and anchored frames are placed last in the reading order, regardless of where they appear in the document flow or page layout. The reading order skips over all tables and frames, reading all paragraphs on a page first, then reading the tables and frames as the last objects on the page. This logically doesn't make sense to skip over tables/frames as they generally apply to the content that preceeds it.
For example, the following document structure:
<Paragraph 1>
<Table 1>
<Paragraph 2>
<Anchored Frame 1>
<Paragraph 3>
<Anchor Frame 2>
<Paragraph 4>
is being read by assistive technology as:
<Paragraph 1>
<Paragraph 2>
<Paragraph 3>
<Paragraph 4>
<Table 1>
<Anchored Frame 1>
<Anchor Frame 2>
I want the document structure to be read correctly as intended.
In otherwords, the PDFs generated by FrameMaker 9 are not completely accessible because of incorrect reading order output by default. This information is not listed in the VPAT for FrameMaker 9.
I want to avoid any post processing using Acrobat's Touch Up Reading Order tool. Is there a way to automate updates to reading order?
Can FrameMaker 9 logically place tables and anchored frames into the correct reading order? How do I adjust these settings?
Thanks in advance!As mentioned above, tables and anchored frames are inserted into thier own paragraph style "Frame". The paragraph style "Frame" is tagged. To my knowledge, there are no options for tagging or not tagging tables or anchored frames.
Regardless of which paragraph type the table or anchor frame is inserted into, and what that paragraphs tagging settings are, it is still last in the reading order.
I've tried a variety of options: tagging the "Frame" paragraph style as a sibling, child, and parent of my other paragraphs; I've even tried omitting it from the reading order. None of these options present anchored frames (and tables) in the logical reading order.
Even images that are inline (within a paragraph; not in thier own paragraph) are not being read as part of the paragraph. Inline images get skipped over by screen readers and get read at the end of the page, which makes no sense whatsoever.
All tables and images end up at the end of the reading order (after ALL paragraphs) regardless of the tagging settings.
Refer to my previous screenshot for a clear diagram of what is happening to the reading order. Each of those anchors is in it's own paragraph style. I want tables and anchored frames to be sequential in the reading order along with paragraphs. (1,2,3,4,5,6 not 1,4,2,5,3,6.)
I'm using the Tags tab of the "PDF Setup" dialog to adjust these settings. Is there somewhere else I should be making changes to the reading order?
This is a bit disturbing because FrameMaker touts creating accessible documents and this severe reading order issue impares my ability to do so. I would not consider documents that jump around the page in an illlogical, fixed order, to be accessible. I'm very suprised that no one else has encountered this issue (at least that I can find...) -
A way to set the default Data tab display format to "Auto-Fit, Best-Fit"?
Is there a preference to set the Data tab for tables and views to default to "Auto-Fit" and "Best-Fit"?
John.No. You can request it at the SQL Developer Exchange.
K. -
How Auto Fit column in DataGrid
Is it possible to set autofit in DataGrid column ?
Without auto fit the users must resize the table every
time.Please Check this example
http://www.flex4ex.com/?p=24 -
Hi,
I'm working with hundreds of images in ID CS5 and would like to use the Auto-fit tool. It doesn't work for me the way it works in the video tutorials. When you select images and check the Auto-fit box, it's supposed to allow you to scale images along with their frames automatically.
In my case, when I highlight two or more images and check the Auto-fit box, the images instantly disappear. The only clue is that in the Links view, the page numbers change to "PB". This would indicate that the images have been sent to the pastboard. However, I've painstakingly searched the whole document for them, even shut off each layer, one at a time. They don't seem to be anywhere or on any pasteboard area. Unchecking the box doesn't bring them back. The only work-around to get them back is to "undo" the operation. Anyone else have this happen?
Thanks.Interesting, thanks Eugene. I couldn't find a Zoom to Fit command anywhere in ID incl. the manual. However, I did try the main Fit Frame to Content buttone. This reveals the images as being around 20 inches down and to the right of the page, way off in never neverland! I never put my images anywhere but in their frames. Happens repeatably with all my images. The Fit Content to Frame and Center in Frame buttons do bring the images back into the frame again, similar to saying Undo. There's got to be something wrong with the code, this seems crazy.
-
Need solution for auto-fit problems
I've got a form with 7 text boxes that I'm looking to get copy to auto-fit properly. I'd also like to flow the content without having to start from scratch with a new form.
Here are my problems:
- "Expand to fit" is grayed out for both the height and width on every text box.
- "Allow page breaks within content" and "Keep with next" are also grayed out on every text box.
- I also have "make fixed-size text object auto-fit while editing" checked to perform in my options and it's not doing that at all.
HELP!!!! Thanks.
Gabriel DaigleTried this. Didn't work. All those items mentioned previously, as well as anything having to do with subforms, are grayed out. Even tried a new document with flowable layout, added text boxes, and everything is still grayed out. Any other solutions out there?
-
How to remove empty object frame.(rectangle without image)
I try the below code but it delete tables inside rectangle. i tried in javascript.
var doc = app.activeDocument;
var myPages = app.activeDocument.pages;
for (var p = 0; p < myPages.length; p++)
var myGraphicFrames = app.activeDocument.pages[p].rectangles;
for (j = myGraphicFrames.length - 1; j >= 0; j--)
if (myGraphicFrames[j].graphics.length == 0)
app.selection = myGraphicFrames[j];
alert (app.activeWindow.activePage.name); -
Hi ,
The row by row auto fit in desktop intelligence is working fine but the same not working with infoview, tested with latest patch XI R2 SP4 4.5 issue reproduced .
Regards,
RohitADAPT01122155 Description:
Observed Behavior
Deski report from infoview (Html mode) shows differences in view as compared to the same report in desktop intelligence client. Deski client has"wrap text" and "Row by Row auto fit" option enabled in desktop intelligence, for all the columns in the deski report. When the same report is exported to the repository and viewed from infoview in html mode, at some cells the table cells borders overlap the text, at times only partial text is displayed in the cell, rest of the text is missing. -
Is there a way I can set photos to auto fit or fill when I resize a frame?
<CS3><br />I'm surprised that I can't set the frame fitting options (fitting on empty frame) as a default (ie with no documents open).<br /><br />I want all new frames I create to have a particular property (ie Fit Content Proportionally) but this doesn't work. All new frames default to 'None'.<br /><br />Am I missing something, or was I right to request this as a new feature?
-
I am facing a strange SQL exception:-
The code flow is like this:
.Net 4.0 --> Entity Framework --> SQL 2008 ( StoredProc --> Function {Exception})
In the SQL Table-Valued Function, I am selecting a column (nvarchar(50)) from an existing table and (after some filtration using inner joins and where clauses) inserting the values in a Table Type Object having a column (nvarchar(50))
This flow was working fine in SQL 2008 but now all of sudden the Insert into @TableType is throwing "string or binary data would be truncated" exception.
Insert Into @ObjTableType
Select * From dbo.Table
The max length of data in the source column is 24 but even then the insert statement into nvarchar temp column is failing.
Moreover, the same issue started coming up few weeks back and I was unable to find the root cause, but back then it started working properly after few hours
(issue reported at 10 AM EST and was automatically resolved post 8 PM EST). No refresh activity was performed on the database.
This time however the issue is still coming up (even after 2 days) but is not coming up in every scenario. The data set, for which the error is thrown, is valid and every value in the function is fetched from existing tables.
Due to its sporadic nature, I am unable to recreate it now :( , but still unable to determine why it started coming up or how can i prevent such things to happen again.
It is difficult to even explain the weirdness of this bug but any help or guidance in finding the root cause will be very helpful.
I also Tried by using nvarchar(max) in the table type object but it didn't work.
Here is a code similar to the function which I am using:
BEGIN
TRAN
DECLARE @PID
int = 483
DECLARE @retExcludables
TABLE
PID
int NOT
NULL,
ENumber
nvarchar(50)
NOT NULL,
CNumber
nvarchar(50)
NOT NULL,
AId
uniqueidentifier NOT
NULL
declare @PSCount int;
select @PSCount =
count('x')
from tblProjSur ps
where ps.PID
= @PID;
if (@PSCount = 0)
begin
return;
end;
declare @ExcludableTempValue table (
PID
int,
ENumber
nvarchar(max),
CNumber
nvarchar(max),
AId
uniqueidentifier,
SIds
int,
SCSymb
nvarchar(10),
SurCSymb
nvarchar(10)
with SurCSymbs as (
select ps.PID,
ps.SIds,
csl.CSymb
from tblProjSur ps
right
outer join tblProjSurCSymb pscs
on pscs.tblProjSurId
= ps.tblProjSurId
inner join CSymbLookup csl
on csl.CSymbId
= pscs.CSymbId
where ps.PID
= @PID
AssignedValues
as (
select psr.PID,
psr.ENumber,
psr.CNumber,
psmd.MetaDataValue
as ClaimSymbol,
psau.UserId
as AId,
psus.SIds
from PSRow psr
inner join PSMetadata psmd
on psmd.PSRowId
= psr.SampleRowId
inner join MetaDataLookup mdl
on mdl.MetaDataId
= psmd.MetaDataId
inner join PSAUser psau
on psau.PSRowId
= psr.SampleRowId
inner
join PSUserSur psus
on psus.SampleAssignedUserId
= psau.ProjectSampleUserId
where psr.PID
= @PID
and mdl.MetaDataCommonName
= 'CorrectValue'
and psus.SIds
in (select
distinct SIds from SurCSymbs)
FullDetails
as (
select asurv.PID,
Convert(NVarchar(50),asurv.ENumber)
as ENumber,
Convert(NVarchar(50),asurv.CNumber)
as CNumber,
asurv.AId,
asurv.SIds,
asurv.CSymb
as SCSymb,
scs.CSymb
as SurCSymb
from AssignedValues asurv
left outer
join SurCSymbs scs
on scs.PID
= asurv.PID
and scs.SIds
= asurv.SIds
and scs.CSymb
= asurv.CSymb
--Error is thrown at this statement
insert into @ExcludableTempValue
select *
from FullDetails;
with SurHavingSym as (
select distinct est.PID,
est.ENumber,
est.CNumber,
est.AId
from @ExcludableTempValue est
where est.SurCSymb
is not
null
delete @ExcludableTempValue
from @ExcludableTempValue est
inner join SurHavingSym shs
on shs.PID
= est.PID
and shs.ENumber
= est.ENumber
and shs.CNumber
= est.CNumber
and shs.AId
= est.AId;
insert @retExcludables(PID, ENumber, CNumber, AId)
select distinct est.PID,
Convert(nvarchar(50),est.ENumber)
ENumber,
Convert(nvarchar(50),est.CNumber)
CNumber,
est.AId
from @ExcludableTempValue est
RETURN
ROLLBACK
TRAN
I have tried by converting the columns and also validated the input data set for any white spaces or special characters.
For the same input data, it was working fine till yesterday but suddenly it started throwing the exception.Remember, the CTE isn't executing the SQL exactly in the order you read it as a human (don't get too picky about that statement, it's at least partly true enough to say it's partly true), nor are the line numbers or error messages easy to read: a mismatch
in any of the joins along the way leading up to your insert could be the cause too. I would suggest posting the table definition/DDL for:
- PSMetadata, in particular PSRowID, but just post it all
- tblProjectSur, in particularcolumns CSymbID and TblProjSurSurID
- cSymbLookup, in particular column CSymbID
- PSRow, in particular columns SampleRowID, PID,
- PSAuser and PSUserSur, in particualr all the USERID and RowID columns
- SurCSymbs, in particular colum SIDs
Also, a diagnostic query along these lines, repeat for each of your tables, each of the columns used in joins leading up to your insert:
Select count(asurv.sid) as count all
, count(case when asurv.sid between 0 and 9999999999 then 1 else null end) as ctIsaNumber
from SurvCsymb
The sporadic nature would imply that the optimizer usually chooses one path to the data, but sometimes others, and the fact that it occurs during the insert could be irrelevant, any of the preceding joins could be the cause, not the data targeted to be inserted. -
Can't figure out how to add bars to reformat 16:9 video to fit a 4:3 frame
Hi all, I'm a long-time user of iMovie 5, and a professional Avid video editor. On my home computer, however, I have some serious issues using the "dumbed down" version of iMovie '08 which, unfortunately, it seems I must use if I want to avoid purchasing new software, and don't feel like trucking my personal work to the office.
Usability issues aside, I'm at a total loss as to how to reformat my imported video clips. At the moment I have a .dv file which is exported from FCP in a 16:9 format. I want to take this into iMovie '08, format it to fit a 4:3 window, add it to a bunch of other clips, and export a finished 4:3 movie to then put on DVD.
Importing is fine, editing is meh but works (sorry, I'm a snob), and exporting works fine, but I can't for the life of me figure out how to put a reformat on the video. The goal is to have black bars on the top and bottom of the video image, squeezing the anamorphic 16:9 video down so that people don't look vertically stretched in a 4:3 window.
What I do NOT want to do is crop out any of the video footage. The goal is to keep all of the video, and just add the black to the top and bottom in order to make it look, well, normal. For the life of me, I can't figure it out. it looks like this would be something that the Crop / Fit tool does, but that won't let me extend the fit outside of the frame of the video, nor will it let me put a 16:9 fit inside of the 4:3 viewing window (I only have a 4:3 option when in 4:3 mode, and only have a 16:9 option when in 16:9 mode).
Thank you very much for your insight.
PS: Just as an aside, why on earth did apple move iMovie '08 away from timeline-based editing? The old iMovie versions were quite powerful editing suites in their own right - even with limited video and audio layers. The '08 version seems to just hate users who want to do anything remotely close to frame-specific edits.I guess I've got to add the flags back in somehow? The weird thing is that the movie is the correct aspect ratio in iTunes and Quicktime, just not iMovie '08.
iTunes, QT Player, and previous versions of iMovie all relied on the "Current Display Size" setting to set the aspect ratio. (I.e., you can modify this setting and change the aspect ratio by merely changing the display size in QT Pro and re-saving the file for these apps.) Unfortunate, iMovie '08 looks for the flag for the main display/export, and, if Apple hasn't changed things, uses the "current display size" to set the aspect ratio of the thumbnails... Weird.
How would I add those flags back in? Can I just open in quicktime and save a new copy? Or am I going to have to contact the original source of the material and have him export it again (with different settings? And what settings would those be? He's coming from FCP).
If the content is of exceptional quality, you could try re-exporting it in MPEG Streamclip using the "Export to DV..." option. This will re-flag the file with the aspect ratio you select in the export window. Also, be advised that performing destructive edits in iMovie '08 that forces the data to be re-written to new containers will lose the flag in the process unless Apple has made some recent changes to avoid this. -
How can I fill a table of objects from cursor with select * bulk collect???
Hi All, I have a TYPE as OBJECT
create or replace type dept2_o as object (
deptno NUMBER(2),
dname VARCHAR2(14),
loc VARCHAR2(13));
I can fill a table of objects from cursor with out select * bulk collect...., row by row
declare
TYPE dept2_t IS TABLE of dept2_o;
dept_o_tab dept2_t:=dept2_t();
i integer;
begin
i:=0;
dept_o_tab.extend(20);
for rec in (select * from dept) loop
i:=i+1;
dept_o_tab(i):=dept2_o(
deptno => rec.deptno,
dname => rec.dname,
loc =>rec.loc
end loop;
for k IN 1..i loop
dbms_output.put_line(dept_o_tab(k).deptno||' '||dept_o_tab(k).dname||' '||dept_o_tab(k).loc);
end loop;
end;
RESULT
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
But I can't fill a table of objects from cursor with select * bulk collect construction ...
declare
TYPE dept2_t IS TABLE of dept2_o;
dept_o_tab dept2_t:=dept2_t();
begin
dept_o_tab.extend(20);
select * bulk collect into dept_o_tab from dept;
end;
RESULT
ORA-06550: line 6, column 39;
PL/SQL: ORA-00947: not enough values ....
How can I fill a table of objects from cursor with select * bulk collect???create or replace type dept_ot as object (
deptno NUMBER(2),
dname VARCHAR2(14),
loc VARCHAR2(13));
create table dept
(deptno number
,dname varchar2(14)
,loc varchar2(13)
insert into dept values (10, 'x', 'xx');
insert into dept values (20, 'y', 'yy');
insert into dept values (30, 'z', 'zz');
select dept_ot (deptno, dname, loc)
from dept
create type dept_nt is table of dept_ot
declare
l_depts dept_nt;
begin
select dept_ot (deptno, dname, loc)
bulk collect
into l_depts
from dept
for i in l_depts.first .. l_depts.last
loop
dbms_output.put_line (l_depts(i).deptno);
dbms_output.put_line (l_depts(i).dname);
dbms_output.put_line (l_depts(i).loc);
end loop;
end;
/ -
Issue with internal table in object oriented ABAP.
Hello Gurus,
I am having trouble defining internal table in Object oriented ABAP. for following:
DATA: BEGIN OF IT_TAB OCCURS 0.
INCLUDE STRUCTURE ZCUSTOM.
DATA tot_sum TYPE char40.
DATA END OF IT_TAB.
Can someone help ?
Regards,
Jainam.
Edited by: Jainam Shah on Feb 5, 2010 8:33 PM
Edited by: Jainam Shah on Feb 5, 2010 8:33 PM
Moderator message - Please post in the correct forum. You can easily find out for yourself by looking at SAP help for internal tables using OOP - thread locked
Edited by: Rob Burbank on Feb 5, 2010 2:49 PMNo, you can not declare internal table with header line in OO context. You have to declare the work are/header line separately
Example:
TYPES: BEGIN OF ty_it_tab.
INCLUDE STRUCTURE mara.
TYPES: tot_sum TYPE char40.
TYPES: END OF ty_it_tab.
DATA: it_tab TYPE STANDARD TABLE OF ty_it_tab.
DATA: wk_tab TYPE ty_it_tab.
LOOP AT it_tab INTO wk_tab.
ENDLOOP.
Edited by: Dean Q on Feb 5, 2010 8:50 PM
Maybe you are looking for
-
Como identificar se um imposto no B1 é retido na fonte ou não?
Caros, preciso fazer um relatório demonstrando os valores de impostos retidos na fonte e o valor dos impostos não retidos. Como identifico no B1 que o imposto deve ser retido? Grato
-
How do I deauthorize a computer I can no longer access?
I have five machines authorized on my account, but I only have two of the computers still. I will be getting a new one in the next couple of weeks, and will want to authorize that one. HOw can I deauthorize the ones I don't have any more? They are wi
-
Creating a XMLfile using pl/sql procedure.
Hi, I have a scenario here. I have to create a XML file, in a perticular format. Since its not a well formed XML format, I am facing issues while creating the file. The XML file format is as below. <SECTION>10-B</SECTION> <?xml version="1.0" encoding
-
Where is the Motion 5.0.1 update?
I looked at the "About Motion" box to see what version I have. It says 5.0. I wondered if there was an update, so I started to search. 30 minutes later, I'm no closer than when I started. The first obvious thing I did was choose Software Update from
-
Hi, We've sites with 60 ap's and one ap is the wds-ap, when we've running ios 12.3(8)JA witch our ap1200's we've got for instance: #sh wlccp wds AP Count: 59 , MN Count: 235 when we're running ios 12.3(8)JEC we're getting an AP count of 32 en the res