Place the file xlsx directly in the table
Hello, as always thank you for your help. I'm not sure if I should have placed three questions, forum ettiquette, and would someone please tell me if I should not have combined questions in one post.
I'm embarrassed myself so please bear with the simplicity of questions.
Here's the script:
1. I don't think that you can place a XLSX spreadsheet in an existing table. If you import a XLSX spreadsheet, it is treated as text imported; You can place as a new object (a block of text that contains a table that contains your data) or use the 'replace', which will be actually empty an existing framework and put the new text (/ table) inside.
2 textFrameEdd = docEdd.pages.item (0).textFrames.item (0).words.item (0) .applyParagraphS tyle (docEdd.paragraphStyles.item ('INDENTparaBody'))
That should work - but "applyParagraphStyle" does not return any value, it is just a function that applies the settings immediately. It returns "null", which means, your textFrameEdd variable will have the value "null" (or "undefined" or sth).
A small note is that you don't have to target a Word, since paragraph styles can be applied to entire paragraphs. Personally, I use the shortcut 'indexed direct' form [0] instead of ".item (0)", so I'd probably write it as
docEdd.pages [0] .textFrames [0] .paragraphs [0] .applyParagraphStyle (docEdd.paragraphStyles.ite m ('INDENTparaBody'));
An alternative is the following, by the way:
docEdd.pages [0] .textFrames [0] .paragraphs [0] .appliedParagraphStyle = docEdd.paragraphStyles.item('INDENTparaBody');
3 per, 2 your variable is cleaned, so you can no longer use it. Also (and especially), you cannot apply a table style to the text, which, apparently, you try to do. You should target the table itself instead:
docEdd.pages [0] .textFrames [0] .tables [0] .appliedTableStyle = docEdd.tableStyles.item('altROWtable');
Tags: InDesign
Similar Questions
-
Is it possible to place the table and the text online?
Hi all
I have a table need to align with the numbered list. Is it possible in line of the table and text on a single line. EX: 6.12 and top of the 'text' must align horizontally.
See the screenshot of the problem.
Currently what I do, it is to place the table in separate frame and place it online using the option of the anchor.
Thanks in advance.
Kasi
We could use the options for text blocks to position the first line.
Fixed value set to 0.And a table style that would govern the distance before and after a table.
If you wish, set both values to 0 .We could also do a minimum in the lead with the paragraph formatting to separate paragraph following with the next table.
Best,
Uwe -
Clicking on attachments .docx screen just fashes briefly, but then nothing happens. I need to download the .docx files, then they open normally.
With .xlsx clicking these attachments open normally
I also have the problem. TB 24.6, MS Word 2010 (via Office pro 2010) attachments (doc and docx) options are set to open in Word format. When you click on, the screen flashes and... nothing. I can save, detach, and the document works as usual. Just TB will not open of in. PowerPoint, excel works via clicking on the attachment... simply no word
-
Generate the table of contents with chapter markers?
It has been a while since I had to install and create a table of contents for a long document of single file, but I'm sure that I created TOCs in this way in the past. Then, why the text in the Section markers will appear in the table of contents? It is even possible to generate a table of contents that contains text of article marker?
I use InDesign CS5 in Windows. I have a file single document I'm trying to generate a table of contents for. I designed a 16-page manual in an inDesign file that includes a cover page, table of contents page and seven "chapters."
I created a separate section for each 'chapter' and used Chapter markers in the top of the page master for chapter names. It's something I did in the past of syntactically long documents containing several chapters.
I put the first page of each 'chapter' as a new Section on the Pages panel. In numbering and Section Options for each page, I checked the Section getting started, Automatic Page numbering, the Style of Page numbering: 1,2,3,4... and in Section marker: I put the name of 'chapter' in the text box.
I've set up paragraph and character Styles and has used throughout my document. When I put in place the table of contents I created everything correctly, including a heading style that I used for all the sub lines in my file and my style of Section marker for chapter names.
When I insert the table of contents, generate headers sub with their page numbers, but the titles of the chapters which are chapter markers do not generate. Am I missing something or is it still possible to enter the text of chapter markers in a table of contents? I'm sure that he's worked in the past. Can anyone offer a solution for this?
Thank you
Kat
Looks like the markers section present only in the table of contents if they are on a document page. Try manually to the substitution of the frame.
-
[CS5 Server/JSX] Generate the table of contents at the beginning of the document
Hello
The following script generates a table of contents:
myTOCStyle = myDocument.tocStyles.itemByName("TOC"); myMasterSpread = myDocument.masterSpreads.item("A-Master"); myTocPage = myDocument.pages.add(LocationOptions.AT_BEGINNING, myMasterSpread); myIndexFrame = myDocument.textFrames.lastItem(); myBounds = myIndexFrame.geometricBounds; myX1 = myBounds[1]; myY1 = myBounds[0]; myDocument.createTOC(myTOCStyle, true, undefined, [myX1, myY1]);
When I run this Script on the InDesign CS5 server, it generates a table of contents, but it is not placed on the page just added at the beginning. It is placed on the first page containing the content where the table of contents is generated from. Also the added page at the beginning does not contain the elements of the master page, it's just a page of blanco.
When I run this Script on InDesign CS5 to office, the table of contents are placed on the first page added with this script. Also, does this page contain master page items!
How is it possible to place the table of contents (with overflow text) before the first page containing the content. The page that contains the table of contents should contain elements of the master page.
Sjoerd
myTextFrame = myStory[0].textContainers[0];
He lacked the monarticle after [0]
-
Formatting fonts when you place great files.
I need help. I am creating a catalog for my company and we use a "fonts owners." We use an excel sheet spread the link between our data in the ID file, as our prices change one or two times a year and I don't want to keep having to change the cataloge one line at a time. When I place the excel file and change the font and make setting up everything is good. It is only when I change a price in the excel file and update the ID file (cs5) that ID becomes my Times New Roman font. Is it possible to have the formatting of police ID so I don't have to change the police keep everything whenever I update the excel file?
Thank you
David
If you place the table as a formatted table all the formatting Excel will come with it.
Bob
-
I used FlashHelp to generate output for a project so the output folder has a structure, now while deploying the server if I make changes in the structure of output file/folder it will affect the "table of contents" or any other characteristic.
Also, while deploying the o/p in files on the server what needs to be done so that the new custom skin (which i using flash) appears to the help pages for my request, as I call the o/p my request htm files directly by using a script.
I hope that the explanation I posted is understandable.
Hi kiki_04 and welcome to the HR community.
The output of your project files cannot be moved or renamed without breaking the links throughout your project. Any changes made to folders or files MUST be made inside your RoboHelp project. It is best to think of your output in a single file, even if it is not. In other words, your output may be moved between places in its entirety
In regards to your new skin, it must be imported into your RoboHelp project and specified within your layout of the FlashHelp single source.
-
Hello
My places.sqlite file size is 30 720 KB I reached the maximum size, is there a maximum size for this.
Suddenly the visited links don't change is no longer the font color, that I prepare for an exam, I need visited issues to change color, to follow up on issues that I ended. But if I delete a few days of history, then again once, most visited links change color and then it stops, it seems that something is getting full and not able to accommodate more? Why my visited links don't change color after a number of visits? I would like to make a back up of the file places.sqlite. So I tried everything to remove the profile, uninstalling reinstalling, creating a new profile, and then copy paste places.sqlite etc, but as mentioned after a few visits, visited links is no longer change color, if I delete a few days in history and then a few visits is again change color and then stop again, so what should I increase so that my quota of visited links is increased , I also tried tweaking about: config and there has been no result. Although I was not really convinced that _pages growing brower.history_max (don't remember the name, but I'm sure you get the idea) will help.
Seems that while my visited links change color, quota is met and only if I delete the history of a few days will I get some links most visited to change color. Can someone enlighten us? As mentioned that my places.sqlite file size is 30 720 KB so I think maybe this has something to do with it? Would be very grateful if someone could help me. Thank you.Sorry it is not looking good.
- Unlike bookmarks history is not saved in Firefox.
- There is a possibility using Windows.
- Sync is not expected to back up things until the synchronization server
- If places.sqlite does not sort itself you may have to re-create remove it. You will lose your history, but can still access indirectly IF you have saved a copy of the appropriate
- Different databases to try to create new profiles
- History
is rather less robust than bookmarks, you should deliberately somehow return it upward, but it's too late now - Earlier versions of Windows
This is really the last chance. Make sure you have some places.sqlite you saved. Always before and after any attempt to restore the backup. Windows must be able to provide a previous version. One of these versions may be usable as is; or can be used after a repair with housekeeping. Of course, this is not the latest version but it should help. - Sync is not a server backup service.
Sync is intended to save on another device, no backup is the fact that the second device then contains synchronized information. IIRC Sync development ceased, and the replacement when available may include a server backup option. - Recreate the database of bookmarks (including history)
Unfortunately, recess can only use saved bookmarks, there is no saved history to use. Once the database is re-created, it will continue to store the history but it loses the existing history. This time take steps to save on a regular basis.- The backup profile or at least the places.sqlite in this
Backup and restore Firefox profiles information
https://addons.Mozilla.org/en-us/Firefox/addon/FEBE/ - http://KB.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox#Rebuild_Places_database
- The backup profile or at least the places.sqlite in this
- Use the new profiles for database testing.
To simplify comparison of the results of the database different files create one or more new additional profiles. Then try to smash the places.sqlite file into the test profile with any other places.sqlite, you want to try. Allows you to directly compare the databases, without seeking to use sync and without changing the Firefox profile work unnecessarily. You can keep a reference profile of studies with the best of the profiles of any shows results of history; According to the best recreated or corrupted database is.- Use the Profile Manager to create and delete profiles Firefox
- CARE, do not rename or delete profiles created once or use anything other than empty folders when they are created. Don't nest in the other profiles. (At least until you know exactly how it behaves - post back if you never consider such actions)
-
Size of the table only includes not Keynote - can not enter directly px
I inserted a table on a slide, and he made two unexpected things:
1. it will not allow me to directly enter a width of table in pixels - as soon as I enter a value, it returns to the original value. The only way I can change the size of the table is with the up/down arrows, essentially pushing a pixel at a time.
2. when I add an additional column, rather than tighten it in the width of the table by adjusting the size of the existing columns, it blows the table out of the slide area, and I have to manually resize the table to accommodate.
I have looked through all the parameters of the table and just cannot find why it behaves in this manner, which is different from the other tables I've created in the past.
- You are right. Selecting the Table tab and reduce line and column values will shrink your table, but the table resizing is not supposed to work this way.
- Control-click or two fingers press the alphabetical table header and select Add column after from this menu. The new column is added in place, and the other columns shrink and walk left to accommodate the new column, while the table itself does not move.
-
Get the table to an XML file with several bays
Hello
So I was faced with this program I have for the past few months but I'm almost there. I have a program that creates several berries and place one after the other in an xml file, and each table has its unique name. Now, I would create a VI that takes this XML file and when the user enters the name of the table specific they are seeking it goes into the xml file concludes the table in its entirety under this name and displays in an indicator of output to be read on the VI. A sample of my xml file and the VI that creates this xml file is attached.
Thank you
dlovell
Something like this should work for you.
-
Hi guys,.
IAM trying to find a plsql/pkg process that creates a file for example myiphones.txt (with content) and save this file as BLOB directly in a table in the DB (not on file system moreove there is no access to the file system) - Ive studied this but nothing about other than as_pdf3 that iam still working on.
Here are the summarized steps:
-------------------------------------------
1. run plsql to create a single file like myiphone.txt,
2. in this (myiphone.txt) inserts a record content from another table EMP as,
MYiPhone.txt
============
Greg Taylor,
Mike Owen
3 then finally record this (myiphone.txt) in another table MYFILES as BLOB - Note Please that I don't want to not refer to file system manager and I have not access to it for the time being,
I hope it is clear
no idea about the way to handle this is appreciated?
Thank you.
You can try this:
Data are from a clob table.
DECLARE L_BLOB BLOB; L_CLOB CLOB; L_DEST_OFFSET INTEGER := 1; L_SRC_OFFSET INTEGER := 1; L_LANG_CONTEXT INTEGER := DBMS_LOB.DEFAULT_LANG_CTX; L_WARNING INTEGER; L_LENGTH INTEGER; BEGIN -- create new temporary BLOB DBMS_LOB.CREATETEMPORARY(L_BLOB, FALSE); --Select CLOB SELECT CLOB_VAL INTO L_CLOB FROM MY_TABLE; -- tranform the input CLOB into a BLOB of the desired charset DBMS_LOB.CONVERTTOBLOB( DEST_LOB => L_BLOB, SRC_CLOB => L_CLOB, AMOUNT => DBMS_LOB.LOBMAXSIZE, DEST_OFFSET => L_DEST_OFFSET, SRC_OFFSET => L_SRC_OFFSET, BLOB_CSID => NLS_CHARSET_ID('WE8MSWIN1252'), LANG_CONTEXT => L_LANG_CONTEXT, WARNING => L_WARNING ); -- determine length for header L_LENGTH := DBMS_LOB.GETLENGTH(L_BLOB); -- Your custom INSERT INTO statement INSERT INTO MY_TABLE (NAME, BLOB_FILE, BLOB_LENGTH ) VALUES ('lala.txt', L_BLOB, L_LENGTH ); EXCEPTION WHEN OTHERS THEN DBMS_LOB.FREETEMPORARY(L_BLOB); RAISE; END;
Concerning
Tobias
-
DB file sequential reads on the table scan complete and LRU (new)
I would like to add a question on the subject
According to MOS doc ument 1457693.1
«.. signs diluvium readings of the caching blocks can be divided into a number of small multiblock and self-contained bed. »
The question is if sequential readings of db file submitted by a FULL SCAN operation will be cached on LRU or MRU list?
I'm afraid the flushes of heat/floods the buffer cache with a lot of FULL SCAN db file sequential reads.
For which direct path series reason readings will be inapplicable, so using this new feature of 11g is out of scope for this question.
Thank you for your interest,
Rainer Stenzel
There are a few different patterns of behavior depends on the size of the table (relative to the size of the buffer cache), but the key question is probably "readings will increment the counter of touch" - because if they are not the blocks will fall the LRU list fairly quickly, if they do then the blocks could (after a few tablescans) eventually be promoted in half hot from the cache.
I did some quick tests (that requires a little care in the Installer) which suggest the number touch was not incremented has therefore not had any effect on the question of if the block would get preferential treatment when they have reached the end of the LRU.
I'm a little puzzled by your expression: "cached on LRU or MRU list" - it's not two different lists; but people talk about "the end of the MRU of the LRU list.
Concerning
Jonathan Lewis
-
Insert and add data to the table to a batch file
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE Production 11.1.0.7.0
AMT for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
My patch to input file looks like this:
A0397990002000001
A0459380377000075
A1291115796000002
C0483110026000080
D0491114923000004
A0348400660000000
G0209111373-
Separate columns look like this:
A0397 990002 000001
account amount of IDN
I'm new to PL/SQL and having a problem changing or adding a record in a table. Don't know how to check if a record exists in the table change if not
Insert the record.
If the quantity is 000000 or - the record should be deleted. I have code in place to do this however, don't know how to handle change or add the part.
Here is the code I have so far and thanks for looking:
Set serveroutput on
create or replace directory user_dir as 'c:\dataformats\incoming\ ';
DECLARE
v_filename VARCHAR2 (100); -The name of the data file
v_file_exists boolean;
number of v_file_length;
number of v_block_size;
f utl_file.file_type;
s varchar2 (200);
lineString varchar (200);
-not used c_ *.
c_account ID_REQ_STG.account%TYPE;
c_IDN ID_REQ_STG. IDN % TYPE;
c_quantity ID_REQ_STG.quantity%TYPE;
ID_REQ_TUPLE ID_REQ_STG % ROWTYPE;
v_account varchar (5);
v_IDN varchar (6);
V_quantity varchar (6);
BEGIN
v_filename: = ' PTCLICK. MANUAL.12SERIES.TXT';
DBMS_OUTPUT. Put_line (v_filename); -the name of the file
UTL_FILE.fgetattr ("USER_DIR", v_filename, v_file_exists, v_file_length, v_block_size);
IF v_file_exists THEN
dbms_output.put_line ("'File Exists");
f: = utl_file.fopen ("USER_DIR", v_filename, "R");
IF utl_file.is_open (f) THEN
LOOP
BEGIN
UTL_FILE.get_line (f, s);
lineString: = s;
dbms_output.put_line (lineString);
v_account: = substr (lineString, 1, 5);
v_IDN: = substr (lineString, 6, 6);
V_quantity: = substr (lineString, 12.6);
dbms_output.put_line (v_account);
dbms_output.put_line (v_IDN);
dbms_output.put_line (V_quantity);
-REMOVE
IF v_quantity = '000000' GOLD v_quantity = '-'
THEN
REMOVE FROM ID_REQ_STG
WHERE account = v_account and
IDN = v_IDN;
commit;
dbms_output.put_line ('Deleted the folder' | v_account |) «and» | v_IDN);
END IF;
-CHANGE
-ADD
EXCEPTION
WHEN NO_DATA_FOUND THEN
dbms_output.put_line ("' no data found");
EXIT;
END;
END LOOP;
END IF; -is open
UTL_FILE.fclose (f);
ON THE OTHER
dbms_output.put_line ('file does not exist');
END IF; -file exists
EXCEPTION
WHEN UTL_FILE. THEN ACCESS_DENIED
DBMS_OUTPUT. Put_line ("' no access!");
WHEN UTL_FILE. INVALID_PATH THEN
DBMS_OUTPUT. PUT_LINE ('PATH DOES NOT EXIST');
WHILE others THEN
DBMS_OUTPUT. PUT_LINE ("SQLERRM: ' |") SQLERRM);
END;
/Hello
Looks like a good candidate for a MERGER with an external table.
The external table:
create table ext_table ( account varchar2(5), idn number(6), quantity varchar2(6) ) organization external ( type oracle_loader default directory user_dir access parameters ( records delimited by newline fields ( account position(1:5) char(5), idn position(6:11) char(6), quantity position(12:17) char(6) ) ) location ('test.txt') ) reject limit unlimited;
Then a simple MERGER should perform all your needs:
MERGE INTO id_req_stg t USING ( SELECT account, idn, decode(quantity, '-', 0, to_number(quantity)) as quantity FROM ext_table ) v ON ( t.account = v.account AND t.idn = v.idn ) WHEN MATCHED THEN UPDATE SET t.quantity = v.quantity DELETE WHERE t.quantity = 0 WHEN NOT MATCHED THEN INSERT (account, idn, quantity) VALUES (v.account, v.idn, v.quantity);
Documentation related to the MERGER: http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9016.htm#SQLRF01606
and on the outdoor tables: http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/tables013.htm#ADMIN12896Published by: odie_63 on June 10, 2010 14:26 (added docs)
-
Thank you.
It's not bad.
These files are all in the same Firefox profile folder?
They have the name of places.sqlite or is there something added?
You only need one of them and this is the file that Firefox currently uses to store the history and bookmarks.
You can check for problems with the database places.sqlite file in the Firefox profile folder.
-
I have a new drive hard because my old operating system from hard disk (windows) is not booting. So I have a new hard drive with the new mode of system (windows). What I want is I want to search the places.sqlite file in my older hard disk which is connected as slave to my computer partition. How can I find places.sqlite in my slave drive I can restore my favorites in the new hard drive with the new operating system.
The "Application Data" in XP/Win2K folder and the folder "AppData" in Windows Vista, Windows 7 and later versions are hidden folders.
Maybe you are looking for
-
How can I set up email when the field on the SSL certificate does not match?
I am a customer of Dreamhost and don't know if our situation is unique or not, but both smtp and imap are "mail.example.com" even if the SSL certificate belongs to ' *. DreamHost.com'. I was not able to set up the email on my flame app because I get
-
Not possible to recover the Satellite Pro with recovery CD
I have a laptop Pro satellite that I set for my sister in law... .long history... (don't remember model No, as I m at work at the moment!) but its only 4 weeks old and she had done something redicuous in it, so I decided I would use the recovery cd t
-
Overheating while game on Satellite C660-11F
Well, when I bought the laptop, she had a any program that somehow reduced performance, or whatever. When I plugged in the charger while playing FIFA, the game went wrong (don't know how to say), and when I plugged it back it went perfectly. After I
-
WinRE disabled after resizing partition recovery of Lenovo and OneKey Re works
System: Lenovo Yoga 700-14ISK 80QD The almost 4 GB of free space on the partition of Lenovo have been very tempting, after researching if it is safe and also, I decided to give it a go by using a 3rd party free software has saved me several times in
-
Sampling motion controller analog voltage (from a load cell)